Commits

Bryan O'Sullivan  committed 0a0c085

Bring Arsec up to date

  • Participants
  • Parent commits 2d6af9d

Comments (0)

Files changed (2)

 cabal-dev
 cabal.sandbox.config
 \.cabal-sandbox
+scripts/CaseFolding.txt
+scripts/SpecialCasing.txt

File scripts/Arsec.hs

 import Text.ParserCombinators.Parsec.Error
 import Text.ParserCombinators.Parsec.Prim hiding ((<|>), many)
 
-instance Applicative (GenParser s a) where
-    pure = return
-    (<*>) = ap
-
-instance Alternative (GenParser s a) where
-    empty = mzero
-    (<|>) = mplus
-
 unichar :: Parser Char
 unichar = chr . fst . head . readHex <$> many1 hexDigit