Is there, in Haskell, something similar to sub-guards?
Let me use a shorter example than the posted one: original :: Int -> Int original n | n < 10 && n > 7 = 1 — matches 8,9 | n < 12 && n > 5 = 2 — matches 6,7,10,11 | n < 12 && n > 3 = 3 — matches … Read more