← Back

Modules

Leios

  • Abstract
  • Base
  • Blocks
  • Config
  • Defaults
  • FFD
  • Foreign.BaseTypes
  • Foreign.HsTypes
  • Foreign.Types
  • Foreign.Util
  • KeyRegistration
  • Network
  • Prelude
  • Protocol
  • Short
  • Short.Decidable
  • Short.Trace.Verifier
  • Short.Trace.Verifier.Test
  • Simplified
  • Simplified.Deterministic
  • SpecStructure
  • Traces
  • Voting
  • VRF
1234567891011121314151617181920212223242526272829
------------------------------------------------------------------------
-- The Agda standard library
--
-- Type(s) used (only) when calling out to Haskell via the FFI
------------------------------------------------------------------------
 
{-# OPTIONS --cubical-compatible #-}
 
module Foreign.Haskell where
 
open import Level
 
------------------------------------------------------------------------
-- Pairs
 
open import Foreign.Haskell.Pair public
renaming
( toForeign to toForeignPair
; fromForeign to fromForeignPair
)
 
------------------------------------------------------------------------
-- Sums
 
open import Foreign.Haskell.Either public
renaming
( toForeign to toForeignEither
; fromForeign to fromForeignEither
)