← Back

Modules

CategoricalCrypto

  • CategoricalCrypto
  • Channel.Category
  • Channel.Core
  • Channel.Selection
  • Examples.Basic
  • Examples.Commitment
  • Examples.Signatures
  • Machine.Constraints
  • Machine.Core
  • SFunM

Categories

  • Discrete
  • FreeMonoidal
  • FreeStrictMonoidal
  • GradedKleisli
  • MonoidalCoherence
  • NaturalTransformationHelper
  • Properties

Class

  • Monad.Ext
1234567891011121314151617181920
------------------------------------------------------------------------
-- The Agda standard library
--
-- Core metric definitions
------------------------------------------------------------------------
 
{-# OPTIONS --cubical-compatible --safe #-}
 
module Function.Metric.Core where
 
open import Level using (Level)
private
variable
a i : Level
 
------------------------------------------------------------------------
-- Distance functions
 
DistanceFunction : Set a → Set i → Set _
DistanceFunction A I = A → A → I