Mercurial > hg > Members > atton > delta_monad
view agda/basic.agda @ 90:55d11ce7e223
Unify levels on data type. only use suc to proofs
author | Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 19 Jan 2015 12:11:38 +0900 |
parents | 743c05b98dad |
children |
line wrap: on
line source
open import Level module basic where id : {l : Level} {A : Set l} -> A -> A id x = x _∙_ : {l : Level} {A B C : Set l} -> (B -> C) -> (A -> B) -> (A -> C) f ∙ g = \x -> f (g x) postulate String : Set postulate show : {l : Level} {A : Set l} -> A -> String