JetBrains / JetBrains/Arend

Infer (class of (parameters of (functions defined in instances)))

Open
#265 4 comments 0 reactions 0 assignees View on GitHub
classes
Dominant language
Java
Stars
756
Forks
31
PR merge metrics
No merged PRs in 30d

Description

Example:
````arend
\class B
| v : Nat

\class C
| f (x : B) : B

\instance inst : C
| f x => \new B {
| v => suc (x.v) -- but currently we have to write (B.v {x})
}
````
This might be related to #126.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Arend example in the issue and compare the required explicit `(B.v {x})` form with the desired `x.v` shorthand. Trace the implementation of parameter and class inference, then verify that the example works when the shorthand is supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.