diff src/corify.sml @ 564:803b2f3bb86b

Monad type class seems to be working
author Adam Chlipala <adamc@hcoop.net>
date Fri, 19 Dec 2008 10:27:58 -0500
parents ae03d09043c1
children 8998114760c1
line wrap: on
line diff
--- a/src/corify.sml	Fri Dec 19 10:03:31 2008 -0500
+++ b/src/corify.sml	Fri Dec 19 10:27:58 2008 -0500
@@ -926,8 +926,10 @@
                                           val e = (L.EModProj (m, ms, s), loc)
 
                                           val ef = (L.EModProj (basis, [], "bind"), loc)
+                                          val ef = (L.ECApp (ef, (L.CModProj (basis, [], "transaction"), loc)), loc)
                                           val ef = (L.ECApp (ef, ran'), loc)
                                           val ef = (L.ECApp (ef, ran), loc)
+                                          val ef = (L.EApp (ef, (L.EModProj (basis, [], "transaction_monad"), loc)), loc)
                                           val ef = (L.EApp (ef, (L.EApp (e, (L.ERel 0, loc)), loc)), loc)
 
                                           val eat = (L.CApp ((L.CModProj (basis, [], "transaction"), loc),