{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE EmptyCase #-}
{-# LANGUAGE EmptyDataDecls #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}

{-# OPTIONS_GHC -Wno-overlapping-patterns #-}

module MAlonzo.Code.Data.Char.Base where

import MAlonzo.RTE (coe, erased, AgdaAny, addInt, subInt, mulInt,
                    quotInt, remInt, geqInt, ltInt, eqInt, add64, sub64, mul64, quot64,
                    rem64, lt64, eq64, word64FromNat, word64ToNat)
import qualified MAlonzo.RTE
import qualified Data.Text
import qualified MAlonzo.Code.Agda.Builtin.Char

-- Data.Char.Base._≈_
d__'8776'__6 ::
  MAlonzo.Code.Agda.Builtin.Char.T_Char_6 ->
  MAlonzo.Code.Agda.Builtin.Char.T_Char_6 -> ()
d__'8776'__6 :: T_Char_6 -> T_Char_6 -> ()
d__'8776'__6 = T_Char_6 -> T_Char_6 -> ()
forall a. a
erased
-- Data.Char.Base._≉_
d__'8777'__8 ::
  MAlonzo.Code.Agda.Builtin.Char.T_Char_6 ->
  MAlonzo.Code.Agda.Builtin.Char.T_Char_6 -> ()
d__'8777'__8 :: T_Char_6 -> T_Char_6 -> ()
d__'8777'__8 = T_Char_6 -> T_Char_6 -> ()
forall a. a
erased
-- Data.Char.Base._≈ᵇ_
d__'8776''7495'__14 ::
  MAlonzo.Code.Agda.Builtin.Char.T_Char_6 ->
  MAlonzo.Code.Agda.Builtin.Char.T_Char_6 -> Bool
d__'8776''7495'__14 :: T_Char_6 -> T_Char_6 -> Bool
d__'8776''7495'__14 T_Char_6
v0 T_Char_6
v1
  = (Integer -> Integer -> Bool) -> Any -> Any -> Bool
forall a b. a -> b
coe
      Integer -> Integer -> Bool
eqInt ((T_Char_6 -> Integer) -> T_Char_6 -> Any
forall a b. a -> b
coe T_Char_6 -> Integer
MAlonzo.Code.Agda.Builtin.Char.d_primCharToNat_28 T_Char_6
v0)
      ((T_Char_6 -> Integer) -> T_Char_6 -> Any
forall a b. a -> b
coe T_Char_6 -> Integer
MAlonzo.Code.Agda.Builtin.Char.d_primCharToNat_28 T_Char_6
v1)
-- Data.Char.Base._<_
d__'60'__20 ::
  MAlonzo.Code.Agda.Builtin.Char.T_Char_6 ->
  MAlonzo.Code.Agda.Builtin.Char.T_Char_6 -> ()
d__'60'__20 :: T_Char_6 -> T_Char_6 -> ()
d__'60'__20 = T_Char_6 -> T_Char_6 -> ()
forall a. a
erased
-- Data.Char.Base._≤_
d__'8804'__22 ::
  MAlonzo.Code.Agda.Builtin.Char.T_Char_6 ->
  MAlonzo.Code.Agda.Builtin.Char.T_Char_6 -> ()
d__'8804'__22 :: T_Char_6 -> T_Char_6 -> ()
d__'8804'__22 = T_Char_6 -> T_Char_6 -> ()
forall a. a
erased
-- Data.Char.Base.toNat
d_toNat_24 :: MAlonzo.Code.Agda.Builtin.Char.T_Char_6 -> Integer
d_toNat_24 :: T_Char_6 -> Integer
d_toNat_24 = (T_Char_6 -> Integer) -> T_Char_6 -> Integer
forall a b. a -> b
coe T_Char_6 -> Integer
MAlonzo.Code.Agda.Builtin.Char.d_primCharToNat_28
-- Data.Char.Base.fromNat
d_fromNat_26 :: Integer -> MAlonzo.Code.Agda.Builtin.Char.T_Char_6
d_fromNat_26 :: Integer -> T_Char_6
d_fromNat_26
  = (Integer -> T_Char_6) -> Integer -> T_Char_6
forall a b. a -> b
coe Integer -> T_Char_6
MAlonzo.Code.Agda.Builtin.Char.d_primNatToChar_30