Add theory for setting up monad syntax for Cset
authorAndreas Lochbihler
Tue, 26 Jul 2011 10:49:34 +0200
changeset 44847af17d7934116
parent 44843 24a3ddc79a5c
child 44848 0eb2b12bd99e
Add theory for setting up monad syntax for Cset
src/HOL/Library/Cset_Monad.thy
src/HOL/Library/Library.thy
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/HOL/Library/Cset_Monad.thy	Tue Jul 26 10:49:34 2011 +0200
     1.3 @@ -0,0 +1,13 @@
     1.4 +(* Author: Andreas Lochbihler, KIT *)
     1.5 +
     1.6 +header {* Add monad syntax for Csets *}
     1.7 +
     1.8 +theory Cset_Monad
     1.9 +imports Cset Monad_Syntax 
    1.10 +begin
    1.11 +
    1.12 +setup {*
    1.13 +  Adhoc_Overloading.add_variant @{const_name bind} @{const_name Cset.bind}
    1.14 +*}
    1.15 +
    1.16 +end
    1.17 \ No newline at end of file
     2.1 --- a/src/HOL/Library/Library.thy	Tue Jul 26 10:03:19 2011 +0200
     2.2 +++ b/src/HOL/Library/Library.thy	Tue Jul 26 10:49:34 2011 +0200
     2.3 @@ -12,6 +12,7 @@
     2.4    ContNotDenum
     2.5    Convex
     2.6    Countable
     2.7 +  Cset_Monad
     2.8    Diagonalize
     2.9    Dlist_Cset
    2.10    Eval_Witness