Agda-2.4.0: A dependently typed functional programming language and proof assistant

Safe HaskellNone

Agda.TypeChecking.SizedTypes.Utils

Synopsis

Documentation

trace :: String -> a -> aSource

($>) :: Functor f => f b -> a -> f aSource

class Eq a => Top a whereSource

Methods

top :: aSource

isTop :: a -> BoolSource

Instances

Top Cmp 
Top Label 
Top Weight 
(Ord r, Ord f, Top a) => Top (Edge' r f a) 

class Plus a b c whereSource

Methods

plus :: a -> b -> cSource

class (MeetSemiLattice a, Top a) => Dioid a whereSource

Semiring with idempotent + == dioid

Methods

composeSource

Arguments

:: a 
-> a 
-> a

E.g. +

unitComposeSource

Arguments

:: a

neutral element of compose, e.g. zero

Instances

Dioid Cmp 
Dioid Label 
Dioid Weight 
(Show r, Show f, Show a, Ord r, Ord f, Dioid a) => Dioid (Edge' r f a)