You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--| Reduce to weak head normal form---- Useful for defining 'NFData' for types for which NF=WHNF holds.---- > data T = C1 | C2 | C3-- > instance NFData T where rnf = rwhnfrwhnf::a->()
rwhnf !_ =()
The text was updated successfully, but these errors were encountered:
Actually, you may even be able to automatically choose from between deep and shallow seq (although I don't quite know how to deal with the Rec0 case while avoiding potentially sending the typechecker into a loop): https://gist.github.com/bgamari/b67becc433026e80ba2b
Here's an idea for a helper I wanted to document:
The text was updated successfully, but these errors were encountered: