[Haskell-cafe] bug in all about monads tutorial

Benjamin L. Russell dekudekuplex at yahoo.com
Sun Jan 20 21:49:39 EST 2008


Since nobody with write access to that page seems to
be responding here, you may wish to try reporting this
bug to the main Haskell mailing list
(haskell at haskell.org).

Posting to that list may get the attention of some
Haskell users who may not regularly read this mailing
list.

Benjamin L. Russell

--- Peter Hercek <phercek at gmail.com> wrote:

> Hi,
> 
> About 3 weeks ago I reported this bug to Jeff
> Newbern.
>   But I got no response - maybe I got filtered out
> as spam :)
>   Since it was not fixed I'm trying once more here.
> Maybe
>   there is somebody here who has access to the web
> site
>   http://www.haskell.org/all_about_monads and cares
> enough
>   to fix it.
> 
> On page
>  
>
http://www.haskell.org/all_about_monads/html/writermonad.html
> there is "listens" defined like this:
>   listens f m = do (a,w) <- m; return (a,f w)
> ... but it should be like this:
>   listens f m = do (a,w) <- listen m; return (a,f w)
> ... or maybe a less strict option (as ghc libs have
> it):
>   listens f m = do ~(a,w) <- listen m; return (a,f
> w)
> 
> Peter.
> 
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
> 



More information about the Haskell-Cafe mailing list