Proceedings of the 2013 ACM SIGPLAN Symposium on Haskell 2013
DOI: 10.1145/2503778.2503780
|View full text |Cite
|
Sign up to set email alerts
|

Names for free

Abstract: We propose a novel technique to represent names and binders in Haskell. The dynamic (run-time) representation is based on de Bruijn indices, but it features an interface to write and manipulate variables conviently, using Haskell-level lambdas and variables. The key idea is to use rich types: a subterm with an additional free variable is viewed either as ∀v.v → Term(a + v) or ∃v.v × Term(a + v) depending on whether it is constructed or analysed. We demonstrate on a number of examples how this approach permits … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...

Citation Types

0
0
0

Year Published

2014
2014
2015
2015

Publication Types

Select...
1
1
1

Relationship

0
3

Authors

Journals

citations
Cited by 3 publications
references
References 24 publications
0
0
0
Order By: Relevance