Yannick Loiseau
Yannick Loiseau
(called "Carly", since "call me maybe" :smile:)
ping @Artpej are you dealing with this ? If so, I had started a branch (fix/ambiguous-function ) that you can use if you like.
@Artpej I don't get your 3rd point about augmentations raising compilation exception. Do you mean that ``` golo augment Foo { function bar = |this| -> ... } augment Foo...
@jponge That is the case if I recall correctly
quoting section [9.4. Named augmentations](http://golo-lang.org/documentation/next/index.html#_named_augmentations) > When applying several named augmentations, they are used in the application order. > For instance, if `AugmentA` and `AugmentB` define both the method `meth`,...
@Artpej Not sure about the multiple augmentation thing. It depends how you want to organize your code. For instance: ``` golo # define the foo behavior on several objects. augment...
One use case I had in mind with the resolution order for augmentations was: ``` golo module Augmentation augmentation Fooable = { function foo = |this| -> "foo " +...
This is not working by far
@jponge indeed, but this allow to make any existing java object `Fooable`... Kind of overriding `oftype` for augmentations.
or emulation of higher kinded types :smile: