git.iko.soy/typeable/attoparsec
on master help sign in
Simplify example
commitd4ef0de88bcdf3fde973a1d4318dc67be5359198 authorSimon Hengel <sol@typeful.net> dateSun 18 Nov 2012, 09:09 (14 years ago) parent0265427
1 file changed+1−1
examples/RFC2616.hs+1−1
examples/RFC2616.hs+1−1
@@ -36,7 +36,7 @@ data Request = Request {
3636 } deriving (Eq, Ord, Show)
3737
3838httpVersion :: Parser B.ByteString
39−httpVersion = string "HTTP/" *> P.takeWhile (\c -> isDigit_w8 c || c == 46)
39+httpVersion = "HTTP/" *> P.takeWhile (\c -> isDigit_w8 c || c == 46)
4040
4141requestLine :: Parser Request
4242requestLine = do