Category:CafeOBJ: Difference between revisions
Content added Content deleted
m (→Examples) |
|||
Line 18: | Line 18: | ||
===Examples=== |
===Examples=== |
||
< |
<code> |
||
-- Text file called say Hello.cafe ,contains the following |
-- Text file called say Hello.cafe ,contains the following |
||
mod! HELLO-WORLD { |
mod! HELLO-WORLD { |
||
Line 34: | Line 34: | ||
reduce hello . |
reduce hello . |
||
-- Gives ("Hello World"):String |
-- Gives ("Hello World"):String |
||
</ |
</code> |
||
See [https://rosettacode.org/wiki/Sorting_algorithms/Quicksort#CafeOBJ] for more traditional quicksort |
See [https://rosettacode.org/wiki/Sorting_algorithms/Quicksort#CafeOBJ] for more traditional quicksort |