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
Would be pretty useful for writing custom PreProc functions. These enable you to do generic tree traversals a-la gplate or uniplate.
Or even more simply, make use of any other typeclasses that have generic deriving. For example, I have a PreProc function that omits some elements in particularly long lists, and instead inserts a hash of the omitted contents. To have Hashable Value would require either an orphan or an additional dependency for pretty-show. If I had Generic I could at least use GHashable (Rep Value).
The text was updated successfully, but these errors were encountered:
Would be pretty useful for writing custom
PreProc
functions. These enable you to do generic tree traversals a-lagplate
oruniplate
.Or even more simply, make use of any other typeclasses that have generic deriving. For example, I have a
PreProc
function that omits some elements in particularly long lists, and instead inserts a hash of the omitted contents. To haveHashable Value
would require either an orphan or an additional dependency forpretty-show
. If I hadGeneric
I could at least useGHashable (Rep Value)
.The text was updated successfully, but these errors were encountered: