by willtim · 8y ago · 0 comments
In Haskell you could always avoid that style and use the case syntax (or for this example guard syntax) instead. All varieties eventually desugar to a case analysis anyway. Haskell even added curly braces as an alternate to indentation!
If clean has a REPL (which I couldn’t easily find out from its web page) I expect it to have that, too.
In the Haskell REPL, you would need to enter the definitions together.