Hi all, would anybody be able to help me here. I want to create ( .animal.dog) and ( .animal.cat) using sv however I end up just joining cat and dog to animal to get this.
I have created the namespace when n and v are single symbols however I’m running into errors when they are lists of symbols.
Just on that note, I realise this was not your question but as it pertains to namespaces wanted to provide some flavour around namespace definition alternate methods
// Definining namespace q).test:((::),a,b)!((::),1,2) q).test ::| :: a| 1 b| 2 // However we can create the namespace as an empty // dictionary and assign keys after creation q).test:{x!x}enlist(::) q).test[a]:1 q).test[b]:2 q).test ::| :: a| 1 b| 2 // also acceptable method q).test:{x!x}enlist(::) q).test[ab]:1 2 q).test ::| :: a| 1 b| 2