updated to new Isabelle
authorChristian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 15 Oct 2014 23:40:05 +0100
changeset 560 8d30446d89f0
parent 559 ffa5c4ec9611
child 561 aec7073d4645
updated to new Isabelle
ProgTutorial/Advanced.thy
ProgTutorial/Intro.thy
ProgTutorial/Package/Ind_Extensions.thy
progtutorial.pdf
--- a/ProgTutorial/Advanced.thy	Wed Oct 15 23:12:54 2014 +0100
+++ b/ProgTutorial/Advanced.thy	Wed Oct 15 23:40:05 2014 +0100
@@ -574,8 +574,6 @@
 
 section {* Misc (TBD) *}
 
-ML {*Datatype.get_info @{theory} "List.list"*}
-
 text {* 
 FIXME: association lists:
 @{ML_file "Pure/General/alist.ML"}
--- a/ProgTutorial/Intro.thy	Wed Oct 15 23:12:54 2014 +0100
+++ b/ProgTutorial/Intro.thy	Wed Oct 15 23:40:05 2014 +0100
@@ -321,6 +321,8 @@
 
   \item {\bf Dmitriy Traytel} suggested to use the ML-antiquotation 
   @{text "command_spec"} in section~\ref{sec:newcommand}, which simplified the code. 
+
+  \item {\bf Piotr Trojanek} proofread the text.
   \end{itemize}
 
   Please let me know of any omissions. Responsibility for any remaining
--- a/ProgTutorial/Package/Ind_Extensions.thy	Wed Oct 15 23:12:54 2014 +0100
+++ b/ProgTutorial/Package/Ind_Extensions.thy	Wed Oct 15 23:40:05 2014 +0100
@@ -207,10 +207,6 @@
 
 datatype foo = Foo nat
 
-local_setup{*Primrec.add_primrec [(@{binding "bar"}, NONE, NoSyn)] 
-    [(Attrib.empty_binding, @{term "\<And>x. bar (Foo x) = x"})]
-  #> snd *}
-
 local_setup{*Function.add_function [(@{binding "baz"}, NONE, NoSyn)] 
     [(Attrib.empty_binding, @{term "\<And>x. baz (Foo x) = x"})]
       conf pat_completeness_auto #> snd*}
Binary file progtutorial.pdf has changed