[Haskell-cafe] Re: Rigid types fun

Alexey Khudyakov alexey.skladnoy at gmail.com
Fri Nov 5 07:50:55 EDT 2010

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)

More information about the Haskell-Cafe mailing list