Debian Codegraph @

src/Data/List/NonEmpty.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Non-empty lists
5 ------------------------------------------------------------------------
6
7 {-# OPTIONS --cubical-compatible --safe #-}
8
9 module Data.List.NonEmpty where
10
11 open import Level using (Level)
12 open import Data.List.Base as List using (List)
13
14 ------------------------------------------------------------------------
15 -- Re-export basic type and operations
16
17 open import Data.List.NonEmpty.Base public
18
19
20 ------------------------------------------------------------------------
21 -- DEPRECATED
22 ------------------------------------------------------------------------
23 -- Please use the new names as continuing support for the old names is
24 -- not guaranteed.
25
26 private
27 variable
28 a : Level
29 A : Set a
30
31 -- Version 1.4
32
33 infixl 5 _∷ʳ'_
34
35 _∷ʳ'_ : (xs : List A) (x : A) → SnocView (xs ∷ʳ x)
36 _∷ʳ'_ = SnocView._∷ʳ′_
37 {-# WARNING_ON_USAGE _∷ʳ'_
38 "Warning: _∷ʳ'_ (ending in an apostrophe) was deprecated in v1.4.
39 Please use _∷ʳ′_ (ending in a prime) instead."
40 #-}