Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
curry
curry-frontend
Commits
7ce864ed
Commit
7ce864ed
authored
May 17, 2011
by
Björn Peemöller
Browse files
Pragma removed, import fixed
parent
9bdb80c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Curry/Syntax/Lexer.lhs
View file @
7ce864ed
...
...
@@ -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
(
inter
spers
e
)
>
import
Data.List
(
inter
calat
e
)
>
import
qualified
Data.Map
as
Map
(
Map
,
union
,
lookup
,
fromList
)
>
import
Curry.Base.LexComb
...
...
src/Curry/Syntax/Type.lhs
View file @
7ce864ed
...
...
@@ -43,11 +43,9 @@ an unlimited range of integer constants in Curry programs.
\paragraph{Modules}
\begin{verbatim}
>
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment