Debian Codegraph @

src/Function/Core.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Core definitions for Functions
5 ------------------------------------------------------------------------
6
7 -- The contents of this file should always be accessed from `Function`.
8
9 {-# OPTIONS --cubical-compatible --safe #-}
10
11 module Function.Core where
12
13 open import Level using (_⊔_)
14
15 ------------------------------------------------------------------------
16 -- Types
17
18 Fun₁ : ∀ {a} → Set a → Set a
19 Fun₁ A = A → A
20
21 Fun₂ : ∀ {a} → Set a → Set a
22 Fun₂ A = A → A → A
23
24 ------------------------------------------------------------------------
25 -- Morphism
26
27 Morphism : ∀ {a} → ∀ {b} → Set a → Set b → Set (a ⊔ b)
28 Morphism A B = A → B