From 2222fa87c7dd712a25f35bf04de4b092ab200b98 Mon Sep 17 00:00:00 2001 From: Patrick Aldis Date: Mon, 9 Mar 2026 16:18:15 +0000 Subject: [PATCH] newtype over data --- datalog-lsp/src/Datalog/LSP/Types.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datalog-lsp/src/Datalog/LSP/Types.hs b/datalog-lsp/src/Datalog/LSP/Types.hs index e0649e5..7339839 100644 --- a/datalog-lsp/src/Datalog/LSP/Types.hs +++ b/datalog-lsp/src/Datalog/LSP/Types.hs @@ -14,6 +14,6 @@ type DLogLspM = LspM LSPState type UriBundle a = Map J.NormalizedUri a -data LSPState = LSPState +newtype LSPState = LSPState { parseState :: TVar (UriBundle (Either (ParseErrorBundle Text Void) (Program' SrcLoc))) }