Intro to Functional Prog. by Bird, Section 2.5

Sven Panne Sven.Panne@informatik.uni-muenchen.de
Wed, 02 Jan 2002 17:00:38 +0100


Shawn P. Garbett wrote:

> [...] But I get this error I've been unable to solve: [...]


The last line should read:

   plus' (f,g) = case' (Left' . f, Right' . g)


i.e. the function composition operator was missing.

Cheers,
    S.