gelisam / klister

an implementation of stuck macros
BSD 3-Clause "New" or "Revised" License
129 stars 11 forks source link

explain the limits of the type system #228

Open gelisam opened 8 months ago

gelisam commented 8 months ago

I no longer like this part of our README:

The variety of type-systems which can be implemented this way is unforunately limited by the core type system to which everything must be rewritten.

because it is not at all clear how big of a limitation this is. I think it would be helpful to list some examples of type systems which can be implemented in Klister and some examples which can't. And of course, for those which can be implemented, it would be nice to eventually implement it and link to that implementation.

gelisam commented 8 months ago

So far, the only example of a custom type system we have is Scala-style implicit conversions.

Other fancy type systems which come to mind are: