SwePub
Sök i LIBRIS databas

  Extended search

onr:"swepub:oai:research.chalmers.se:8751ef48-473f-4086-97c9-d895c4905548"
 

Search: onr:"swepub:oai:research.chalmers.se:8751ef48-473f-4086-97c9-d895c4905548" > Names For Free - Po...

  • 1 of 1
  • Previous record
  • Next record
  •    To hitlist

Names For Free - Polymorphic Views of Names and Binders

Bernardy, Jean-Philippe, 1978 (author)
Chalmers tekniska högskola,Chalmers University of Technology
Pouillard, Nicolas, 1983 (author)
IT-Universitetet i Kobenhavn,IT University of Copenhagen
 (creator_code:org_t)
ISBN 9781450323833
2013-09-23
2013
English.
In: SIGPLAN Notices (ACM Special Interest Group on Programming Languages). - New York, NY, USA : ACM. - 0730-8566. - 9781450323833 ; 48:12, s. 13-24
  • Conference paper (peer-reviewed)
Abstract Subject headings
Close  
  • We propose a novel technique to represent names and binders inHaskell. The dynamic (run-time) representation is based on de Bruijnindices, but it features an interface to write and manipulatevariables conviently, using Haskell-level lambdas and variables. Thekey idea is to use rich types: a subterm with an additional free variableis viewed either as $\forall v. v \rightarrow \mathsf{Term} (a + v)$or $\exists v. v \times \mathsf{Term} (a + v)$ depending on weather itis constructed or analysed. We demonstrate on a number of exampleshow this approach approach permits to express terms construction and manipulation in a natural way, while retaining the good properties ofrepresentations based on de Bruijn indices.

Subject headings

NATURVETENSKAP  -- Data- och informationsvetenskap -- Datavetenskap (hsv//swe)
NATURAL SCIENCES  -- Computer and Information Sciences -- Computer Sciences (hsv//eng)

Keyword

type-classes
polymorphism
name binding
parametricity
nested types

Publication and Content Type

kon (subject category)
ref (subject category)

Find in a library

To the university's database

  • 1 of 1
  • Previous record
  • Next record
  •    To hitlist

Find more in SwePub

By the author/editor
Bernardy, Jean-P ...
Pouillard, Nicol ...
About the subject
NATURAL SCIENCES
NATURAL SCIENCES
and Computer and Inf ...
and Computer Science ...
Articles in the publication
SIGPLAN Notices ...
By the university
Chalmers University of Technology

Search outside SwePub

Kungliga biblioteket hanterar dina personuppgifter i enlighet med EU:s dataskyddsförordning (2018), GDPR. Läs mer om hur det funkar här.
Så här hanterar KB dina uppgifter vid användning av denna tjänst.

 
pil uppåt Close

Copy and save the link in order to return to this view