Created
September 24, 2011 19:59
-
-
Save killerswan/1239784 to your computer and use it in GitHub Desktop.
excerpt midway through slides at http://dl.dropbox.com/u/4186469/rust-all-hands-w2011.pdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn f(s : option::t<str>) { | |
let r = alt s { | |
some(ss) { { x: 123, y: ss } } | |
none. { fail } | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment