| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Type(s) used (only) when calling out to Haskell via the FFI |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
{-# OPTIONS --cubical-compatible #-} |
| 8 |
|
| 9 |
module Foreign.Haskell where |
| 10 |
|
| 11 |
open import Level using (Level; _⊔_) |
| 12 |
|
| 13 |
------------------------------------------------------------------------ |
| 14 |
-- Pairs |
| 15 |
|
| 16 |
open import Foreign.Haskell.Pair public |
| 17 |
renaming |
| 18 |
( toForeign to toForeignPair |
| 19 |
; fromForeign to fromForeignPair |
| 20 |
) |
| 21 |
|
| 22 |
------------------------------------------------------------------------ |
| 23 |
-- Sums |
| 24 |
|
| 25 |
open import Foreign.Haskell.Either public |
| 26 |
renaming |
| 27 |
( toForeign to toForeignEither |
| 28 |
; fromForeign to fromForeignEither |
| 29 |
) |