
23 Dec
2019
23 Dec
'19
11:30 a.m.
On 22 Dec 2019, at 14:15, Zemyla
wrote: The most common legitimate usage for undefined I have is strictness:
func x y | x `seq` False = undefined func x y = ...
There's nothing else that would go there, and when it's compiled, the reference to undefined disappears.
Is this (better than | different from) using BangPatterns?