summaryrefslogtreecommitdiff
path: root/Hero/Keep.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Hero/Keep.hs')
-rw-r--r--Hero/Keep.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Hero/Keep.hs b/Hero/Keep.hs
index 744313b..10ef732 100644
--- a/Hero/Keep.hs
+++ b/Hero/Keep.hs
@@ -66,7 +66,7 @@ newComic :: Comic -> Update HeroKeep Comic
newComic c = do
keep <- get
put <| keep {_comics = IxSet.insert c (_comics keep)}
- return c
+ pure c
getComics :: Int -> Acid.Query HeroKeep [Comic]
getComics n = ask /> _comics /> IxSet.toList /> take n