Skip to content

Commit 7c69652

Browse files
author
Daniel Casanueva
committed
annotate type in doc example
1 parent b310ee9 commit 7c69652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servant/src/Servant/Types/SourceT.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ mapMaybeStep p = go where
269269

270270
-- | Run action for each value in the 'SourceT'.
271271
--
272-
-- >>> foreach fail print (source "abc")
272+
-- >>> foreach fail print $ source ("abc" :: String)
273273
-- 'a'
274274
-- 'b'
275275
-- 'c'

0 commit comments

Comments
 (0)