Re: [julia-users] Defining composite types with fields that include each other

2015-08-24 Thread Paul Thompson
Thank you. Tim's solution on the issue page works well for me. On Saturday, August 22, 2015 at 8:43:44 PM UTC-4, Kevin Squire wrote: In particular, this comment has a work-around: https://github.com/JuliaLang/julia/issues/269#issuecomment-68421745 On Saturday, August 22, 2015, Stefan

Re: [julia-users] Defining composite types with fields that include each other

2015-08-22 Thread Stefan Karpinski
https://github.com/JuliaLang/julia/issues/269 On Sat, Aug 22, 2015 at 1:33 AM, Paul Thompson pm...@case.edu wrote: Hi: I want to define two types, and each will have a field that is the other type. For instance: type Foo bar::Bar otherfield1 otherfield2 end type Bar foo::Foo

Re: [julia-users] Defining composite types with fields that include each other

2015-08-22 Thread Kevin Squire
In particular, this comment has a work-around: https://github.com/JuliaLang/julia/issues/269#issuecomment-68421745 On Saturday, August 22, 2015, Stefan Karpinski ste...@karpinski.org wrote: https://github.com/JuliaLang/julia/issues/269 On Sat, Aug 22, 2015 at 1:33 AM, Paul Thompson

[julia-users] Defining composite types with fields that include each other

2015-08-21 Thread Paul Thompson
Hi: I want to define two types, and each will have a field that is the other type. For instance: type Foo bar::Bar otherfield1 otherfield2 end type Bar foo::Foo otherfield1 otherfield2 end The above results in an error when defining Foo because Bar is not defined. I could make the types