Basically I have a list with elements with the following syntax:
name : value
(all are a symbol)
So now let's say that I have such an item in a list:
[price : '42']
Ideally using
nth0(0, [price : '42'], X).
I'd expect X
to be price : '42'
.
Instead what I get is price:42
with the spaces removed.
Does anyone know why that is or maybe have a few pointers for doing this in a different manner?
(name : value must all be symbols)