mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
'/' is a character
Do you mean no letters?
This commit is contained in:
parent
29d2880c61
commit
946a450995
@ -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