[Haskell-cafe] Re: Are there standard idioms for lazy, pure error handling?

Henning Thielemann lemming at henning-thielemann.de
Mon Dec 7 14:36:27 EST 2009


For practical purposes I think Train should have swapped type parameters 
in order to make Functor act on the type of the list elements.

data Train b a = Wagon a (Train b a)
                | Loco  b

More information about the Haskell-Cafe mailing list