Content deleted Content added
→Foundations of Functional Logic Programming: fix Mono templates |
→Basic Concepts: fix more Mono templates |
||
Line 88:
last xs | ys++[e] =:= xs = e where ys,e free
</source>
Here, the symbol “{{Mono|1==:=}}” is used for equational constraints in order to provide a syntactic distinction from defining equations. Similarly, extra variables (i.e., variables not occurring in the left-hand side of the defining equation) are explicitly declared by “{{Mono|where...free}}” in order to provide some opportunities to detect bugs caused by typos. A conditional equation of the form l {{Mono|
===Narrowing===
|