diff options
author | Ben Sima <ben@bsima.me> | 2018-01-22 22:42:28 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-01-22 22:42:28 -0800 |
commit | ba9c21a8bed56cff3b9f875463d98e53871d51d9 (patch) | |
tree | 49aca9b5ac0036826471a9a1ef04d3f452e122f8 | |
parent | bb45fa6322fc7d2933016ae5e8a8b0d4ed8faad0 (diff) |
Typos
-rwxr-xr-x | main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |