Commit 7ce864ed authored by Björn Peemöller 's avatar Björn Peemöller
Browse files

Pragma removed, import fixed

parent 9bdb80c4
......@@ -21,7 +21,7 @@ In this section a lexer for Curry is implemented.
> import Prelude hiding (fail)
> import Data.Char (chr, ord, isAlpha, isAlphaNum, isDigit, isSpace, isUpper)
> import Data.List (intersperse)
> import Data.List (intercalate)
> import qualified Data.Map as Map (Map, union, lookup, fromList)
> import Curry.Base.LexComb
......@@ -43,11 +43,9 @@ an unlimited range of integer constants in Curry programs.
> data Module = Module [Pragma] ModuleIdent (Maybe ExportSpec) [Decl]
> data Module = Module ModuleIdent (Maybe ExportSpec) [Decl]
> deriving (Eq,Show,Read,Typeable,Data)
> data Pragma = Pragma String String
> data ExportSpec = Exporting Position [Export]
> deriving (Eq,Show,Read,Typeable,Data)
> data Export
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