Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Homoiconicity in REBOL
- ; This is a normal foreach statement:
- foreach x [1 2 3] [
- print x
- ]
- ; Here's a homoiconic one:
- forbody: [print x] ; Here we assign [print x] to the variable forbody
- foreach x [1 2 3] forbody ; This has the same effect as the normal foreach above
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement