mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
commit
f97d85c5ab
@ -131,7 +131,7 @@ add 1 2 -- 3
|
|||||||
-- with backticks:
|
-- with backticks:
|
||||||
1 `add` 2 -- 3
|
1 `add` 2 -- 3
|
||||||
|
|
||||||
-- You can also define functions that have no characters! This lets
|
-- You can also define functions that have no letters! This lets
|
||||||
-- you define your own operators! Here's an operator that does
|
-- you define your own operators! Here's an operator that does
|
||||||
-- integer division
|
-- integer division
|
||||||
(//) a b = a `div` b
|
(//) a b = a `div` b
|
||||||
|
Loading…
Reference in New Issue
Block a user