When parsing a block for a function! value, I'm finding the value that 
I'm trying to set gets set to [second function] value rather than the 
function:

 >> a: func [] [12.34]
 >> parse [:a] [set b function!]
== false
 >> source b
b: [12.34]

Is this the expected behaviour?

My workaround is a bit cumbersome:

 >> parse [first :a second :a] [set spec block! set body block!]
== false
 >> b: func spec body
 >> source b
b: func [/local][12.34]
 >> b
== 12.34

Any improvements?

Regards

Peter






-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to