
12 May
2011
12 May
'11
1:28 p.m.
On Thursday 12 May 2011 19:25:27, Raphael Päbst wrote:
Ah, thank you! Now it works. Now I need only to get rid of the Right from the returned Either value and I'm done.
Pattern-match: ghci> case messageGet bs of { Left err -> undefined; Right result -> result; } :: type or use either (\_ -> error "oops") id
Raphael