
8 Jan
2014
8 Jan
'14
3:21 a.m.
Hi Renah, On Wed, Jan 08, 2014 at 10:09:18AM +0200, Renah Scarowsky wrote:
How can I combine these two cases together (or otherwise simplify the code)?
I don't know if I'm understanding you correctly, but something like this? f a = do case g a of Nothing -> return () Just b -> do h a (field1 b) (field2 b) i a (j a) (field1 b) (field2 b) Greetings, Daniel