added notes on class_package.ML and codegen_package.ML
authorhaftmann
Tue, 25 Jul 2006 16:43:31 +0200
changeset 20188 8b22026445af
parent 20187 af47971ea304
child 20189 1be8b181dafa
added notes on class_package.ML and codegen_package.ML
NEWS
--- a/NEWS	Sun Jul 23 07:21:41 2006 +0200
+++ b/NEWS	Tue Jul 25 16:43:31 2006 +0200
@@ -37,6 +37,21 @@
 
 *** Pure ***
 
+* class_package.ML offers a combination of axclasses and locales to achieve
+Haskell-like type classes in Isabelle. See HOL/ex/Classpackage.thy for examples.
+
+* Yet another code generator framework allows to generate executable code
+for ML and Haskell (including "class"es). Most basic use cases:
+
+    internal compilation:
+        code_serialize ml <list of constants (term syntax)> (-)
+    writing ML code to a file:
+        code_serialize ml <list of constants (term syntax)> (<filename>)
+    writing Haskell code to a bunch of files:
+        code_serialize haskell <list of constants (term syntax)> (<filename>)
+
+See HOL/ex/Codegenerator.thy for examples.
+
 * Command 'no_translations' removes translation rules from theory
 syntax.