[Grace-core] Lazy initialisation and circular definitions

James Noble kjx at ecs.vuw.ac.nz
Thu Nov 20 03:46:38 PST 2014


On 20/11/2014, at 19:44 pm, Kim Bruce <kim at cs.pomona.edu> wrote:

> Why do we want this?

short answer - mutually recursive type definitions need something.
Do we do something special purpose or more general

more generally - mutually recursive definitions need something...

>  Any time we are competing with Scala for complexity I get very worried.  Simplicity is our calling card.  Let's keep it that way.  Simple syntax, simple semantics.  Yes, there are things we can't do easily (and generally they aren't necessary for novices).

which is why I like the "lazy {}" option (just like Scheme's delay)
not in the core language, there if you need it.

J


More information about the Grace-core mailing list