Re: Namespaced keywords in metadata

2011-12-28 Thread JuanManuel Gimeno Illa
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

Re: Namespaced keywords in metadata

2011-12-28 Thread Meikel Brandmeyer
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

Re: Namespaced keywords in metadata

2011-12-28 Thread JuanManuel Gimeno Illa
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

Re: Namespaced keywords in metadata

2011-12-28 Thread Ambrose Bonnaire-Sergeant
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

Namespaced keywords in metadata

2011-12-28 Thread JuanManuel Gimeno Illa
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