Mercurial > hg > Papers > 2017 > atton-master
view paper/src/AgdaParameterizedModule.agda @ 144:060202b21724 default tip
Bookbinding
author | atton <atton@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 27 Feb 2017 20:29:43 +0900 |
parents | ebe838b83ada |
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