Denotational Semantics in Agda
Effect.Choice
Initializing search
    pdmosses/xds-agda
    • About
    • Meta-notation
    • ULC
    • PCF
    • Scheme
    pdmosses/xds-agda
    • About
    • Meta-notation
      • Untyped λ-calculus
      • ULC.All
      • ULC.Variables
      • ULC.Terms
      • ULC.Domains
      • ULC.Environments
      • ULC.Semantics
      • ULC.Checks
      • PCF (Plotkin 1977)
      • PCF.All
      • PCF.Domain Notation
      • PCF.Types
      • PCF.Constants
      • PCF.Variables
      • PCF.Terms
      • PCF.Environments
      • PCF.Checks
      • Core Scheme (R5RS)
      • Scheme.All
      • Scheme.Domain Notation
      • Scheme.Abstract Syntax
      • Scheme.Domain Equations
      • Scheme.Auxiliary Functions
      • Scheme.Semantic Functions

    Effect.Choice

    ------------------------------------------------------------------------
    -- The Agda standard library
    --
    -- Type constructors giving rise to a semigroup at every type
    -- e.g. (List, _++_)
    ------------------------------------------------------------------------
    
    {-# OPTIONS --cubical-compatible --safe #-}
    
    module Effect.Choice where
    
    open import Level
    
    private
      variable
        ℓ ℓ′ : Level
        A  : Set ℓ
    
    record RawChoice (F : Set ℓ → Set ℓ′) : Set (suc ℓ ⊔ ℓ′) where
      infixr 3 _<|>_ _∣_
      field
        _<|>_ : F A → F A → F A
    
      -- backwards compatibility: unicode variants
      _∣_ : F A → F A → F A
      _∣_ = _<|>_
    
    Made with Material for MkDocs