(no title)
ecto | 9 days ago
[type Shape
[Circle Float]
[Rect Float Float]]
[fn area [s]
[match s
[Circle r] => [* 3.14 r r]
[Rect w h] => [* w h]]]
[area [Circle 5.0]]ecto | 9 days ago
[type Shape
[Circle Float]
[Rect Float Float]]
[fn area [s]
[match s
[Circle r] => [* 3.14 r r]
[Rect w h] => [* w h]]]
[area [Circle 5.0]]
grimgrin|9 days ago
cpeterso|9 days ago
Curl was a proprietary Lisp that {curly brackets} and was designed in the 1990s to build web applications.
https://en.wikipedia.org/wiki/Curl_(programming_language)
syene|8 days ago
1: http://xahlee.info/kbd/sail_keyboard.html
2: http://xahlee.info/kbd/space-cadet_keyboard.html
shawn_w|9 days ago
The above really reminds me of tcl, though, which uses square brackets to force evaluation of the command they wrap.