From 7a9ef992afa96ed177ae9a4a67d302017ab73852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Wed, 5 Apr 2023 22:03:43 +0200 Subject: Fix non-exhaustive pattern match warnings --- src/Service.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Service.hs') diff --git a/src/Service.hs b/src/Service.hs index 3ef10d6..4fc8335 100644 --- a/src/Service.hs +++ b/src/Service.hs @@ -165,7 +165,7 @@ svcSelf = maybe (throwError "failed to validate own identity") return . validateIdentity . lsIdentity . fromStored =<< svcGetLocal svcPrint :: String -> ServiceHandler s () -svcPrint str = afterCommit . ($str) =<< asks svcPrintOp +svcPrint str = afterCommit . ($ str) =<< asks svcPrintOp replyPacket :: Service s => s -> ServiceHandler s () replyPacket x = tell [ServiceReply (Left x) True] -- cgit v1.2.3