diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/Thermoprint/Server/Queue.hs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/server/src/Thermoprint/Server/Queue.hs b/server/src/Thermoprint/Server/Queue.hs index c6a7903..3c8fb9e 100644 --- a/server/src/Thermoprint/Server/Queue.hs +++ b/server/src/Thermoprint/Server/Queue.hs | |||
@@ -144,9 +144,6 @@ toZipper = Set.foldl' (flip insert) def | |||
144 | type QueueManager t = QueueManagerM t (Extended Micro) | 144 | type QueueManager t = QueueManagerM t (Extended Micro) |
145 | type QueueManagerM t = ComposeT (StateT Queue) t STM | 145 | type QueueManagerM t = ComposeT (StateT Queue) t STM |
146 | 146 | ||
147 | instance (Monad (StateT s (g m)), Monad (g m)) => MonadState s (ComposeT (StateT s) g m) where | ||
148 | state = ComposeT . state | ||
149 | |||
150 | runQM :: ( HasQueue q | 147 | runQM :: ( HasQueue q |
151 | , MFunctor t | 148 | , MFunctor t |
152 | , MonadTrans t | 149 | , MonadTrans t |