[julia-users] Re: Types with keywords as field names

2015-02-03 Thread Ivar Nesje
I would imagine that symbol(try) and @eval does make this possible, but as the syntax for using the type will also use the same thrick, you will get pretty incomprehensible code.

[julia-users] Re: Types with keywords as field names

2015-02-03 Thread elextr
On Wednesday, February 4, 2015 at 3:02:54 PM UTC+11, Tony Kelman wrote: Is this possible right now? Say I want to have a type with field names type, using, import, immutable, for, while, do, ... The parser doesn't seem to like this much, just wondering whether anyone knows of any