[Haskell-cafe] beginner question: assigning local variable to a function

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Thu May 7 16:44:30 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On May 7, 2009, at 14:03 , Magnus Therning wrote:
> adam vogt wrote:
>> This is most likely attributable to the use of different compilers.
>> I don't see how accepting such a variant can cause ambiguity, but I'm
>> not quite sure whether it is legal H98.
>
> Just a bit curious then what compiler Brandon was using.  I'm using  
> GHC 6.10.2 on AMD64 Linux (Arch).


Actually it's probably because, rather than track separate rules  
depending on whether I'm embedded in other layout (read: "do"), I just  
remember to use the stricter rules everywhere.  (This affects both  
"let" and "if".)

- --
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)

iEYEARECAAYFAkoDSFUACgkQIn7hlCsL25VV+QCglo4Q1fCHl4coiRuT4tn0GXtb
qqAAoI5BsygYL39i6UuWTYS+tRtXK8bQ
=zn3F
-----END PGP SIGNATURE-----


More information about the Haskell-Cafe mailing list