rebol - How do I convert set-words in a block to words -


i want convert block block: [ a: 1 b: 2 ] [a 1 b 2]. there easier way of this?

map-each word block [ either set-word? word [ to-word word ] [ word ] ]

keeping simple:

>> block: [a: 1 b: 2] == [a: 1 b: 2] >> forskip block 2 [block/1: word! block/1] == b >> block == [a 1 b 2] 

Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -