Skip to content
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

think about how how unboxed tuples interact with rest of planned type/kind/sort system and function types #3

Open
cartazio opened this issue Mar 20, 2016 · 0 comments

Comments

@cartazio
Copy link
Member

https://ghc.haskell.org/trac/ghc/ticket/11723#comment:3 ghc ran into this recently, so its not totally untrodden territory :)

will require some thought, but I do think that It'd be reasonable to not allow variable unboxed tupleness in dependent functions.

A related question is whether unboxed tuples in result (positive) position correspond with an existential/dependent record telescope just as unboxed tuples in arg (negative) position form a dependent universal/pi telescope. On this latter front, thinking about the CPS translation of function application makes me think the answer is "yes, duh", but worth working out. This also does suggest that CPS lowering (perhaps using the ideas of nick rioux, amal ahmed and will bowman as sketched out in http://www.cs.ox.ac.uk/ralf.hinze/WG2.8/33/slides/Amal.pdf might be useful )

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