Mercurial > hg > Papers > 2022 > soto-sigos
view Paper/src/AgdaParameterizedModule.agda @ 7:6a61c1eb0205
これを提出した
author | soto <soto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 May 2022 15:44:39 +0900 |
parents | 14a0e409d574 |
children |
line wrap: on
line source
module Sort (A : Set) (_<_ : A -> A -> Bool) where sort : List A -> List A sort = -- 実装は省略 ... -- Parameterized Module により N.sort や B.sort が可能 open import Sort Nat Nat._<_ as N open import Sort Bool Bool._<_ as B