view final_main/src/AgdaElemApply.agda @ 5:eafc166804f3

fix Capter4.2,5,1
author ryokka
date Mon, 19 Feb 2018 18:44:59 +0900
parents 93d26c4576d3
children
line wrap: on
line source

listHas4 : Bool
listHas4 = elem 4 (3 ∷ 2 ∷ 5 ∷ 4 ∷ []) -- true