File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,11 @@ import README.Debug.Trace
237
237
238
238
import README.Nary
239
239
240
+ -- Explaining the inspect idiom: use case, equivalent handwritten
241
+ -- auxiliary definitions, and implementation details.
242
+
243
+ import README.Inspect
244
+
240
245
-- Explaining how to use the automatic solvers
241
246
242
247
import README.Tactic.MonoidSolver
Original file line number Diff line number Diff line change 1
1
------------------------------------------------------------------------
2
2
-- The Agda standard library
3
3
--
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.
5
6
------------------------------------------------------------------------
6
7
7
8
{-# OPTIONS --cubical-compatible --safe #-}
8
9
9
10
module README.Inspect where
10
11
11
- {-# WARNING_ON_IMPORT
12
- "README.Inspect was deprecated in v2.0."
13
- #-}
14
-
15
12
open import Data.Nat.Base
16
13
open import Data.Nat.Properties
17
14
open import Data.Product.Base using (_×_; _,_)
18
15
open import Relation.Binary.PropositionalEquality.Core using (_≡_; refl)
19
- open import Relation.Binary.PropositionalEquality using (inspect)
16
+ open import Relation.Binary.PropositionalEquality using (inspect; [_] )
20
17
21
18
------------------------------------------------------------------------
22
19
-- Using inspect
You can’t perform that action at this time.
0 commit comments