This is what I ended up with: https://gist.github.com/4362308 the names could be better, but I'm lazy.
-
-
Replying to @steveklabnik
@steveklabnik Nice use of ifelse-as-expression. Looks like https://github.com/mozilla/rust/issues/4025 … forced you to heap-allocate "Fizz" etc.1 reply 0 retweets 0 likes -
Replying to @jruderman
@jruderman@steveklabnik@nikomatsakis Wait, &str isn't a supertype of ~str, because how would anything remember to free the twiddle memory?1 reply 0 retweets 0 likes
Replying to @jruderman
@jruderman @steveklabnik Correct, ~ is not a supertype of &.
8:33 AM - 23 Dec 2012
0 replies
0 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.