Sized Types for Typing Eden Skeletons

  • Authors:
  • Ricardo Pena;Clara Segura

  • Affiliations:
  • -;-

  • Venue:
  • IFL '02 Selected Papers from the 13th International Workshop on Implementation of Functional Languages
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

The parallel-functional language Eden extends Haskell with constructs to explicitly define and communicate processes. These extensions allow the easy definition of skeletons as higher-order functions. However, the programmer can inadvertently introduce busy loops or deadlocks in them. In this paper a sized type system is extended in order to use it for Eden programs, so that those well-typed skeletons are guaranteed either to terminate or to be productive. The problems raised by Eden features and their possible solutions are described in detail and several skeletons are manually type checked in this modified system such as the parallel map, farm, pipeline and replicated workers.