Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Fredrik Wieczerkowski
curry-libs
Commits
4f063fa5
Commit
4f063fa5
authored
Nov 01, 2019
by
Kai-Oliver Prott
Browse files
Add data-context to (=:=), etc.
parent
27c296c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Prelude.curry
View file @
4f063fa5
...
...
@@ -1980,18 +1980,18 @@ doSolve b | b = return ()
--- `(e1 =:= e2)` is satisfiable if both sides `e1` and `e2` can be
--- reduced to a unifiable data term (i.e., a term without defined
--- function symbols).
(=:=) :: a -> a -> Bool
(=:=) ::
Data a =>
a -> a -> Bool
(=:=) external
--- Non-strict equational constraint. Used to implement functional patterns.
(=:<=) :: a -> a -> Bool
(=:<=) ::
Data a =>
a -> a -> Bool
(=:<=) external
#ifdef __PAKCS__
--- Non-strict equational constraint for linear functional patterns.
--- Thus, it must be ensured that the first argument is always (after evalutation
--- by narrowing) a linear pattern. Experimental.
(=:<<=) :: a -> a -> Bool
(=:<<=) ::
Data a =>
a -> a -> Bool
(=:<<=) external
--- internal function to implement =:<=
...
...
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