Call a function: Difference between revisions
Content added Content deleted
(→{{header|CoffeeScript}}: Add Déjà Vu example (WIP)) |
(→{{header|Déjà Vu}}: Fixes example) |
||
Line 343: | Line 343: | ||
# discarding the return value of a function |
# discarding the return value of a function |
||
drop random-int |
drop random-int |
||
# method call: |
|||
(WIP) |
|||
local :do { :nuthin @pass } |
|||
Distinguishing built-in functions and user-defined functions |
|||
do!nuthin |
|||
Distinguishing subroutines and functions |
|||
!import!fooModule # same as eva!import :fooModule |
|||
Stating whether arguments are passed by value or by reference |
|||
# arguments are passed by object-identity, like in Python and Lua |
|||
Is partial application possible and how |
|||
# partial application is not possible, due to the fact that |
|||
# a function's arity is a property of it's behavior and not |
|||
# of it's definition</lang> |
|||
=={{header|Erlang}}== |
=={{header|Erlang}}== |