The Wayback Machine - https://web.archive.org/web/20220610073345/https://github.com/topics/typeclasses
Skip to content
#

typeclasses

Here are 99 public repositories matching this topic...

tofu
catostrophe
catostrophe commented Nov 12, 2020

Let tofu-optics users do this:

import tofu.optics.syntax.tupleN._

val lense = Tuple3._2[Int, String, Long]   // : Contains[(Int, String, Long), String]

tupleN object should contain all possible implicit extensions to Tuple{N} companion objects. Implementations should be macro generated.

enhancement good first issue
arrow-meta
ahinchman1
ahinchman1 commented Dec 16, 2019

Parent issue: #335
Every plugin must be able to use all properties to construct the exact PSI element being fed in to achieve isomorphism between Quote and Scope. To ensure that AST parsing and our quote-and-template system is robust, more testing is needed to increase stability and reliability.

Checklist for WhenExpression

  • Destructure and make available all methods related to re
documentation good first issue help wanted AST-scope
cscherrer
cscherrer commented Jan 26, 2020

Hi Taine,

In one of your example, you have

@trait Addable{L, R} begin
    (+) :: [L, R] => Any
    (+) = Base.:+
end

I'd like to do something like this, but avoid the Any. I was thinking something like

@trait Addable{L, R, X} where {X = inferAddable(L,R)} begin
    (+) :: [L, R] => X
    (+) = Base.:+
end

But then I'm having trouble getting the `@i

good first issue

Improve this page

Add a description, image, and links to the typeclasses topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the typeclasses topic, visit your repo's landing page and select "manage topics."

Learn more