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

Fix typos

parent c2fa98e9
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
### 3.1.9 ### 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). the homepage links).
- Add an `Eq` instance for `ParseError` - Add an `Eq` instance for `ParseError`
- Fixed a regression from 3.1.6: `runP` is again exported from module - Fixed a regression from 3.1.6: `runP` is again exported from module
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
-- Stability : provisional -- Stability : provisional
-- Portability : portable -- Portability : portable
-- --
-- Convinience definitions for working with 'C.ByteString's. -- Convenience definitions for working with 'C.ByteString's.
-- --
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
-- Stability : provisional -- Stability : provisional
-- Portability : portable -- 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 ...@@ -98,7 +98,7 @@ emptyDef = LanguageDef
-- Haskell -- Haskell
----------------------------------------------------------- -----------------------------------------------------------
-- | A lexer for the haskell language. -- | A lexer for the Haskell language.
haskell :: TokenParser st haskell :: TokenParser st
haskell = makeTokenParser haskellDef haskell = makeTokenParser haskellDef
...@@ -135,7 +135,7 @@ haskell98Def = haskellStyle ...@@ -135,7 +135,7 @@ haskell98Def = haskellStyle
-- Mondrian -- Mondrian
----------------------------------------------------------- -----------------------------------------------------------
-- | A lexer for the mondrian language. -- | A lexer for the Mondrian language.
mondrian :: TokenParser st mondrian :: TokenParser st
mondrian = makeTokenParser mondrianDef mondrian = makeTokenParser mondrianDef
......
...@@ -322,7 +322,7 @@ parserBind m k ...@@ -322,7 +322,7 @@ parserBind m k
| errorIsUnknown err = unParser (k x) s cok cerr cok cerr | errorIsUnknown err = unParser (k x) s cok cerr cok cerr
| otherwise = | otherwise =
let let
-- if (k x) consumes, those go straigt up -- if (k x) consumes, those go straight up
pcok = cok pcok = cok
pcerr = cerr pcerr = cerr
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
-- Stability : provisional -- Stability : provisional
-- Portability : portable -- 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 ...@@ -330,7 +330,7 @@ data GenTokenParser s u m
-- defined using the definitions in the @language@ record. -- defined using the definitions in the @language@ record.
-- --
-- The use of this function is quite stylized - one imports the -- 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'. -- are needed from the resulting 'GenTokenParser'.
-- --
-- > module Main where -- > module Main where
......
...@@ -24,7 +24,7 @@ main = ...@@ -24,7 +24,7 @@ main =
result :: [String] result :: [String]
result = parseErrors parseTopLevel "4 >> 5" result = parseErrors parseTopLevel "4 >> 5"
-- Syntax analaysis -- Syntax analysis
parseTopLevel :: Parser Expr parseTopLevel :: Parser Expr
parseTopLevel = parseExpr <* eof 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