From dd7c95b064ce156c23c1312ef821c0965b900d48 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 11 Apr 2020 00:38:29 -0700 Subject: Make Quepath just a single Text Prevents nested lists in the app state. --- Run/Que/Server.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Run') diff --git a/Run/Que/Server.hs b/Run/Que/Server.hs index 45ad1bc..792676d 100644 --- a/Run/Que/Server.hs +++ b/Run/Que/Server.hs @@ -216,7 +216,7 @@ modify f = ask >>= liftIO . atomically . flip STM.modifyTVar' f type Namespace = Text -- ^ housing for a set of que paths type Que = Go.Channel Quedata -- ^ a que is just a channel of bytes -type Quepath = [Text] -- ^ any path can serve as an identifier for a que +type Quepath = Text -- ^ any path can serve as an identifier for a que type Quedata = ByteString -- ^ any opaque data type Quebase = HashMap Quepath Que -- ^ a collection of ques -- cgit v1.2.3