[Haskell-beginners] a bunch o' questions

Brandon S Allbery KF8NH allbery at ece.cmu.edu
Thu Jul 1 13:56:54 EDT 2010


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

On 7/1/10 12:32 , Michael Mossey wrote:
> Regarding (->):
> 
>   - Is (->) a type constructor parameterized by two types?
>   - Is (->) an operator? If so, it is the only operator that is also a type
>     constructor?

Yes to both, at least in Haskell 98.

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      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)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkws1uYACgkQIn7hlCsL25WfzwCfe7KbeMhuPM6JFU2NIQAG3tps
mA4AoNIZoKdvIO4eL7OkKwRmLtDhtSor
=BwP/
-----END PGP SIGNATURE-----


More information about the Beginners mailing list