Where should I put a `condp` like function?

Idan Arye GenericNPC at gmail.com
Fri Apr 19 13:04:00 PDT 2013


On Friday, 19 April 2013 at 19:05:10 UTC, deadalnix wrote:
> On Friday, 19 April 2013 at 19:02:51 UTC, Idan Arye wrote:
>> OK, so it's not a formal monad, but it has the same idea of - 
>> "an action that chooses the next action based on the results 
>> of previous actions" - for the same purpose - "insert 
>> additional operations around a program's domain logic".
>
> Monad don't perform action. They describe an action to be 
> performed by something else. Usually a lib or the runtime (as 
> in Haskell).

Oh, I see. So I guess I got it wrong...


More information about the Digitalmars-d mailing list