Seemingly unsolvable level equation
See original GitHub issueAya version: latest build (e4948a9) from GitHub Actions
Code:
struct TypeStruct : Set
| type : Set
def setType (type' : Set) (ts : TypeStruct) : TypeStruct
=> new TypeStruct { | type => type' }
Got error:
In file code/test.aya:5:9 ->
3 |
4 | def setType (type' : Set) (ts : TypeStruct) : TypeStruct
5 | => new TypeStruct { | type => type' }
^--------------------------------^ TypeStruct.u <= TypeStruct.u
Error: Cannot solve some level equation(s)
There seems no way to solve this error.
PS. Will there be a syntax for struct updating like in Idris? PS2. Will there be partial implementation like in Arend? PS3. Do my issues feel spamming?
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Consistent but apparently unsolvable system of equations
I have started learning linear algebra. One of the exercise problems is as below. Determine the value(s) of h such that the matrix...
Read more >Mathematician discusses solving a seemingly unsolvable ...
Erik Panzer from the University of Oxford have solved a mathematical equation which was considered to be unsolvable.
Read more >The Unsolvable Problem - Scientific American
Kurt Gödel famously discovered in the 1930s that some statements are impossible to prove true or false—they will always be “undecidable.”.
Read more >10 Math Equations That Have Never Been Solved
Some of these equations are even based on elementary school concepts and are easily understandable - just unsolvable.
Read more >6 Deceptively Simple Maths Problems That No One Can Solve
We all know that maths is really hard.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Wait, you’re Problem233? I remember seeing you in osu group chats when I was using the name t532. oh god
Checkout the latest version. The level error is reported beforehand now.