comparison 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
comparison
equal deleted inserted replaced
1:ee44dbda6bd3 2:c7acb9211784
1 module Sort (A : Set) (_<_ : A -> A -> Bool) where
2 sort : List A -> List A
3 sort = -- 実装は省略 ...
4
5 -- Parameterized Module により N.sort や B.sort が可能
6 open import Sort Nat Nat._<_ as N
7 open import Sort Bool Bool._<_ as B