On 05.11.2010 14:08, Mitar wrote:
So I know I can move some hard-coded combination into a function. But
I would like to cover all combinations and tell with arguments which
combination I want.

I'm not sure what do you exactly want. But what about applicative functors? They offer nice notation

> Nerve <$> (Axon <$> newChan) <*> (AxonAny <$> newChan)
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to