Mercurial > hg > Papers > 2021 > soto-prosym
view Paper/src/AgdaParameterizedModule.agda.replaced @ 0:c59202657321
init
author | soto <soto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 02 Nov 2021 06:55:58 +0900 |
parents | |
children | 339fb67b4375 |
line wrap: on
line source
module Sort (A : Set) (_<_ : A @$\rightarrow$@ A @$\rightarrow$@ Bool) where sort : List A @$\rightarrow$@ List A sort = -- 実装は省略 ... -- Parameterized Module により N.sort や B.sort が可能 open import Sort Nat Nat._<_ as N open import Sort Bool Bool._<_ as B