[racket] Maybe a silly question: Why racket don't have a constructor?

From: Chen Xiao (chenxiao770117 at gmail.com)
Date: Wed Dec 19 22:43:36 EST 2012

class: field element is not an optionally renamed identifier-expression pair
  at: ((x 10))
  in: (class object% (super-new) (displayln "hello world") (field ((x 10)))
(displayln x))

2012/12/20 Matthias Felleisen <matthias at ccs.neu.edu>

> (new (class object% (super-new) (displayln "hello world") (field ([x 10]))
> (displayln x)))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20121220/42a32a51/attachment.html>

Posted on the users mailing list.