typeclass-proposal icon indicating copy to clipboard operation
typeclass-proposal copied to clipboard

Typeclass proposal for Dotty

Results 4 typeclass-proposal issues
Sort by recently updated
recently updated
newest added

1. add a paragraph on how they relate ro C#’s extension methods 2. mention if they can be called as normal functions (I assume they can be) 3. `object Traverse`...

I noticed, while reading part 3, "Instance Declarations", that you used two different syntaxes: You start out with a `:`. ```scala extension intAdditionSemigroup : new Semigroup[Int] { def combine(this x:...

Suggested by @michaelpilquist, E.g., given an `Applicative[Foo]`, `Foo.type` is automatically enriched with `pure`.

in the [type classes doc](https://github.com/LukaJCB/typeclass-proposal/blob/master/docs/typeclasses.md#type-class-requirements-inheritance) you suggest using the following syntax to imply type class "requirements", which introduces a previously unused notation: ```scala type class Monoid[A] : Semigroup[A] { def...