Tuesday, 15 July 2014

Real World Haskell : is the use of fromIntegral unnecessary in this example? -



Real World Haskell : is the use of fromIntegral unnecessary in this example? -

i don't see why fromintegral needed in image shown below when homecoming type of getnat maybe(int, l.bytestring).

the homecoming type of l8.readint int why conversion needed int int ?

is "typo" in book?

or missing here?

haskell

No comments:

Post a Comment