Skip to content

Resolver & Type Classes Tracking Issue #272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
6 of 12 tasks
FlandiaYingman opened this issue Feb 7, 2025 · 0 comments
Open
6 of 12 tasks

Resolver & Type Classes Tracking Issue #272

FlandiaYingman opened this issue Feb 7, 2025 · 0 comments

Comments

@FlandiaYingman
Copy link

FlandiaYingman commented Feb 7, 2025

This issue tracks the problems that are neither urgent nor pressing related to the resolver & type classes feature.

  • Handle cyclic resolution

    M.List.map
    
    module M with
      val List: M2.List = M2.List
    
    module M2 with
      val List: M.List = M.List
  • Resolution possibly leading to more symbol resolution.

    fun foo[A](using foo: Foo[A]): A
    
    use Foo[List]
    foo.map
  • Support use[...] syntax as in (see Handler runtime improvements #282 (comment))

    fun fib(using Yield[Int]) =
      fun inner(a, b) =
        use[Yield].yield(a)
        inner(b, a + b)
      inner(0, 1)
  • Reused mutable terms, mostly of UCS normalization. (see Move All Resolution to the Resolution Stage #297 (comment)).

  • Move selections' symbol resolution to the resolution phase.

    • Before that, move UCS normalization to/after the resolution phase.

Completed Tasks

@LPTK LPTK pinned this issue Feb 7, 2025
@FlandiaYingman FlandiaYingman changed the title Module Methods & Type Classes Tracking Issue Resolver & Type Classes Tracking Issue Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant