From 062b6e457f7e90389a18aef234c3b49373b7eb76 Mon Sep 17 00:00:00 2001 From: nzeh Date: Tue, 24 Mar 2009 01:19:30 +0100 Subject: Drop Parsers.endOfLine and Parsers.tryString These were wrappers around eof and (try . string) and are no longer used. darcs-hash:20090324001930-c6b6b-c476cd602fd818bc4a9b5ee3d9d988eba8a3f7bc.gz --- Parsers.hs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Parsers.hs b/Parsers.hs index e09c4bf..8792a69 100644 --- a/Parsers.hs +++ b/Parsers.hs @@ -97,11 +97,5 @@ combine c m ((ts,s,ss):xs) = (com, s, ss) : combine c m xs where com = Map.findWithDefault dflt ts m dflt = Run $ Com ts [] [] 10 -endOfLine :: a -> Parser a -endOfLine r = eof >> return r - -tryString :: String -> Parser String -tryString = try . string - allTillSep :: Config -> Parser String allTillSep = many . noneOf . sepChar -- cgit v1.2.3