For a good time: compare how Scala 2.9 and 2.10 handle NaN when taking the max and min of a list of doubles. Feh.
-
-
-
Replying to @prasinous
@prasinous Fortunately it seems like Scala 2.9 is the one that is most fucked here.1 reply 0 retweets 0 likes -
-
Replying to @softprops
@softprops@d6 order of doubles in list controls what max and min return in 2.10 - ugliest behavior that doesn't involve a C header file2 replies 0 retweets 1 like -
Replying to @prasinous
@prasinous@softprops@d6 The existence of List#max and min is just as much a problem.1 reply 1 retweet 0 likes -
Replying to @dibblego
@dibblego@softprops@d6 another bête noire - min/max on empy blows up - would like List#minOption, maxOption to return None for empty3 replies 0 retweets 0 likes
Replying to @prasinous
@prasinous @softprops @d6 not all semigroups are monoids. Use a NonEmptyList data type. List#min/max are not sensible.
6:26 AM - 4 Oct 2013
0 replies
2 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.