Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

#!/usr/bin/env escript

main(_) -> io:format("hello, world").



Fair enough, but thats not how the books and documentation present erlang. They present it with the shell and c()


Good point. Never thought of that...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: