adapt to new iTasks layout
[mTask.git] / mTaskCode.dcl
index 8e5f0f5..47aff54 100644 (file)
@@ -2,12 +2,11 @@ definition module mTaskCode
 
 import mTask
 
+class toCode a :: a -> String
 instance toCode Pin
 instance toCode MTask
 instance toCode ()
 instance toCode Long
-
-class toCode a :: a -> String
 instance toCode Bool
 instance toCode Int
 instance toCode Real
@@ -99,7 +98,7 @@ instance noOp Code
   , iloop                      :: Int
   , includes  :: [String]
   , def          :: Def
-  , mode         :: Mode
+  , mode`        :: Mode
   , binds                      :: [String]
   }