inliner icon indicating copy to clipboard operation
inliner copied to clipboard

scala macros to inline idiomatic scala for maximum performance

Results 2 inliner issues
Sort by recently updated
recently updated
newest added

To be compatible with scala's Try.flatMap/map, we apply the expression is a try block, so `flatMap` looks like this: ``` scala if(t.isSuccess) { val x = t.get try { /*...

And similarly for Option.isDefined. In the macro, we don't care if the generated code is ugly.