1
0
This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
opal-examples/Blatt03/MergeSort.sign2
2013-10-19 01:17:37 +02:00

9 lines
198 B
Plaintext

SIGNATURE MergeSort
IMPORT Nat COMPLETELY
IMPORT Seq[nat] COMPLETELY
-- Sortiert die übergebene Sequenz mit Hilfe des Sortier-
-- verfahrens MergeSort
FUN mergeSort : seq[nat] -> seq[nat]