Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
888b964b
Commit
888b964b
authored
Apr 18, 2007
by
John van Groningen
Browse files
add alternative for NewTypePatterns in function checkMacro
parent
7d7b26bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/check.icl
View file @
888b964b
...
...
@@ -1014,6 +1014,9 @@ instance checkMacro CasePatterns where
#
(
patterns
,
ea
)
=
checkMacro
topLevel
patterns
ea
=
(
BasicPatterns
type
patterns
,
ea
)
checkMacro
topLevel
(
NewTypePatterns
type
patterns
)
ea
#
(
patterns
,
ea
)
=
checkMacro
topLevel
patterns
ea
=
(
NewTypePatterns
type
patterns
,
ea
)
checkMacro
topLevel
(
DynamicPatterns
patterns
)
ea
#
(
patterns
,
ea
)
=
checkMacro
topLevel
patterns
ea
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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