2006•UTAS Research RepositoryOpen access

An Embedded Haskell Subset Implementation

IJ Lewis

Open full text 0 citations

Abstract

We provide an implementation of a Haskell subset embedded within the Java programming language. The subset provides type inference, polymorphism, first-class functions, currying, and mixing of Haskell calls within Java expressions. These calls are evaluated lazily before returning to standard imperative evaluation. \nThe implementation is via the language Genesis: a Java extension that allows for meta-programming and syntax creation. Genesis even allows for the subset to be used independently, so that source files containing purely Haskell subset code are translated into Java classes.

Open-access reader

About this research paper

What this paper is about

We provide an implementation of a Haskell subset embedded within the Java programming language. The subset provides type inference, polymorphism, first-class functions, currying, and mixing of Haskell calls within Java expressions. These calls are evaluated lazily before returning to standard imperative evaluation. \nThe implementation is via the language Genesis: a Java extension that allows for meta-programming and syntax creation. Genesis even allows for the subset to be used independently, so that source files containing purely Haskell subset code are translated into Java classes.

Why it matters

A significance statement is not available in the OpenAlex record.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

We provide an implementation of a Haskell subset embedded within the Java programming language. The subset provides type inference, polymorphism, first-class functions, currying, and mixing of Haskell calls within Java expressions. These calls are evaluated lazily before returning to standard imperative evaluation. \nThe implementation is via the language Genesis: a Java extension that allows for meta-programming and syntax creation. Genesis even allows for the subset to be used independently, so that source files containing purely Haskell subset code are translated into Java classes.

Key concepts: Haskell, Computer science, Programming language, Java, Scala, Generics in Java, Java Modeling Language, Functional programming

Related papers

Back to paper searchBrowse research topicsOriginal source
An Embedded Haskell Subset Implementation — Research Paper | ScholarLens