Browse Source

Renamed Data.SExpression to non-conflicting (but terribly punny) name Data.SCargot

Getty Ritter 9 years ago
parent
commit
adeaaa461f

+ 2 - 2
Data/SExpression/CommonLisp.hs

@@ -4,7 +4,7 @@
 --   macro definitions, this module should successfully parse and
 --   desugar even quoted lists and vector literals.
 
-module Data.SExpression.CommonLisp where
+module Data.SCargot.CommonLisp where
 
 data Atom
   = Symbol Text
@@ -13,4 +13,4 @@ data Atom
   | True
     deriving (Eq, Show, Read)
 
-parseSexpr :: Text -> Either SExprError 
+parseSexpr :: Text -> Either SExprError

+ 3 - 1
Data/SExpression/General.hs

@@ -1,10 +1,12 @@
-module Data.SExpression.General where
+module Data.SCargot.General where
 
 import           Control.Applicative
 import           Data.Attoparsec.Text
 import           Data.Map.String (Map)
 import qualified Data.Map.String as M
 
+import           Data.SCargot.Repr
+
 type ReaderMacroMap atom = Map Char (Reader atom)
 type Reader atom = (Parser (SExpr atom) -> Parser (SExpr atom))
 type Serializer atom = atom -> Text

+ 1 - 1
Data/SExpression/Repr.hs

@@ -1,4 +1,4 @@
-module Data.SExpression.Repr
+module Data.SCargot.Repr
        ( SExpr(..)
        , RichSExpr(..)
        , toRich

+ 2 - 2
Data/SExpression/Repr/Rich.hs

@@ -1,12 +1,12 @@
 {-# LANGUAGE PatternSynonyms #-}
 
-module Data.SExpression.Repr.Rich
+module Data.SCargot.Repr.Rich
        ( pattern List
        , pattern DotList
        , pattern Atom
        ) where
 
-import Data.SExpression.Repr as R
+import Data.SCargot.Repr as R
 
 pattern List xs = R.RSList xs
 pattern DotList xs = R.RSDotted xs

+ 2 - 2
Data/SExpression/Repr/WellFormed.hs

@@ -1,11 +1,11 @@
 {-# LANGUAGE PatternSynonyms #-}
 
-module Data.SExpression.Repr.Rich
+module Data.SCargot.Repr.Rich
        ( pattern List
        , pattern Atom
        ) where
 
-import Data.SExpression.Repr as R
+import Data.SCargot.Repr as R
 
 pattern List xs = R.WFSList xs
 pattern Atom a  = R.WFSAtom a

+ 1 - 1
Data/SExpression/Rivest.hs

@@ -1,4 +1,4 @@
-module Data.SExpression.Rivest where
+module Data.SCargot.Rivest where
 
 import           Data.ByteString (ByteString)
 import qualified Data.ByteString as BS

+ 3 - 3
Data/SExpression/Tutorial.hs

@@ -1,12 +1,12 @@
-{-| The @blah@ library attempts to be as general as possible, and to
-    support a wide range of use-cases for s-expressions. It is built
+{-| The "s-cargot" library attempts to be as general as possible, and
+    to support a wide range of use-cases for s-expressions. It is built
     around a core of primitives which are then exposed in various
     ways, and can be easily and flexibly extended. This tutorial
     describes particular use-cases, and then shows how to adapt this
     library to that use-case.
 -}
 
-module Data.SExpression.Tutorial
+module Data.SCargot.Tutorial
   ( -- * Basic Usage and Organization
     -- $usage
     -- * Analyzing Scheme code