« first day (2128 days earlier)      last day (1652 days later) » 

3:17 PM
posted on August 28, 2016 by ifgem

Added tests for #2171, #2173, #2181, #2182. by ifgem

 
 
6 hours later…
9:15 PM
This doesn't seem right to me:
@RebolBot
script: load/header {Rebol [Title: #[function! [[][print "Hello"]]]]}
script/1/title
 
; Brought to you by: try.rebol.nl
Hello
 
A prohibition on construction syntax in headers would seem reasonable to me, though haven't thought that through fully.
 
10:03 PM
@rgchris I don't see the problem. Loading a function does not execute it. You had to execute it yourself by picking it out of the header object.
I can also say that Rebol tries very hard to make sure construction syntax has no side-effects.
Whether putting a function in the header is a good idea or not, is a completely separate question.
But if you are going to allow a tuple, then, perforce, you have to allow construction syntax.
You just don't have to recommend it :)
 

« first day (2128 days earlier)      last day (1652 days later) »