On Thursday, 16 July 2015 at 09:52:59 UTC, ponce wrote:
On Thursday, 16 July 2015 at 09:49:03 UTC, Jarl André Hübenthal wrote:Why?The syntax for delegate literals with braces islistenHTTP(settings, (req, res) { res.writeBody("Hello, World!"); });
Thanks. Those small details you forget to test before asking is a bit embarrassing. I blame Scala for it :) In Scala its (req,res) => { ... } consistently.
