[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] [5] Aggressively reject definitions in exp

From: Evan Hanson
Subject: Re: [Chicken-hackers] [PATCH] [5] Aggressively reject definitions in expression contexts (#1309)
Date: Mon, 12 Dec 2016 13:16:19 +1300

On 2016-12-11 18:00, Peter Bex wrote:
> I think it's counter-intuitive that module or functor definitions are
> expressions that can even yield a value.

Just wanted to mention that this is actually one of my favorite things
about our module system. It's occasionally handy to be able to isolate a
single bit of code syntactically, but more importantly I just find the
fact that they're expressions very elegant and actually quite intuitive,
overall. It's the sort of thing that you can just ignore if you don't
prefer to use them that way, but I don't think we should disallow this
without a strong reason.



Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]