r/ProgrammingLanguages • u/marvinborner bruijn, effekt • Apr 27 '26
Discussion Effekt: Name-Based Implicits
https://effekt-lang.org/tour/name-based-implicitsWe recently added name-based implicits to our language. It's based on the work by Daan Leijen and Tim Whiting "Syntactic Implicit Parameters with Static Overloading". Let us know of your thoughts!
29
Upvotes
View all comments
Show parent comment
7
u/marvinborner bruijn, effekt Apr 27 '26
The solution to overloading needs to be unique, otherwise we throw a compilation error. See an example here. We do however prefer definitions in local scope, as in here.