Re:Why isn't Haskell popular in industry?
by Flow on Monday August 02, 2010 @09:16PM
(#1569738)
Could you please s/max/min/ in your first post?
[ Parent
| on HN ]
Re:Why isn't Haskell popular in industry?
by loewenskind on Tuesday August 03, 2010 @03:20AM
(#1570420)
But it depends on the sort algorithm. In the exercise I did this on (in Ocaml with some custom lazy code, since Ocaml's wasn't lazy enough for what I was doing) I did sort in descending order.
Are you saying you made a sort function that sorts reversed, and named it sort? What's wrong with sortDesc?
I think you should be more careful with following conventions. Everyone knows sort sorts ascending.
Re:Why isn't Haskell popular in industry?
by loewenskind on Tuesday August 03, 2010 @09:53AM
(#1571093)
Conceded. But I can't edit my original comment now. :(