diff -r 5d368eb42c11 -r 509a1ca9d35c src/Pure/ML-Systems/polyml-5.1.ML --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/Pure/ML-Systems/polyml-5.1.ML Mon Mar 24 18:35:47 2008 +0100 @@ -0,0 +1,21 @@ +(* Title: Pure/ML-Systems/polyml-5.1.ML + ID: $Id$ + +Compatibility wrapper for Poly/ML 5.1. +*) + +use "ML-Systems/polyml_common.ML"; +use "ML-Systems/multithreading_polyml.ML"; + +val pointer_eq = PolyML.pointerEq; + + +(* single-threaded profiling *) + +local val profile_orig = profile in + +fun profile 0 f x = f x + | profile n f x = NAMED_CRITICAL "profile" (fn () => profile_orig n f x); + +end; +