2 ms·You can just write something like foo x = case x of pattern1 -> ...by icen 10y agoYou can just write something like foo x = case x of pattern1 -> ...