update
authorMart Lubbers <mart@martlubbers.net>
Fri, 16 Jun 2017 17:40:31 +0000 (19:40 +0200)
committerMart Lubbers <mart@martlubbers.net>
Fri, 16 Jun 2017 17:40:31 +0000 (19:40 +0200)
Utils/SDS.icl

index f7a6cc7..f90c029 100644 (file)
@@ -29,10 +29,10 @@ deviceStore = SDSSource {SDSSource
        , write= realWrite
        }
 where
-       realRead p iw
-       | not (trace_tn $ "read called with: " +++ printToString p) = undef
-       = read realDeviceStore iw
+       realRead :: (Maybe (MTaskDevice,Int)) *IWorld -> (MaybeError TaskException [MTaskDevice], *IWorld)
+       realRead p iw = read realDeviceStore iw
 
+       realWrite :: (Maybe (MTaskDevice,Int)) [MTaskDevice] *IWorld -> (MaybeError TaskException (SDSNotifyPred (Maybe (MTaskDevice,Int))), *IWorld)
        realWrite mi w iw
        | not (trace_tn $ "write called with: " +++ printToString mi +++ " w " +++ printToString w) = undef
        # (merr, iw) = write w realDeviceStore iw