Mercurial > repos > tabletprog
view samples/compilerbug_004.tp @ 238:3bfc00e4f5e5
Eval lambda assignments at macro expandion time so they can be called by macros
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 05 Jan 2014 19:27:41 -0800 |
parents | 38127fbf5f9d |
children |
line wrap: on
line source
#{ foo <- 42 new <- { #{ bar <- foo } } main <- { print: (string: ((new: ) bar)) . "\n" } }