Mercurial > hg > Papers > 2020 > ryokka-master
view paper/src/AgdaElem.agda.replaced @ 2:c7acb9211784
add code, figure. and paper fix content
author | ryokka |
---|---|
date | Mon, 27 Jan 2020 20:41:36 +0900 |
parents | |
children | b5fffa8ae875 |
line wrap: on
line source
elem : {A : Set} {{eqA : Eq A}} → A → List A → Bool elem {{eqA}} x (y @$\text{::}$@ xs) = (Eq._==_ eqA x y) || (elem {{eqA}} x xs) elem x [] = false