Inverted syntax: Difference between revisions

m
(Added Arturo implementation)
Line 117:
 
=={{header|Arturo}}==
In this case, we can define a reversed if-statement function (taking the block first, then the condition) and then "alias" a new symbol to it, as an infix operator (so that the block actually comes first, in terms of syntax:
 
<lang rebol>ifStatement: function [block, condition][
1,532

edits