Rigid types fun

Bulat Ziganshin bulat.ziganshin at gmail.com
Fri Nov 5 05:49:26 EDT 2010


Hello Mitar,

Friday, November 5, 2010, 12:45:21 PM, you wrote:

> from <- newChan
> for <- newChan
> let nerve = Nerve (Axon from) (AxonAny for)

create = do from <- newChan
            for <- newChan
            return$ Nerve (Axon from) (AxonAny for)

main = do nerve <- create
          ...


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Glasgow-haskell-users mailing list