Tag Archives: anti-pattern

Haskell anti-pattern: incremental ad-hoc parameter abstraction

Recently I’ve found myself doing the following very ugly thing. Perhaps you’ve unwittingly done it too—so I thought I’d share the problem and its solution. Suppose I’ve written a function foo: > foo :: Int -> Result > foo n … Continue reading

Posted in haskell | Tagged , , , , , | 7 Comments