mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-26 16:48:46 +00:00
Better infixes
This commit is contained in:
parent
92f60665df
commit
25ec856fba
11 changed files with 56 additions and 34 deletions
|
|
@ -1,5 +1,5 @@
|
|||
infix "++" at "+" (a, b) {return a+b}
|
||||
infix ++ at + (a, b) {return a+b}
|
||||
|
||||
local x = read ();
|
||||
|
||||
write (infix "++" (2, 3))
|
||||
write (infix ++ (2, 3))
|
||||
Loading…
Add table
Add a link
Reference in a new issue