It does mean that .ok() and .err() aren’t order isomorphisms though
-
-
yeah I'm quite mad about this
1 reply 0 retweets 1 like -
the PR is to exchange two blocks of three lines each in libcore/src/result.rs. go forth and conquer. unlike Option, Result has never (to my knowledge) made any guarantees about its discriminants or variant orderings, while Option is very firm about "None is the zero value"
1 reply 0 retweets 0 likes -
feeling very convinced that sum types should not be ordered, right now
2 replies 0 retweets 2 likes -
imagine if you will, impl Ord for RubyExpression
2 replies 0 retweets 1 like -
Nah, impossible, because it includes floats :)
1 reply 0 retweets 1 like -
Replying to @porglezomp @penelope_zone and
Actually tbh this matches my model of what Ord means… Ord means “includes no floats”
3 replies 0 retweets 0 likes -
floats are ord in haskell
2 replies 0 retweets 1 like -
listen, a lot of things are a lot of things
1 reply 0 retweets 0 likes -
things are ord
1 reply 0 retweets 0 likes
No ORD is shut down aren't you paying attention to the news why would you want to get on a plane right now
-
-
-
Replying to @mountain_ghosts @sgrif and
you see what you made me do? I used punctuation
2 replies 0 retweets 0 likes - 1 more reply
New conversation -
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.