
3 Sep
2021
3 Sep
'21
11:14 a.m.
On Fri, 3 Sep 2021, David Feuer wrote:
Occasionally, it's useful to make things lazier. The utility-ht package has long offered
forcePair :: (a,b) -> (a,b) forcePair ~(a,b) = (a,b)
right :-)
But that only works for pairs! If you want to work with records/tuples much more generally, now you can do so conveniently with the lazify package. Please take a look and let me know what you like and dislike, and whether there's anything more you want.
It's shallow lazify, right?