Dec. 1, 2016
12:20 a.m.
Hi Bruce, in hsort again ;-) This was your code:
Teapot on GET: '/welcome' -> 'Hello World!'; start.
Imagine it this way with brackets: Teapot on GET: ('/welcome' -> 'Hello World!'); start. This is the same as writing: Teapot on GET: ( Associtation key: '/welcome' value: 'Hello World!') ; start. Shorter: (x -> y) = (Association key: x value: y) The -> is the short version of the Association constructor. I hope this makes things a little clearer. Sebastian