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-libs
Commits
24848f37
Commit
24848f37
authored
Jan 18, 2021
by
Michael Hanus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export `constrEq` since it is required by the strict equality optimizer
parent
946157c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/Prelude.curry
src/Prelude.curry
+4
-1
No files found.
src/Prelude.curry
View file @
24848f37
...
...
@@ -56,7 +56,7 @@ module Prelude
, IOError (..), userError, ioError, catch
-- * Constraint Programming
, Success, success, solve, doSolve, (=:=), (=:<=)
, Success, success, solve, doSolve, (=:=), (=:<=)
, constrEq
#ifdef __PAKCS__
, (=:<<=)
#endif
...
...
@@ -2036,6 +2036,9 @@ doSolve b | b = return ()
(=:=) :: Data a => a -> a -> Bool
x =:= y = constrEq x y
--- Internal operation to implement equational constraints.
--- It is used by the strict equality optimizer but should not be used
--- in regular programs.
constrEq :: a -> a -> Bool
constrEq external
...
...
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