Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
curry
curry-frontend
Commits
03e03950
Commit
03e03950
authored
Nov 27, 2017
by
Finn Teegen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing pattern in type matching function
parent
f63812da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/Base/Typing.hs
src/Base/Typing.hs
+1
-0
No files found.
src/Base/Typing.hs
View file @
03e03950
...
...
@@ -139,6 +139,7 @@ matchType' (TypeApply ty11 ty12) (TypeArrow ty21 ty22) =
matchType'
(
TypeArrow
ty11
ty12
)
(
TypeApply
ty21
ty22
)
=
fmap
(
.
matchType
ty12
ty22
)
(
matchType'
(
TypeApply
(
TypeConstructor
qArrowId
)
ty11
)
ty21
)
matchType'
(
TypeForall
_
ty1
)
(
TypeForall
_
ty2
)
=
matchType'
ty1
ty2
matchType'
_
_
=
Nothing
-- The functions 'bindDecls', 'bindDecl', 'bindPatterns' and 'bindPattern'
...
...
Write
Preview
Markdown
is supported
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