
29 Nov
2017
29 Nov
'17
6:32 p.m.
Henning, how about putting the branches into their own variables. Admittedly this pollutes the namespace but is much more readable IMHO. workflow = new_workflow where new_workflow = putStrLn "A" old_workflow = putStrLn "B" I suppose GHC complains neither about unused where clauses nor about unused top-level bindings. At least with GHCi 7.8.3 the above code produces no warnings. Olaf