7 lines
146 B
Elm
7 lines
146 B
Elm
--There are multiple ways to create a function in Elm
|
|
|
|
--This is a named function
|
|
multiply x y = x*y
|
|
|
|
--This is an anonymous function
|
|
\x y -> x*y
|