[Haskell-cafe] How to name a mapped function?

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Mon Jun 7 15:38:29 EDT 2010


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

On Jun 6, 2010, at 14:22 , Martin Drautzburg wrote:
> If I have a function, say "compute" whose last parameter is some  
> value ...
> and I create another function, which applies "compute" to a list of  
> values,
> how would I call this function?

The few cases of this in the standard Haskell libraries suggest  
"mapCompute".

- --
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)

iEYEARECAAYFAkwNSsIACgkQIn7hlCsL25XxQACfaUr8Jt31qDTGkvCeNhfs1L+q
ir4AninhHrsxscmnsUl8cchh0DKRMN1m
=dnbt
-----END PGP SIGNATURE-----


More information about the Haskell-Cafe mailing list