Evgenii Kotelnikov
Evgenii Kotelnikov
> shortcuts for common things such as Option, Try, etc. This is very neat. I wish I had those in the first place, so this would work: ``` scala val...
Sorry, accidentially clicked "Close"...
Thanks for sharing! Looks nice. Perhaps, we can also support annotations of `object` declaration? `val x =` might look confusing in some cases, imo. I changed a few things: https://gist.github.com/aztek/6421797,...
Thanks for sharing! Regarding 2d, how crucial is the logic of silmultaneous expansion of companions? If it would follow the same rule of moving expansion point, you'd be just forced...
What about it? In that case you'd need to move both the object and the import before the annotated class (provided, that annotations can see their lexical scope).
I'm not sure why is this a problem. We merely impose restrictions on how macro-annotations can be used, and then it's up to programmer to arrange imports/definitions properly and resolve...
Sorry for the confusion, by "you" I meant the programmer. My initial question was if it is possible not to expand both companions simultaneously when one of them is macro-annotated,...
This one should be enough. ``` haskell c :: Char c = c' where c' = c'' c'' = c''' c''' = c'c' c'c' = c'c'' c'c'' = c''c'' c''c''...