Created
June 24, 2013 22:15
-
-
Save bblum/5854174 to your computer and use it in GitHub Desktop.
One-upping @eholk. See https://gist.github.com/eholk/3095375
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
struct Hello; | |
impl Neg<Hello> for [Hello, ..0] { | |
fn neg(&self) -> Hello { Hello } | |
} | |
impl Not<()> for Hello { | |
fn not(&self) { } | |
} | |
impl Hello { | |
fn hello(&self) -> ~str { ~"hello world" } | |
} | |
fn foo<T>(_f:&fn()) -> Hello { Hello } | |
macro_rules! bar( | |
($_x:ident) => ( | |
// 19 in a row | |
do foo::<~@&*()>{;!-[]}.$_x() | |
) | |
) | |
fn main() { | |
println(bar!(hello)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Characters still missing:
# % ^ = +
\ | ' " / ? ,`