Unifying Owner Telescope
See original GitHub issueFor the simple data types, the owner telescopes of their constructors are trivial: the data telescope. But the indexed data types are not, the owner telescopes of their constructors depend on the bindings of each pattern. For example:
open data Vec Type Nat
| A, zero => vnil
| A, suc n => vcons A (Vec A n)
The owner telescope of vnil
is (A : Type)
(size = 1); But for vcons
, it is (A : Type) (n : Nat)
(size = 2).
However, we implemented this incorrectly (see CallTerm.Data#conHead, PatToTerm.java )
This should be a potential bug.
Issue Analytics
- State:
- Created a year ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
James Webb Space Telescope - Wikipedia
The James Webb Space Telescope (JWST) is a space telescope which conducts infrared astronomy. As the largest optical telescope in space, its high...
Read more >The world's top ten telescopes revealed - Nature
Privately owned and operated telescopes, such as Keck, can give large amounts of time to small groups of scientists aiming at the juiciest ......
Read more >Telescope - Digital Asset Management - IgniteTech
Securely sort and store any type of digital asset, content, media or file, and share those assets locally or globally with peers, employees,...
Read more >Exact optics: a unification of optical telescope design
Abstract. A perfect-focus telescope is one in which all rays parallel to the axis meet at a point and give equal magnification there....
Read more >Construction of the largest telescope on Earth has begun
According to its CEO, SKA can become one of the greatest scientific achievements of mankind. Soon, more than 130 thousand antennas will be ......
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
I spent 3 hrs debugging this and there is finally a clue. See branch xyy.
I mean it is buggy that
conHead
constructs aConHead
with justDataCall#args
. For example:If you want to construct a
ConHead
ofvcons
for someDataCall
:Vic (S O)
, it should bevcons {O}
instead ofvcons {S O}
.PatTycker didn’t use the wrong
ConHead#args
, butPatClassifier
(which I am not familiar with) might use.