ceylon icon indicating copy to clipboard operation
ceylon copied to clipboard

Add type function support to JVM backend

Open CeylonMigrationBot opened this issue 9 years ago • 4 comments

[@luolong] Type functions are implemented as an experimental unofficial feature on js backend, but much of the work I do is mostly on JVM and I would love to experiment with type functions in libraries.

I suspect that many libraries could benefit from these. Things like typesafe fluent assertion frameworks and web service routing libraries, serializers, etc.

[Migrated from ceylon/ceylon-compiler#2358]

CeylonMigrationBot avatar Oct 15 '15 14:10 CeylonMigrationBot

[@lukedegruchy] I've noticed that there are currently some rather cryptic compile errors on JVM when using this feature presently. Should there be a separate bug for clearing compile errors (ex "Higher Order Generics not supported on JVM back end currently") in case this enhancement doesn't make it to 1.3 for the JVM?

CeylonMigrationBot avatar Nov 01 '15 19:11 CeylonMigrationBot

The type-constructors-jvm branch has some better support for type constructors, but still lacks support for functors. This branch ought to be merged for 1.2.3 even if full support for functors is deferred till 1.3

tombentley avatar Feb 29 '16 13:02 tombentley

This branch ought to be merged for 1.2.3

Any progress on this @tombentley ? Or do we move this to 1.3?

quintesse avatar Jul 18 '16 12:07 quintesse

Note: issue #2411 documented some bugs in this prototype implementation.

gavinking avatar Apr 23 '18 08:04 gavinking