pkgsrc/lang/pict/patches/patch-yl
dholland 8b563c8055 Initial import of Pict 4.1 into the NetBSD package system.
Pict is a language in the ML tradition, formed by adding a layer of
convenient syntactic sugar and a static type system to a tiny
core. The current release includes a Pict-to-C compiler, reference
manual, language tutorial, numerous libraries, and example programs.

The core language - an asynchronous variant of Milner, Parrow, and
Walker's pi-calculus - has been used as a theoretical foundation for a
broad class of concurrent computations. The goal in Pict is to
identify high-level idioms that arise naturally when these primitives
are used to build working programs - idioms such as basic data
structures, protocols for returning results, higher-order programming,
selective communication, and concurrent objects. The type system
integrates a number of features found in recent work on theoretical
foundations for typed object-oriented languages: higher-order
polymorphism, simple recursive types, subtyping, and a powerful
partial type inference algorithm.
2009-10-28 06:13:40 +00:00

15 lines
467 B
Text

$NetBSD: patch-yl,v 1.1.1.1 2009/10/28 06:13:40 dholland Exp $
Fix integer types for modern ocaml.
--- Pict/syntax.ml.orig 2009-10-27 20:27:57.000000000 -0400
+++ Pict/syntax.ml 2009-10-27 20:28:16.000000000 -0400
@@ -74,7 +74,7 @@ and value =
| VARv of info * string
| BOOLv of info * bool
| CHARv of info * char
-| INTv of info * int
+| INTv of info * int32
| LETv of info * dec * value
| RECv of info * value * ty option
| CONv of info * ty option * value