Debian Codegraph @

src/Function/Reasoning.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- A module used for creating function pipelines, see
5 -- README.Function.Reasoning for examples
6 ------------------------------------------------------------------------
7
8 {-# OPTIONS --cubical-compatible --safe #-}
9
10 module Function.Reasoning where
11
12 open import Function.Base using (_∋_)
13
14 -- Need to give _∋_ a new name as syntax cannot contain underscores
15 infixl 0 ∋-syntax
16 ∋-syntax = _∋_
17
18 -- Create ∶ syntax
19 syntax ∋-syntax A a = a ∶ A
20
21 -- Export pipeline functions
22 open import Function.Base public using (_|>_; _|>′_)