Skip to content

Instantly share code, notes, and snippets.

@aisk
Last active December 30, 2015 00:09
Show Gist options
  • Save aisk/7747373 to your computer and use it in GitHub Desktop.
Save aisk/7747373 to your computer and use it in GitHub Desktop.
# 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