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)
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to