[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH]  Aggressively reject definitions in exp
Re: [Chicken-hackers] [PATCH]  Aggressively reject definitions in expression contexts (#1309)
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.
Description: PGP signature