I am trying to implement a hierarchy of abstract algebraic structures in Julia, mainly:1-Semigroups2-Monoids3-Groups4-Fieldsand later vector spaces,Hilbert spaces etc.The main feature which is missing from Julia (and needed for implementation) is multiple inheritance. For example a Field IS AN additive group plus A multiplicative group and that can not be expressed in Julia easily. Please respond if you have a work around or if you think Julia should support multiple inheritance. I know the language Slate supports multiple dispatch plus multiple inheritance. Can that model be used?Please view the preliminary implementation on Git:thanksAl
I am trying to implement a hierarchy of abstract algebraic structures in Julia, mainly:1-Semigroups2-Monoids3-Groups4-Fieldsand later vector spaces,Hilbert spaces etc.The main feature which is missing from Julia (and needed for implementation) is multiple inheritance. For example a Field IS AN additive group plus A multiplicative group and that can not be expressed in Julia easily. Please respond if you have a work around or if you think Julia should support multiple inheritance. I know the language Slate supports multiple dispatch plus multiple inheritance. Can that model be used?
On Friday, November 22, 2013 5:40:52 AM UTC+1, Al Rahimi wrote:I am trying to implement a hierarchy of abstract algebraic structures in Julia, mainly:1-Semigroups2-Monoids3-Groups4-Fieldsand later vector spaces,Hilbert spaces etc.
Julia, if I'm correct, only allows abstract types to be inherited. But mathematical objects can be constructed by joining concrete types.