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.zigans...@gmail.com

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to