Created
June 10, 2016 17:55
-
-
Save elbrujohalcon/af12f8c4a1029696f153d41d010615c2 to your computer and use it in GitHub Desktop.
Compiler-crashing Hello World
This file contains hidden or 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
-module(hello). | |
-export([world/0, f/0, '-f/0-fun-0-'/0]). | |
world() -> | |
F = f(), | |
F = f(), | |
io:format("~s~n", [F()]). | |
f() -> fun() -> "Hello, world!" end. | |
'-f/0-fun-0-'() -> "Hello! Is it me you're looking for?". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment