3 ms·
Nice project. > x := 3; y := 5; if x + y == 8 { (println "we add up") } else { (println "wat?" ) } though mixing C like syntax and LISP is a bit confusing. Wh
by camus2 10y ago
Nice project.
> x := 3; y := 5; if x + y == 8 { (println "we add up") } else { (println "wat?" ) }
though mixing C like syntax and LISP is a bit confusing. Why such choice ?
- jaten 10y agoThank you. I tend to do interactive mathy things, and find the infix being the default at the repl cuts down on keystrokes and speeds up the interaction. Anything within {} curly braces is treated as infix, and infix is the starting mode at the repl. You can freely mix (prefix) and {infix} as you wish. For longer math expressions this does tend to help readability.