Commit f1a7f5d0 authored by Eric Lindblad's avatar Eric Lindblad Committed by Oleg Grenrus
Browse files

Fix typos

parent c2fa98e9
......@@ -59,7 +59,7 @@
### 3.1.9
- Many and various updates to documentation and package description (inlcuding
- Many and various updates to documentation and package description (including
the homepage links).
- Add an `Eq` instance for `ParseError`
- Fixed a regression from 3.1.6: `runP` is again exported from module
......
......@@ -10,7 +10,7 @@
-- Stability : provisional
-- Portability : portable
--
-- Convinience definitions for working with 'C.ByteString's.
-- Convenience definitions for working with 'C.ByteString's.
--
-----------------------------------------------------------------------------
......
......@@ -10,7 +10,7 @@
-- Stability : provisional
-- Portability : portable
--
-- Convinience definitions for working with lazy 'C.ByteString's.
-- Convenience definitions for working with lazy 'C.ByteString's.
--
-----------------------------------------------------------------------------
......
......@@ -98,7 +98,7 @@ emptyDef = LanguageDef
-- Haskell
-----------------------------------------------------------
-- | A lexer for the haskell language.
-- | A lexer for the Haskell language.
haskell :: TokenParser st
haskell = makeTokenParser haskellDef
......@@ -135,7 +135,7 @@ haskell98Def = haskellStyle
-- Mondrian
-----------------------------------------------------------
-- | A lexer for the mondrian language.
-- | A lexer for the Mondrian language.
mondrian :: TokenParser st
mondrian = makeTokenParser mondrianDef
......
......@@ -322,7 +322,7 @@ parserBind m k
| errorIsUnknown err = unParser (k x) s cok cerr cok cerr
| otherwise =
let
-- if (k x) consumes, those go straigt up
-- if (k x) consumes, those go straight up
pcok = cok
pcerr = cerr
......
......@@ -10,7 +10,7 @@
-- Stability : provisional
-- Portability : portable
--
-- Convinience definitions for working with 'Text.Text'.
-- Convenience definitions for working with 'Text.Text'.
--
-----------------------------------------------------------------------------
......
......@@ -330,7 +330,7 @@ data GenTokenParser s u m
-- defined using the definitions in the @language@ record.
--
-- The use of this function is quite stylized - one imports the
-- appropriate language definition and selects the lexical parsers that
-- are needed from the resulting 'GenTokenParser'.
--
-- > module Main where
......
......@@ -24,7 +24,7 @@ main =
result :: [String]
result = parseErrors parseTopLevel "4 >> 5"
-- Syntax analaysis
-- Syntax analysis
parseTopLevel :: Parser Expr
parseTopLevel = parseExpr <* eof
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment