Also, any of you functional people who are used to Maybe, would love to hear about https://github.com/mozilla/rust/wiki/Meeting-weekly-2014-01-07#methods-that-fail …
-
-
Replying to @steveklabnik
@steveklabnik what's the options? Methods which throw exceptions vs ones which return Option/Maybe? Maybe, always. Totality is very useful!1 reply 0 retweets 1 like -
-
Replying to @steveklabnik
@steveklabnik@pcwalton unwrap needs to be deleted. Provide fold (stdlib shouldn't be partial) - PR suggests "default values" are exceptions2 replies 0 retweets 1 like -
Replying to @puffnfresh
@puffnfresh@steveklabnik Disagree, sometimes you need it. fromJust is not evil, sometimes you need it for practicality.3 replies 0 retweets 1 like -
Replying to @pcwalton
@pcwalton@steveklabnik completely disagree. Data.Maybe.fromJust is very evil and also very impractical. Data.Maybe.maybe is good.6 replies 1 retweet 3 likes -
Replying to @puffnfresh
@puffnfresh@pcwalton@steveklabnik becaue then the whole thing turns into “do notation, for Action :: * -> * data types”1 reply 0 retweets 0 likes -
Replying to @cartazio
@cartazio@pcwalton@steveklabnik or even allowing Foldable in Rust would be useful.1 reply 0 retweets 1 like -
Replying to @puffnfresh
@puffnfresh@pcwalton@steveklabnik yeah…, but that again needs traits on higher kinded types, which aren’t a thing yet.1 reply 0 retweets 0 likes -
Replying to @cartazio
@cartazio@pcwalton@steveklabnik yeah, Rust's current biggest limitation to abstraction. Would be really excited about that disappearing.2 replies 0 retweets 0 likes
@puffnfresh @cartazio @steveklabnik I'm not in a huge hurry to add HKT although I would take a patch.
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.