diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-08 00:40:02 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-08 00:40:02 +0200 |
commit | c69563da3ea55820af21edb7cf2af40906630e6e (patch) | |
tree | 31ec3fb8ff281365b10a92e8c7ba439e3de9822c /src/Utils.hs | |
parent | 99b12580b0ef0592dbfb5da04070114314e9b7f8 (diff) | |
download | 2017-01-16_17:13:37-c69563da3ea55820af21edb7cf2af40906630e6e.tar 2017-01-16_17:13:37-c69563da3ea55820af21edb7cf2af40906630e6e.tar.gz 2017-01-16_17:13:37-c69563da3ea55820af21edb7cf2af40906630e6e.tar.bz2 2017-01-16_17:13:37-c69563da3ea55820af21edb7cf2af40906630e6e.tar.xz 2017-01-16_17:13:37-c69563da3ea55820af21edb7cf2af40906630e6e.zip |
command parsing
Diffstat (limited to 'src/Utils.hs')
-rw-r--r-- | src/Utils.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.hs b/src/Utils.hs index 945c6b7..6c8f0c1 100644 --- a/src/Utils.hs +++ b/src/Utils.hs | |||
@@ -37,4 +37,4 @@ apply :: Alteration -> Sequence -> (Sequence, History) | |||
37 | apply alteration seq = undefined | 37 | apply alteration seq = undefined |
38 | 38 | ||
39 | entities :: MonadState Sequence m => m (Set Entity) | 39 | entities :: MonadState Sequence m => m (Set Entity) |
40 | entities = Set.fromList . MaxPQueue.keys <$> get | 40 | entities = Set.fromList . MaxPQueue.elems <$> get |