Content deleted Content added
moved Hope+ to summary |
→Language details: phrasing |
||
Line 44:
--- fact n <= n*fact(n-1);
Changing the order of clauses does not change the meaning of the program, because Hope's pattern matching always favors more specific patterns over less specific ones. Explicit [[Declaration (computer programming)|declarations]] of [[data type]]s in Hope are required; there is no
Hope provides two built-in [[data structure]]s: [[tuple]]s and [[List (abstract data type)|lists]].<ref name=byte/>
|