diff options
author | Akshay <[email protected]> | 2020-10-17 04:57:40 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-10-17 04:57:40 +0100 |
commit | 032e26cf9ed236889637e02e56aef7c22721cd23 (patch) | |
tree | 6a9ae58d7c5a661249d400eb281c7a2c44263eaf /src/Parser.hs | |
parent | 297b498acd205f0fcd68f3cdf7536b480cfac5e3 (diff) |
prefer applicative over monadic style
Diffstat (limited to 'src/Parser.hs')
-rw-r--r-- | src/Parser.hs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Parser.hs b/src/Parser.hs index a7f5571..6ec4ba0 100644 --- a/src/Parser.hs +++ b/src/Parser.hs | |||
@@ -8,7 +8,6 @@ module Parser ( parseLispValue | |||
8 | ) where | 8 | ) where |
9 | 9 | ||
10 | import Control.Applicative ((<$>)) | 10 | import Control.Applicative ((<$>)) |
11 | import Control.Monad (liftM) | ||
12 | import Text.ParserCombinators.Parsec | 11 | import Text.ParserCombinators.Parsec |
13 | 12 | ||
14 | -- TODO: use LispNumber (src/Operators.hs) here instead of IntLiteral and FloatLiteral | 13 | -- TODO: use LispNumber (src/Operators.hs) here instead of IntLiteral and FloatLiteral |