mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +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:
|
||||
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
|
||||
-- integer division
|
||||
(//) a b = a `div` b
|
||||
|
Loading…
Reference in New Issue
Block a user