Arrow: Fix Implicits current implementation to not require initial reference

Created on 25 Jun 2017  路  7Comments  路  Source: arrow-kt/arrow

Following problems reported on #105, we need to find the way to avoid the requirement for holding a reference of any implicit instance prior to make it work as an implicit inside any class, and not crash at runtime. Check the linked issue for more details.

enhancement work in progress

Most helpful comment

The solution in #126 doesn't fix the underlying problem we have with instantiation. @JorgeCastilloPrz is going to take a look at a compiler-plugin driven solution rather than the actual runtime lookup one.

All 7 comments

We need metaprogramming to avoid this problem. If we could PoC a solution based off an existing plugin like AllOpen it'd be great.

Let me take this one.

Resolved in #126

The solution in #126 doesn't fix the underlying problem we have with instantiation. @JorgeCastilloPrz is going to take a look at a compiler-plugin driven solution rather than the actual runtime lookup one.

sorry

Don't have to, it's hard to keep up with all the sub-projects happening on the project ATM :D

Completed by #264

Was this page helpful?
0 / 5 - 0 ratings

Related issues

raulraja picture raulraja  路  3Comments

pakoito picture pakoito  路  4Comments

jmfayard picture jmfayard  路  4Comments

1Jajen1 picture 1Jajen1  路  3Comments

raulraja picture raulraja  路  4Comments