annotate type in doc example

This commit is contained in:
Daniel Casanueva 2022-06-06 12:54:06 +02:00
parent b310ee951f
commit 7c69652f86
1 changed files with 1 additions and 1 deletions

View File

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