Skip to content

Commit 426e30b

Browse files
jamesmckinnaMatthewDaggitt
authored andcommitted
[fixes #2127] Fixes #1930 import bug (#2128)
1 parent 0575f30 commit 426e30b

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

README.agda

+5
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,11 @@ import README.Debug.Trace
237237

238238
import README.Nary
239239

240+
-- Explaining the inspect idiom: use case, equivalent handwritten
241+
-- auxiliary definitions, and implementation details.
242+
243+
import README.Inspect
244+
240245
-- Explaining how to use the automatic solvers
241246

242247
import README.Tactic.MonoidSolver

README/Inspect.agda

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
------------------------------------------------------------------------
22
-- The Agda standard library
33
--
4-
-- This module is DEPRECATED.
4+
-- Explaining how to use the inspect idiom and elaborating on the way
5+
-- it is implemented in the standard library.
56
------------------------------------------------------------------------
67

78
{-# OPTIONS --cubical-compatible --safe #-}
89

910
module README.Inspect where
1011

11-
{-# WARNING_ON_IMPORT
12-
"README.Inspect was deprecated in v2.0."
13-
#-}
14-
1512
open import Data.Nat.Base
1613
open import Data.Nat.Properties
1714
open import Data.Product.Base using (_×_; _,_)
1815
open import Relation.Binary.PropositionalEquality.Core using (_≡_; refl)
19-
open import Relation.Binary.PropositionalEquality using (inspect)
16+
open import Relation.Binary.PropositionalEquality using (inspect; [_])
2017

2118
------------------------------------------------------------------------
2219
-- Using inspect

0 commit comments

Comments
 (0)