Conversation

This Tweet was deleted by the Tweet author. Learn more
'implicit parameters' can refer to a bunch of features for filling in parameters. In Scala the insertion is more like type class instance search, in Agda/Coq/Idris it's more like filling in generic type parameters, in Haskell it's more like looking up a name bound in scope.
2
3
I had bumped into some of these differences, but didn't have the expertise in any of these languages to be confident. Thanks for this!
1
2
Oh, even within that there is subtlety. Like Scala's implicit search uses a complicated fallback strategy on ambiguity, which can make it challenging to understand what instance is being selected, whereas OCaml's proposed implicits instead plans to provide an error.
1
1
Show replies