gdritter repos s-cargot / cdd8813
A bit more cleaning up imports Getty Ritter 10 years ago
3 changed file(s) with 30 addition(s) and 11 deletion(s). Collapse all Expand all
1212
1313 import Control.Applicative ((<$>))
1414 import Data.Char (isAlphaNum)
15 import Text.Parsec -- (Parser, takeWhile1)
15 import Text.Parsec (many1, satisfy)
1616 import Data.Text (Text, pack)
1717
18 import Data.SCargot.Repr.Basic
19 import Data.SCargot.General
18 import Data.SCargot.Repr.Basic (SExpr)
19 import Data.SCargot.General ( SExprSpec
20 , mkSpec
21 , asRich
22 , asWellFormed
23 , addReader
24 , setComment
25 , withQuote
26 )
2027 import Data.SCargot.Comments (withLispComments)
2128
2229 isAtomChar :: Char -> Bool
2626
2727 import Control.Monad (void)
2828 import Data.Text (Text)
29 import Text.Parsec
29 import Text.Parsec ( (<|>)
30 , anyChar
31 , manyTill
32 , noneOf
33 , skipMany
34 , string
35 )
3036
31 import Prelude hiding (takeWhile)
32
33 import Data.SCargot.General
37 import Data.SCargot.General ( Comment
38 , SExprSpec
39 , setComment
40 )
3441
3542 -- | Given a string, produce a comment parser that matches that
3643 -- initial string and ignores everything until the end of the
3131 import Data.String (IsString)
3232 import Data.Text (Text, pack, unpack)
3333 import qualified Data.Text as T
34 import Text.Parsec
34 import Text.Parsec ( (<|>)
35 , char
36 , eof
37 , lookAhead
38 , many1
39 , runParser
40 , skipMany
41 )
3542 import Text.Parsec.Char (anyChar, space)
36 import Text.Parsec.Text
37
38 import Prelude hiding (takeWhile)
43 import Text.Parsec.Text (Parser)
3944
4045 import Data.SCargot.Repr
4146