ML for the working programmer
Elements of ML programming (ML97 ed.)
Elements of ML programming (ML97 ed.)
The Haskell: The Craft of Functional Programming
The Haskell: The Craft of Functional Programming
The Java Language Specification
The Java Language Specification
Adding tuples to Java: a study in lightweight data structures
JGI '02 Proceedings of the 2002 joint ACM-ISCOPE conference on Java Grande
Higher-order functional programming and wildcards in java
ACM-SE 45 Proceedings of the 45th annual southeast regional conference
Hi-index | 0.00 |
Java does not provide built-in methods for constructing and accessing tuples and lists. In other programming languages, especially functional languages, these data structures are an integral part of the language. In fact, programming without tuples and lists is inconceivable in these languages.This paper will discuss a method for adding these capabilities to Java. We propose a syntax for tuples and lists that fits in with the existing Java syntax. We define a semantics for the new constructs based on simple Java 1.4 and 1.5 classes. We describe our implementation of a source level translation for the extended language to Java.