added monad instance for `set`
authorhaftmann
Sat, 24 Dec 2011 15:53:08 +0100
changeset 45964 7b3a18670a9f
parent 45963 1c7e6454883e
child 45965 2af982715e5c
added monad instance for `set`
src/HOL/Library/Monad_Syntax.thy
--- a/src/HOL/Library/Monad_Syntax.thy	Sat Dec 24 15:53:08 2011 +0100
+++ b/src/HOL/Library/Monad_Syntax.thy	Sat Dec 24 15:53:08 2011 +0100
@@ -71,6 +71,7 @@
 
 setup {*
   Adhoc_Overloading.add_overloaded @{const_name bind}
+  #> Adhoc_Overloading.add_variant @{const_name bind} @{const_name Set.bind}
   #> Adhoc_Overloading.add_variant @{const_name bind} @{const_name Predicate.bind}
   #> Adhoc_Overloading.add_variant @{const_name bind} @{const_name Option.bind}
   #> Adhoc_Overloading.add_variant @{const_name bind} @{const_name More_List.bind}