Created
November 22, 2015 18:35
-
-
Save mrwonko/5df933b452097316b68b to your computer and use it in GitHub Desktop.
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
/* | |
main = interact(decode tail(lines) ctree . head . lines) | |
-- the parens here are misleading, this is really just: | |
main = interact(decode tail lines ctree . head . lines) | |
-- which comes down to this due to operator precedence: | |
main = interact((decode tail lines ctree) . head . lines) | |
*/ | |
int main() | |
{ | |
return interact( []( string input ){ | |
return decode( tail, lines, ctree, head( lines( input ) ) ); | |
} ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment