repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve install script, add debug to the linux client, update jenkins behaviour
[mTask.git]
/
mTaskInterpret.dcl
diff --git
a/mTaskInterpret.dcl
b/mTaskInterpret.dcl
index
0105944
..
8c8e422
100644
(file)
--- a/
mTaskInterpret.dcl
+++ b/
mTaskInterpret.dcl
@@
-6,14
+6,17
@@
from Data.Monoid import class Semigroup, class Monoid
import mTask
:: MTaskMSGRecv
import mTask
:: MTaskMSGRecv
- = MTPub Int String
+ = MTTaskAck Int
+ | MTTaskDelAck Int
+ | MTSDSAck Int
+ | MTSDSDelAck Int
+ | MTPub Int String
| MTMessage String
| MTMessage String
- | MTTaskAdded Int
| MTEmpty
:: MTaskMSGSend
| MTEmpty
:: MTaskMSGSend
- = MT
Sds
Int String
- | MT
Task
Int String
+ = MT
Task
Int String
+ | MT
Sds
Int String
| MTUpd Int String
instance toString MTaskMSGRecv
| MTUpd Int String
instance toString MTaskMSGRecv
@@
-111,4
+114,4
@@
toSDSUpdate :: Int Int -> [MTaskMSGSend]
toByteVal :: BC -> [Char]
toReadableByteCode :: (ByteCode a b) -> (String, BCState)
toByteVal :: BC -> [Char]
toReadableByteCode :: (ByteCode a b) -> (String, BCState)
-toRealByteCode :: (ByteCode a b) -> (String, BCState)
+toRealByteCode :: (ByteCode a b)
BCState
-> (String, BCState)