Haskell: What's the type of this function?

Posted by dmindreader on Stack Overflow See other posts from Stack Overflow or by dmindreader
Published on 2010-04-04T22:27:32Z Indexed on 2010/04/04 22:33 UTC
Read the original article Hit count: 334

Filed under:
|
mifun s = foldr op 0 s
          where op x r = head x + r 

Is there a way to make ghci tell me?

© Stack Overflow or respective owner

Related posts about haskell

Related posts about ghc