Last active
December 30, 2015 00:09
-
-
Save aisk/7747373 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
# buildin functions | |
# add -> integer -> integer | |
add 1 2 # => 3 | |
# log -> nothing | |
log 1 | |
# variable assignment | |
words -> string = "Hello Worlds!" | |
result -> integer = 42 | |
# define function | |
my_add -> integer -> integer -> integer = {add $1 $2} | |
say -> string -> nothing = {log $1} | |
say words |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment