On Saturday, 1 March 2014 09:46:35 UTC-3, andrew cooke wrote: > > > i'm not sure what yor confusion is - everything you say sounds reasonable > to me until the last paragraph where it gets weird talking about > evaluation. there is no evaluation (i think!), only splicing. > > i just realised by evaluation you probably mean @eval.
as far as i understand, that means "insert here". and you don't want to insert code "here" in your function. you want to return it and insert it in the type. that's why i use a block whose contents i can push to. hope that helps, andrew