summaryrefslogtreecommitdiff
path: root/main.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-01-22 22:42:28 -0800
committerBen Sima <ben@bsima.me>2018-01-22 22:42:28 -0800
commitba9c21a8bed56cff3b9f875463d98e53871d51d9 (patch)
tree49aca9b5ac0036826471a9a1ef04d3f452e122f8 /main.hs
parentbb45fa6322fc7d2933016ae5e8a8b0d4ed8faad0 (diff)
Typos
Diffstat (limited to 'main.hs')
-rwxr-xr-xmain.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.hs b/main.hs
index 14b896d..75d9cfd 100755
--- a/main.hs
+++ b/main.hs
@@ -54,13 +54,13 @@ data Database = Database [Caller]
$(deriveSafeCopy 0 'base ''Database)
--- | Append the caller the database.
+-- | Cons the caller to database.
addCaller :: Caller -> Update Database ()
addCaller caller = do
Database callers <- get
put $ Database (caller:callers)
--- | Grab a subset of the callers
+-- | Grab a subset of the caller list.
viewCallers :: Int -> Query Database [Caller]
viewCallers limit = do
Database callers <- ask