annotate paper/src/AgdaParameterizedModule.agda @ 2:c7acb9211784

add code, figure. and paper fix content
author ryokka
date Mon, 27 Jan 2020 20:41:36 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
1 module Sort (A : Set) (_<_ : A -> A -> Bool) where
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
2 sort : List A -> List A
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
3 sort = -- 実装は省略 ...
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
4
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
5 -- Parameterized Module により N.sort や B.sort が可能
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
6 open import Sort Nat Nat._<_ as N
c7acb9211784 add code, figure. and paper fix content
ryokka
parents:
diff changeset
7 open import Sort Bool Bool._<_ as B