我想编写一个函数,该函数将有理数和$curx=$cdir.$md5urx;
个有理数作为输入,并返回Stream
如果该数字存在于True
,则返回Stream
}。
False
这是在图书馆中定义的。
我想写一个以下签名的功能。
-- x ∈ xs means that x is a member of xs.
infix 4 _∈_
data _∈_ {A} : A → Stream A → Set where
here : ∀ {x xs} → x ∈ x ∷ xs
there : ∀ {x y xs} (x∈xs : x ∈ ♭ xs) → x ∈ y ∷ xs
问题在于我无法理解如何继续_ElementOf_ : ∀ {A} → A → Stream A → Bool
和here
。