Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
quchen
11y ago
0 comments
Share
For reverse sorting, there's a type that does specifically that.
sortBy (comparing (Down . snd))
See
http://hackage.haskell.org/package/base-4.7.0.1/docs/Data-Or...
0 comments
default
newest
oldest
evincarofautumn
11y ago
True, but I prefer not to use typeclasses in that way.
j
/
k
navigate · click thread line to collapse