[bitc-dev] monads
Pierre THIERRY
nowhere.man at levallois.eu.org
Tue Mar 25 11:55:59 EDT 2008
Scribit Jonathan S. Shapiro dies 25/03/2008 hora 10:34:
> 2. Every valid Haskell program *would* have a direct transcription
> to BitC *if* BitC provided support for monads.
For the few that I know about monads, it seemed to me that they were
only needed to have side-effects in purely functional language. As BitC
is an impure one, like Scheme, aren't Haskell programs already trivially
transformable to BitC?
Purely functional code would be written with the side-effect-free parts
of BitC, and could even be optionnally wrapped with functions that
provide memoization or lazyness, and monads would be written in full
BitC.
Curiously,
Pierre
--
nowhere.man at levallois.eu.org
OpenPGP 0xD9D50D8A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.coyotos.org/pipermail/bitc-dev/attachments/20080325/890802a6/attachment.bin
More information about the bitc-dev
mailing list