-
-
Save si14/4983646 to your computer and use it in GitHub Desktop.
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
https://www.erlang-solutions.com/downloads/download-erlang-otp | |
sudo apt-get build-dep erlang | |
sudo apt-get install libwxgtk2.8-0 libwxbase2.8-0 | |
sudo dpkg -i ПАКЕТ | |
для 12.04: | |
sudo add-apt-repository ppa:cassou/emacs | |
sudo apt-get update | |
sudo apt-get install emacs24 |
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(mod). | |
-compile([export_all]). | |
test(Name) -> {hello_world, Name}. | |
match({L, L, L}) -> 2. | |
map(F, L) -> something. | |
fact(X) -> fact(X, 1). | |
fact(1, A) -> A; | |
fact(X, A) -> fact(X - 1, A * X). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://bit.ly/OQYXhF