> Hello,

Hi!

> 
> just a small remark about the syntax: I find this use of keywords
> rather unintuitive. I would either expect to be able to write
> something like this:
> 
>   (module foo (bar baz #:interface ARITHMETIC boing) ...)
> 
> Or something like this:
> 
>   (module foo (bar baz (interface ARITHMETIC) boing) ...)
> 
> But a keyword in operator position is unusual and looks rather strange
> to me.

The problem is that the latter example is ambiguous - it is the same
as exporting a macro "interface" that implicitly exports the binding
"ARITHMETIC". The former example doesn't also looks confusing to me,
but that is more a matter of taste. The use of a keyword is indeed not
everybodies taste, but I couldn't come up with a better syntax that
is both unambiguous and obvious.


cheers,
felix

_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to