Finally I have considered your advice and namespaced the keywords.
Thanks,
Juan Manuel
>
El miércoles 28 de diciembre de 2011 12:33:22 UTC+1, Meikel Brandmeyer
(kotarak) escribió:
>
> Hi,
>
> Am 28.12.2011 um 11:09 schrieb JuanManuel Gimeno Illa:
>
> > My main concern is that when using reader
Hi,
Am 28.12.2011 um 11:09 schrieb JuanManuel Gimeno Illa:
> My main concern is that when using reader macros for metadata I have to fully
> qualify it. For instance, I must write:
>
> (defdatatype
> ::Streams
> Nil
>(^:ml.datatypes/lazy Cons elem stream))
>
> instead of
>
> (de
El miércoles 28 de diciembre de 2011 11:01:16 UTC+1, Ambrose
Bonnaire-Sergeant escribió:
>
> I would recommend sticking with namespaced keywords to avoid clashes with
> var metadata keys.
>
> Remember qualified keywords respect namespace aliasing and ::keyword is
> qualified in the current nam
I would recommend sticking with namespaced keywords to avoid clashes with
var metadata keys.
Remember qualified keywords respect namespace aliasing and ::keyword is
qualified in the current namespace.
These can help making the code more readable.
You could store keywords in vars if namespaced key
I've been writing some code which adds some keywords in metadata associated
to vars. Initially I used namespaces keywords to not collide with other
keywords. The problem is that having to namespace these keywords makes the
code, at least, ugly. Is it any consensus in the use of keywords in
meta