Category:CafeOBJ: Difference between revisions

Content added Content deleted
Line 18: Line 18:


===Examples===
===Examples===
<lang>
<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
</lang>
</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