diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/src/Thermoprint/Server/API.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/Thermoprint/Server/API.hs b/server/src/Thermoprint/Server/API.hs index e147ac3..6411a70 100644 --- a/server/src/Thermoprint/Server/API.hs +++ b/server/src/Thermoprint/Server/API.hs | |||
@@ -65,6 +65,7 @@ thermoprintServer = listPrinters | |||
65 | :<|> (listDrafts :<|> addDraft) | 65 | :<|> (listDrafts :<|> addDraft) |
66 | :<|> updateDraft <||> getDraft <||> deleteDraft <||> printDraft | 66 | :<|> updateDraft <||> getDraft <||> deleteDraft <||> printDraft |
67 | where | 67 | where |
68 | -- :: (a -> b) -> (a -> c) -> (a -> b :<|> c) | ||
68 | (<||>) :: Monad m => m a -> m b -> m (a :<|> b) | 69 | (<||>) :: Monad m => m a -> m b -> m (a :<|> b) |
69 | (<||>) = liftM2 (:<|>) | 70 | (<||>) = liftM2 (:<|>) |
70 | infixr 9 <||> | 71 | infixr 9 <||> |