Mercurial > hg > Papers > 2017 > atton-master
changeset 54:ef9730f3db8d
Writing agda description ......
author | atton <atton@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 31 Jan 2017 17:20:50 +0900 |
parents | 9902994fbd1a |
children | 70bea06ebdf3 |
files | paper/src/AgdaImport.agda paper/src/AgdaParameterizedModule.agda |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/paper/src/AgdaImport.agda Tue Jan 31 17:20:50 2017 +0900 @@ -0,0 +1,6 @@ +import Data.Nat -- import module +import Data.Bool as B -- renamed module +import Data.List using (head) -- import Data.head function +import Level renaming (suc to S) -- import module with rename suc to S +import Data.String hiding (_++_) -- import module without _++_ +open import Data.List -- import and expand Data.List
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/paper/src/AgdaParameterizedModule.agda Tue Jan 31 17:20:50 2017 +0900 @@ -0,0 +1,6 @@ +module Sort (A : Set) (_<_ : A -> A -> Bool) where + sort : List A -> List A + sort = ... + +open import Sort Nat Nat._<_ as N +open import Sort Bool Bool._<_ as B