Full closures for D

Bruce Adams tortoise_74 at yeah.who.co.uk
Mon Nov 5 15:14:37 PST 2007


0ffh Wrote:

> Bruce Adams wrote:
> > KlausO Wrote:
> > Someone with more a functional programming background may be able to
> > enlighten us but doesn't the existence of proper closures allow us to
> > implement monads as a library now? Though I can't quite see in what
> > situation we would want to use them.
> 
> Yup, IIRC the poor strictly functional guys needs them for I/O, but as
> we're imperative anyway I don't see any applications for monads either.
> 
> Regards, Frank

Since they're on the language comparison feature chat it implies (to me at least) that there is some perceived benefit to the concept.
Any poor strictly functional guys care to explain what it is?




More information about the Digitalmars-d mailing list