annotate type in doc example

This commit is contained in:
Daniel Casanueva 2022-06-06 12:54:06 +02:00
parent b310ee951f
commit 7c69652f86

View file

@ -269,7 +269,7 @@ mapMaybeStep p = go where
-- | Run action for each value in the 'SourceT'. -- | Run action for each value in the 'SourceT'.
-- --
-- >>> foreach fail print (source "abc") -- >>> foreach fail print $ source ("abc" :: String)
-- 'a' -- 'a'
-- 'b' -- 'b'
-- 'c' -- 'c'