Mercurial > hg > Members > atton > delta_monad
view agda/basic.agda @ 100:d8cd880f1d78
Redefine some functions DeltaM in agda
author | Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 23 Jan 2015 17:44:53 +0900 |
parents | 55d11ce7e223 |
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