[Haskell-beginners] Help on first program

John M. Dlugosz ngnr63q02 at sneakemail.com
Sat Mar 29 23:42:08 UTC 2014


On 3/28/2014 11:22 PM, Brandon Allbery wrote:

>     Can they be spread out among different source files or be discontiguous within one file?
>
> Neither one; they must be together in the same file with nothing intervening, since they
> get rewritten into a single function. They also must all have the same number of
> parameters, even if one of them could take advantage of eta reduction

Many thanks.




More information about the Beginners mailing list