簡體   English   中英

_≡⟨_⟩_ Agda 標准庫在哪里?

[英]Where is _≡⟨_⟩_ Agda standard lib?

我在 plfa 中閱讀了這樣一段代碼。

import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; cong; sym)
open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; _≡⟨_⟩_; _∎)

_≡⟨_⟩_不在 PropositionalEquality 中

The module Eq.≡-Reasoning doesn't export the following: _≡⟨_⟩_
when scope checking the declaration
  open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; _≡⟨_⟩_; _∎)

我只在Function.RelatedRelation.Binary.HeterogeneousEquality中找到它。 怎么了?

_≡⟨_⟩_step-≡的語法符號,您可以在Relation.Binary.PropositionalEquality.Core中看到。

所以如果你想控制你正在導入的內容,你需要參考step-≡代替。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM