Haskell Applicative and ErrorT?
Posted
by me2
on Stack Overflow
See other posts from Stack Overflow
or by me2
Published on 2010-03-20T06:01:59Z
Indexed on
2010/03/20
6:11 UTC
Read the original article
Hit count: 223
haskell
|applicative
Why is it that I can do the following:
getW1 :: ErrorT String Get Word8
f1 = (+1) <$> getW1
but I cannot do:
f2 = (+) <$> getW1 <*> getW1
?
© Stack Overflow or respective owner