module Unison.Runtime.Foreign.Function.Type
  ( ForeignFunc (..),
    foreignFuncBuiltinName,
  )
where

import Data.Text (Text)

-- | Enum representing every foreign call.
data ForeignFunc
  = IO_UDP_clientSocket_impl_v1
  | IO_UDP_UDPSocket_recv_impl_v1
  | IO_UDP_UDPSocket_send_impl_v1
  | IO_UDP_UDPSocket_close_impl_v1
  | IO_UDP_ListenSocket_close_impl_v1
  | IO_UDP_UDPSocket_toText_impl_v1
  | IO_UDP_serverSocket_impl_v1
  | IO_UDP_ListenSocket_toText_impl_v1
  | IO_UDP_ListenSocket_recvFrom_impl_v1
  | IO_UDP_ClientSockAddr_toText_v1
  | IO_UDP_ListenSocket_sendTo_impl_v1
  | IO_openFile_impl_v3
  | IO_closeFile_impl_v3
  | IO_isFileEOF_impl_v3
  | IO_isFileOpen_impl_v3
  | IO_getEcho_impl_v1
  | IO_ready_impl_v1
  | IO_getChar_impl_v1
  | IO_isSeekable_impl_v3
  | IO_seekHandle_impl_v3
  | IO_handlePosition_impl_v3
  | IO_getBuffering_impl_v3
  | IO_setBuffering_impl_v3
  | IO_setEcho_impl_v1
  | IO_getLine_impl_v1
  | IO_getBytes_impl_v3
  | IO_getSomeBytes_impl_v1
  | IO_putBytes_impl_v3
  | IO_systemTime_impl_v3
  | IO_systemTimeMicroseconds_v1
  | Clock_internals_monotonic_v1
  | Clock_internals_realtime_v1
  | Clock_internals_processCPUTime_v1
  | Clock_internals_threadCPUTime_v1
  | Clock_internals_sec_v1
  | Clock_internals_nsec_v1
  | Clock_internals_systemTimeZone_v1
  | IO_getTempDirectory_impl_v3
  | IO_createTempDirectory_impl_v3
  | IO_getCurrentDirectory_impl_v3
  | IO_setCurrentDirectory_impl_v3
  | IO_fileExists_impl_v3
  | IO_getEnv_impl_v1
  | IO_getArgs_impl_v1
  | IO_isDirectory_impl_v3
  | IO_createDirectory_impl_v3
  | IO_removeDirectory_impl_v3
  | IO_renameDirectory_impl_v3
  | IO_directoryContents_impl_v3
  | IO_removeFile_impl_v3
  | IO_renameFile_impl_v3
  | IO_getFileTimestamp_impl_v3
  | IO_getFileSize_impl_v3
  | IO_serverSocket_impl_v3
  | Socket_toText
  | Handle_toText
  | ThreadId_toText
  | IO_socketPort_impl_v3
  | IO_listen_impl_v3
  | IO_clientSocket_impl_v3
  | IO_closeSocket_impl_v3
  | IO_socketAccept_impl_v3
  | IO_socketSend_impl_v3
  | IO_socketReceive_impl_v3
  | IO_kill_impl_v3
  | IO_delay_impl_v3
  | IO_stdHandle
  | IO_process_call
  | IO_process_start
  | IO_process_kill
  | IO_process_wait
  | IO_process_exitCode
  | MVar_new
  | MVar_newEmpty_v2
  | MVar_take_impl_v3
  | MVar_tryTake
  | MVar_put_impl_v3
  | MVar_tryPut_impl_v3
  | MVar_swap_impl_v3
  | MVar_isEmpty
  | MVar_read_impl_v3
  | MVar_tryRead_impl_v3
  | Char_toText
  | Text_repeat
  | Text_reverse
  | Text_toUppercase
  | Text_toLowercase
  | Text_toUtf8
  | Text_fromUtf8_impl_v3
  | Tls_ClientConfig_default
  | Tls_ServerConfig_default
  | Tls_ClientConfig_certificates_set
  | Tls_ServerConfig_certificates_set
  | TVar_new
  | TVar_read
  | TVar_write
  | TVar_newIO
  | TVar_readIO
  | TVar_swap
  | STM_retry
  | Promise_new
  | Promise_read
  | Promise_tryRead
  | Promise_write
  | Tls_newClient_impl_v3
  | Tls_newServer_impl_v3
  | Tls_handshake_impl_v3
  | Tls_send_impl_v3
  | Tls_decodeCert_impl_v3
  | Tls_encodeCert
  | Tls_decodePrivateKey
  | Tls_encodePrivateKey
  | Tls_receive_impl_v3
  | Tls_terminate_impl_v3
  | Code_validateLinks
  | Code_dependencies
  | Code_serialize
  | Code_deserialize
  | Code_display
  | Value_dependencies
  | Value_serialize
  | Value_deserialize
  | Crypto_HashAlgorithm_Sha3_512
  | Crypto_HashAlgorithm_Sha3_256
  | Crypto_HashAlgorithm_Sha2_512
  | Crypto_HashAlgorithm_Sha2_256
  | Crypto_HashAlgorithm_Sha1
  | Crypto_HashAlgorithm_Blake2b_512
  | Crypto_HashAlgorithm_Blake2b_256
  | Crypto_HashAlgorithm_Blake2s_256
  | Crypto_HashAlgorithm_Md5
  | Crypto_hashBytes
  | Crypto_hmacBytes
  | Crypto_hash
  | Crypto_hmac
  | Crypto_Ed25519_sign_impl
  | Crypto_Ed25519_verify_impl
  | Crypto_Rsa_sign_impl
  | Crypto_Rsa_verify_impl
  | Universal_murmurHash
  | IO_randomBytes
  | Bytes_zlib_compress
  | Bytes_gzip_compress
  | Bytes_zlib_decompress
  | Bytes_gzip_decompress
  | Bytes_toBase16
  | Bytes_toBase32
  | Bytes_toBase64
  | Bytes_toBase64UrlUnpadded
  | Bytes_fromBase16
  | Bytes_fromBase32
  | Bytes_fromBase64
  | Bytes_fromBase64UrlUnpadded
  | Bytes_decodeNat64be
  | Bytes_decodeNat64le
  | Bytes_decodeNat32be
  | Bytes_decodeNat32le
  | Bytes_decodeNat16be
  | Bytes_decodeNat16le
  | Bytes_encodeNat64be
  | Bytes_encodeNat64le
  | Bytes_encodeNat32be
  | Bytes_encodeNat32le
  | Bytes_encodeNat16be
  | Bytes_encodeNat16le
  | MutableArray_copyTo_force
  | MutableByteArray_copyTo_force
  | ImmutableArray_copyTo_force
  | ImmutableArray_size
  | MutableArray_size
  | ImmutableByteArray_size
  | MutableByteArray_size
  | ImmutableByteArray_copyTo_force
  | MutableArray_read
  | MutableByteArray_read8
  | MutableByteArray_read16be
  | MutableByteArray_read24be
  | MutableByteArray_read32be
  | MutableByteArray_read40be
  | MutableByteArray_read64be
  | MutableArray_write
  | MutableByteArray_write8
  | MutableByteArray_write16be
  | MutableByteArray_write32be
  | MutableByteArray_write64be
  | ImmutableArray_read
  | ImmutableByteArray_read8
  | ImmutableByteArray_read16be
  | ImmutableByteArray_read24be
  | ImmutableByteArray_read32be
  | ImmutableByteArray_read40be
  | ImmutableByteArray_read64be
  | MutableByteArray_freeze_force
  | MutableArray_freeze_force
  | MutableByteArray_freeze
  | MutableArray_freeze
  | MutableByteArray_length
  | ImmutableByteArray_length
  | IO_array
  | IO_arrayOf
  | IO_bytearray
  | IO_bytearrayOf
  | Scope_array
  | Scope_arrayOf
  | Scope_bytearray
  | Scope_bytearrayOf
  | Text_patterns_literal
  | Text_patterns_digit
  | Text_patterns_letter
  | Text_patterns_space
  | Text_patterns_punctuation
  | Text_patterns_anyChar
  | Text_patterns_eof
  | Text_patterns_charRange
  | Text_patterns_notCharRange
  | Text_patterns_charIn
  | Text_patterns_notCharIn
  | Pattern_many
  | Pattern_many_corrected
  | Pattern_capture
  | Pattern_captureAs
  | Pattern_join
  | Pattern_or
  | Pattern_replicate
  | Pattern_run
  | Pattern_isMatch
  | Char_Class_any
  | Char_Class_not
  | Char_Class_and
  | Char_Class_or
  | Char_Class_range
  | Char_Class_anyOf
  | Char_Class_alphanumeric
  | Char_Class_upper
  | Char_Class_lower
  | Char_Class_whitespace
  | Char_Class_control
  | Char_Class_printable
  | Char_Class_mark
  | Char_Class_number
  | Char_Class_punctuation
  | Char_Class_symbol
  | Char_Class_separator
  | Char_Class_letter
  | Char_Class_is
  | Text_patterns_char
  deriving (Int -> ForeignFunc -> ShowS
[ForeignFunc] -> ShowS
ForeignFunc -> String
(Int -> ForeignFunc -> ShowS)
-> (ForeignFunc -> String)
-> ([ForeignFunc] -> ShowS)
-> Show ForeignFunc
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ForeignFunc -> ShowS
showsPrec :: Int -> ForeignFunc -> ShowS
$cshow :: ForeignFunc -> String
show :: ForeignFunc -> String
$cshowList :: [ForeignFunc] -> ShowS
showList :: [ForeignFunc] -> ShowS
Show, ForeignFunc -> ForeignFunc -> Bool
(ForeignFunc -> ForeignFunc -> Bool)
-> (ForeignFunc -> ForeignFunc -> Bool) -> Eq ForeignFunc
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ForeignFunc -> ForeignFunc -> Bool
== :: ForeignFunc -> ForeignFunc -> Bool
$c/= :: ForeignFunc -> ForeignFunc -> Bool
/= :: ForeignFunc -> ForeignFunc -> Bool
Eq, Eq ForeignFunc
Eq ForeignFunc =>
(ForeignFunc -> ForeignFunc -> Ordering)
-> (ForeignFunc -> ForeignFunc -> Bool)
-> (ForeignFunc -> ForeignFunc -> Bool)
-> (ForeignFunc -> ForeignFunc -> Bool)
-> (ForeignFunc -> ForeignFunc -> Bool)
-> (ForeignFunc -> ForeignFunc -> ForeignFunc)
-> (ForeignFunc -> ForeignFunc -> ForeignFunc)
-> Ord ForeignFunc
ForeignFunc -> ForeignFunc -> Bool
ForeignFunc -> ForeignFunc -> Ordering
ForeignFunc -> ForeignFunc -> ForeignFunc
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: ForeignFunc -> ForeignFunc -> Ordering
compare :: ForeignFunc -> ForeignFunc -> Ordering
$c< :: ForeignFunc -> ForeignFunc -> Bool
< :: ForeignFunc -> ForeignFunc -> Bool
$c<= :: ForeignFunc -> ForeignFunc -> Bool
<= :: ForeignFunc -> ForeignFunc -> Bool
$c> :: ForeignFunc -> ForeignFunc -> Bool
> :: ForeignFunc -> ForeignFunc -> Bool
$c>= :: ForeignFunc -> ForeignFunc -> Bool
>= :: ForeignFunc -> ForeignFunc -> Bool
$cmax :: ForeignFunc -> ForeignFunc -> ForeignFunc
max :: ForeignFunc -> ForeignFunc -> ForeignFunc
$cmin :: ForeignFunc -> ForeignFunc -> ForeignFunc
min :: ForeignFunc -> ForeignFunc -> ForeignFunc
Ord, Int -> ForeignFunc
ForeignFunc -> Int
ForeignFunc -> [ForeignFunc]
ForeignFunc -> ForeignFunc
ForeignFunc -> ForeignFunc -> [ForeignFunc]
ForeignFunc -> ForeignFunc -> ForeignFunc -> [ForeignFunc]
(ForeignFunc -> ForeignFunc)
-> (ForeignFunc -> ForeignFunc)
-> (Int -> ForeignFunc)
-> (ForeignFunc -> Int)
-> (ForeignFunc -> [ForeignFunc])
-> (ForeignFunc -> ForeignFunc -> [ForeignFunc])
-> (ForeignFunc -> ForeignFunc -> [ForeignFunc])
-> (ForeignFunc -> ForeignFunc -> ForeignFunc -> [ForeignFunc])
-> Enum ForeignFunc
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
$csucc :: ForeignFunc -> ForeignFunc
succ :: ForeignFunc -> ForeignFunc
$cpred :: ForeignFunc -> ForeignFunc
pred :: ForeignFunc -> ForeignFunc
$ctoEnum :: Int -> ForeignFunc
toEnum :: Int -> ForeignFunc
$cfromEnum :: ForeignFunc -> Int
fromEnum :: ForeignFunc -> Int
$cenumFrom :: ForeignFunc -> [ForeignFunc]
enumFrom :: ForeignFunc -> [ForeignFunc]
$cenumFromThen :: ForeignFunc -> ForeignFunc -> [ForeignFunc]
enumFromThen :: ForeignFunc -> ForeignFunc -> [ForeignFunc]
$cenumFromTo :: ForeignFunc -> ForeignFunc -> [ForeignFunc]
enumFromTo :: ForeignFunc -> ForeignFunc -> [ForeignFunc]
$cenumFromThenTo :: ForeignFunc -> ForeignFunc -> ForeignFunc -> [ForeignFunc]
enumFromThenTo :: ForeignFunc -> ForeignFunc -> ForeignFunc -> [ForeignFunc]
Enum, ForeignFunc
ForeignFunc -> ForeignFunc -> Bounded ForeignFunc
forall a. a -> a -> Bounded a
$cminBound :: ForeignFunc
minBound :: ForeignFunc
$cmaxBound :: ForeignFunc
maxBound :: ForeignFunc
Bounded)

foreignFuncBuiltinName :: ForeignFunc -> Text
foreignFuncBuiltinName :: ForeignFunc -> Text
foreignFuncBuiltinName = \case
  ForeignFunc
IO_UDP_clientSocket_impl_v1 -> Text
"IO.UDP.clientSocket.impl.v1"
  ForeignFunc
IO_UDP_UDPSocket_recv_impl_v1 -> Text
"IO.UDP.UDPSocket.recv.impl.v1"
  ForeignFunc
IO_UDP_UDPSocket_send_impl_v1 -> Text
"IO.UDP.UDPSocket.send.impl.v1"
  ForeignFunc
IO_UDP_UDPSocket_close_impl_v1 -> Text
"IO.UDP.UDPSocket.close.impl.v1"
  ForeignFunc
IO_UDP_ListenSocket_close_impl_v1 -> Text
"IO.UDP.ListenSocket.close.impl.v1"
  ForeignFunc
IO_UDP_UDPSocket_toText_impl_v1 -> Text
"IO.UDP.UDPSocket.toText.impl.v1"
  ForeignFunc
IO_UDP_serverSocket_impl_v1 -> Text
"IO.UDP.serverSocket.impl.v1"
  ForeignFunc
IO_UDP_ListenSocket_toText_impl_v1 -> Text
"IO.UDP.ListenSocket.toText.impl.v1"
  ForeignFunc
IO_UDP_ListenSocket_recvFrom_impl_v1 -> Text
"IO.UDP.ListenSocket.recvFrom.impl.v1"
  ForeignFunc
IO_UDP_ClientSockAddr_toText_v1 -> Text
"IO.UDP.ClientSockAddr.toText.v1"
  ForeignFunc
IO_UDP_ListenSocket_sendTo_impl_v1 -> Text
"IO.UDP.ListenSocket.sendTo.impl.v1"
  ForeignFunc
IO_openFile_impl_v3 -> Text
"IO.openFile.impl.v3"
  ForeignFunc
IO_closeFile_impl_v3 -> Text
"IO.closeFile.impl.v3"
  ForeignFunc
IO_isFileEOF_impl_v3 -> Text
"IO.isFileEOF.impl.v3"
  ForeignFunc
IO_isFileOpen_impl_v3 -> Text
"IO.isFileOpen.impl.v3"
  ForeignFunc
IO_getEcho_impl_v1 -> Text
"IO.getEcho.impl.v1"
  ForeignFunc
IO_ready_impl_v1 -> Text
"IO.ready.impl.v1"
  ForeignFunc
IO_getChar_impl_v1 -> Text
"IO.getChar.impl.v1"
  ForeignFunc
IO_isSeekable_impl_v3 -> Text
"IO.isSeekable.impl.v3"
  ForeignFunc
IO_seekHandle_impl_v3 -> Text
"IO.seekHandle.impl.v3"
  ForeignFunc
IO_handlePosition_impl_v3 -> Text
"IO.handlePosition.impl.v3"
  ForeignFunc
IO_getBuffering_impl_v3 -> Text
"IO.getBuffering.impl.v3"
  ForeignFunc
IO_setBuffering_impl_v3 -> Text
"IO.setBuffering.impl.v3"
  ForeignFunc
IO_setEcho_impl_v1 -> Text
"IO.setEcho.impl.v1"
  ForeignFunc
IO_getLine_impl_v1 -> Text
"IO.getLine.impl.v1"
  ForeignFunc
IO_getBytes_impl_v3 -> Text
"IO.getBytes.impl.v3"
  ForeignFunc
IO_getSomeBytes_impl_v1 -> Text
"IO.getSomeBytes.impl.v1"
  ForeignFunc
IO_putBytes_impl_v3 -> Text
"IO.putBytes.impl.v3"
  ForeignFunc
IO_systemTime_impl_v3 -> Text
"IO.systemTime.impl.v3"
  ForeignFunc
IO_systemTimeMicroseconds_v1 -> Text
"IO.systemTimeMicroseconds.v1"
  ForeignFunc
Clock_internals_monotonic_v1 -> Text
"Clock.internals.monotonic.v1"
  ForeignFunc
Clock_internals_realtime_v1 -> Text
"Clock.internals.realtime.v1"
  ForeignFunc
Clock_internals_processCPUTime_v1 -> Text
"Clock.internals.processCPUTime.v1"
  ForeignFunc
Clock_internals_threadCPUTime_v1 -> Text
"Clock.internals.threadCPUTime.v1"
  ForeignFunc
Clock_internals_sec_v1 -> Text
"Clock.internals.sec.v1"
  ForeignFunc
Clock_internals_nsec_v1 -> Text
"Clock.internals.nsec.v1"
  ForeignFunc
Clock_internals_systemTimeZone_v1 -> Text
"Clock.internals.systemTimeZone.v1"
  ForeignFunc
IO_getTempDirectory_impl_v3 -> Text
"IO.getTempDirectory.impl.v3"
  ForeignFunc
IO_createTempDirectory_impl_v3 -> Text
"IO.createTempDirectory.impl.v3"
  ForeignFunc
IO_getCurrentDirectory_impl_v3 -> Text
"IO.getCurrentDirectory.impl.v3"
  ForeignFunc
IO_setCurrentDirectory_impl_v3 -> Text
"IO.setCurrentDirectory.impl.v3"
  ForeignFunc
IO_fileExists_impl_v3 -> Text
"IO.fileExists.impl.v3"
  ForeignFunc
IO_getEnv_impl_v1 -> Text
"IO.getEnv.impl.v1"
  ForeignFunc
IO_getArgs_impl_v1 -> Text
"IO.getArgs.impl.v1"
  ForeignFunc
IO_isDirectory_impl_v3 -> Text
"IO.isDirectory.impl.v3"
  ForeignFunc
IO_createDirectory_impl_v3 -> Text
"IO.createDirectory.impl.v3"
  ForeignFunc
IO_removeDirectory_impl_v3 -> Text
"IO.removeDirectory.impl.v3"
  ForeignFunc
IO_renameDirectory_impl_v3 -> Text
"IO.renameDirectory.impl.v3"
  ForeignFunc
IO_directoryContents_impl_v3 -> Text
"IO.directoryContents.impl.v3"
  ForeignFunc
IO_removeFile_impl_v3 -> Text
"IO.removeFile.impl.v3"
  ForeignFunc
IO_renameFile_impl_v3 -> Text
"IO.renameFile.impl.v3"
  ForeignFunc
IO_getFileTimestamp_impl_v3 -> Text
"IO.getFileTimestamp.impl.v3"
  ForeignFunc
IO_getFileSize_impl_v3 -> Text
"IO.getFileSize.impl.v3"
  ForeignFunc
IO_serverSocket_impl_v3 -> Text
"IO.serverSocket.impl.v3"
  ForeignFunc
Socket_toText -> Text
"Socket.toText"
  ForeignFunc
Handle_toText -> Text
"Handle.toText"
  ForeignFunc
ThreadId_toText -> Text
"ThreadId.toText"
  ForeignFunc
IO_socketPort_impl_v3 -> Text
"IO.socketPort.impl.v3"
  ForeignFunc
IO_listen_impl_v3 -> Text
"IO.listen.impl.v3"
  ForeignFunc
IO_clientSocket_impl_v3 -> Text
"IO.clientSocket.impl.v3"
  ForeignFunc
IO_closeSocket_impl_v3 -> Text
"IO.closeSocket.impl.v3"
  ForeignFunc
IO_socketAccept_impl_v3 -> Text
"IO.socketAccept.impl.v3"
  ForeignFunc
IO_socketSend_impl_v3 -> Text
"IO.socketSend.impl.v3"
  ForeignFunc
IO_socketReceive_impl_v3 -> Text
"IO.socketReceive.impl.v3"
  ForeignFunc
IO_kill_impl_v3 -> Text
"IO.kill.impl.v3"
  ForeignFunc
IO_delay_impl_v3 -> Text
"IO.delay.impl.v3"
  ForeignFunc
IO_stdHandle -> Text
"IO.stdHandle"
  ForeignFunc
IO_process_call -> Text
"IO.process.call"
  ForeignFunc
IO_process_start -> Text
"IO.process.start"
  ForeignFunc
IO_process_kill -> Text
"IO.process.kill"
  ForeignFunc
IO_process_wait -> Text
"IO.process.wait"
  ForeignFunc
IO_process_exitCode -> Text
"IO.process.exitCode"
  ForeignFunc
MVar_new -> Text
"MVar.new"
  ForeignFunc
MVar_newEmpty_v2 -> Text
"MVar.newEmpty.v2"
  ForeignFunc
MVar_take_impl_v3 -> Text
"MVar.take.impl.v3"
  ForeignFunc
MVar_tryTake -> Text
"MVar.tryTake"
  ForeignFunc
MVar_put_impl_v3 -> Text
"MVar.put.impl.v3"
  ForeignFunc
MVar_tryPut_impl_v3 -> Text
"MVar.tryPut.impl.v3"
  ForeignFunc
MVar_swap_impl_v3 -> Text
"MVar.swap.impl.v3"
  ForeignFunc
MVar_isEmpty -> Text
"MVar.isEmpty"
  ForeignFunc
MVar_read_impl_v3 -> Text
"MVar.read.impl.v3"
  ForeignFunc
MVar_tryRead_impl_v3 -> Text
"MVar.tryRead.impl.v3"
  ForeignFunc
Char_toText -> Text
"Char.toText"
  ForeignFunc
Text_repeat -> Text
"Text.repeat"
  ForeignFunc
Text_reverse -> Text
"Text.reverse"
  ForeignFunc
Text_toUppercase -> Text
"Text.toUppercase"
  ForeignFunc
Text_toLowercase -> Text
"Text.toLowercase"
  ForeignFunc
Text_toUtf8 -> Text
"Text.toUtf8"
  ForeignFunc
Text_fromUtf8_impl_v3 -> Text
"Text.fromUtf8.impl.v3"
  ForeignFunc
Tls_ClientConfig_default -> Text
"Tls.ClientConfig.default"
  ForeignFunc
Tls_ServerConfig_default -> Text
"Tls.ServerConfig.default"
  ForeignFunc
Tls_ClientConfig_certificates_set -> Text
"Tls.ClientConfig.certificates.set"
  ForeignFunc
Tls_ServerConfig_certificates_set -> Text
"Tls.ServerConfig.certificates.set"
  ForeignFunc
TVar_new -> Text
"TVar.new"
  ForeignFunc
TVar_read -> Text
"TVar.read"
  ForeignFunc
TVar_write -> Text
"TVar.write"
  ForeignFunc
TVar_newIO -> Text
"TVar.newIO"
  ForeignFunc
TVar_readIO -> Text
"TVar.readIO"
  ForeignFunc
TVar_swap -> Text
"TVar.swap"
  ForeignFunc
STM_retry -> Text
"STM.retry"
  ForeignFunc
Promise_new -> Text
"Promise.new"
  ForeignFunc
Promise_read -> Text
"Promise.read"
  ForeignFunc
Promise_tryRead -> Text
"Promise.tryRead"
  ForeignFunc
Promise_write -> Text
"Promise.write"
  ForeignFunc
Tls_newClient_impl_v3 -> Text
"Tls.newClient.impl.v3"
  ForeignFunc
Tls_newServer_impl_v3 -> Text
"Tls.newServer.impl.v3"
  ForeignFunc
Tls_handshake_impl_v3 -> Text
"Tls.handshake.impl.v3"
  ForeignFunc
Tls_send_impl_v3 -> Text
"Tls.send.impl.v3"
  ForeignFunc
Tls_decodeCert_impl_v3 -> Text
"Tls.decodeCert.impl.v3"
  ForeignFunc
Tls_encodeCert -> Text
"Tls.encodeCert"
  ForeignFunc
Tls_decodePrivateKey -> Text
"Tls.decodePrivateKey"
  ForeignFunc
Tls_encodePrivateKey -> Text
"Tls.encodePrivateKey"
  ForeignFunc
Tls_receive_impl_v3 -> Text
"Tls.receive.impl.v3"
  ForeignFunc
Tls_terminate_impl_v3 -> Text
"Tls.terminate.impl.v3"
  ForeignFunc
Code_validateLinks -> Text
"Code.validateLinks"
  ForeignFunc
Code_dependencies -> Text
"Code.dependencies"
  ForeignFunc
Code_serialize -> Text
"Code.serialize"
  ForeignFunc
Code_deserialize -> Text
"Code.deserialize"
  ForeignFunc
Code_display -> Text
"Code.display"
  ForeignFunc
Value_dependencies -> Text
"Value.dependencies"
  ForeignFunc
Value_serialize -> Text
"Value.serialize"
  ForeignFunc
Value_deserialize -> Text
"Value.deserialize"
  ForeignFunc
Crypto_HashAlgorithm_Sha3_512 -> Text
"crypto.HashAlgorithm.Sha3_512"
  ForeignFunc
Crypto_HashAlgorithm_Sha3_256 -> Text
"crypto.HashAlgorithm.Sha3_256"
  ForeignFunc
Crypto_HashAlgorithm_Sha2_512 -> Text
"crypto.HashAlgorithm.Sha2_512"
  ForeignFunc
Crypto_HashAlgorithm_Sha2_256 -> Text
"crypto.HashAlgorithm.Sha2_256"
  ForeignFunc
Crypto_HashAlgorithm_Sha1 -> Text
"crypto.HashAlgorithm.Sha1"
  ForeignFunc
Crypto_HashAlgorithm_Blake2b_512 -> Text
"crypto.HashAlgorithm.Blake2b_512"
  ForeignFunc
Crypto_HashAlgorithm_Blake2b_256 -> Text
"crypto.HashAlgorithm.Blake2b_256"
  ForeignFunc
Crypto_HashAlgorithm_Blake2s_256 -> Text
"crypto.HashAlgorithm.Blake2s_256"
  ForeignFunc
Crypto_HashAlgorithm_Md5 -> Text
"crypto.HashAlgorithm.Md5"
  ForeignFunc
Crypto_hashBytes -> Text
"crypto.hashBytes"
  ForeignFunc
Crypto_hmacBytes -> Text
"crypto.hmacBytes"
  ForeignFunc
Crypto_hash -> Text
"crypto.hash"
  ForeignFunc
Crypto_hmac -> Text
"crypto.hmac"
  ForeignFunc
Crypto_Ed25519_sign_impl -> Text
"crypto.Ed25519.sign.impl"
  ForeignFunc
Crypto_Ed25519_verify_impl -> Text
"crypto.Ed25519.verify.impl"
  ForeignFunc
Crypto_Rsa_sign_impl -> Text
"crypto.Rsa.sign.impl"
  ForeignFunc
Crypto_Rsa_verify_impl -> Text
"crypto.Rsa.verify.impl"
  ForeignFunc
Universal_murmurHash -> Text
"Universal.murmurHash"
  ForeignFunc
IO_randomBytes -> Text
"IO.randomBytes"
  ForeignFunc
Bytes_zlib_compress -> Text
"Bytes.zlib.compress"
  ForeignFunc
Bytes_gzip_compress -> Text
"Bytes.gzip.compress"
  ForeignFunc
Bytes_zlib_decompress -> Text
"Bytes.zlib.decompress"
  ForeignFunc
Bytes_gzip_decompress -> Text
"Bytes.gzip.decompress"
  ForeignFunc
Bytes_toBase16 -> Text
"Bytes.toBase16"
  ForeignFunc
Bytes_toBase32 -> Text
"Bytes.toBase32"
  ForeignFunc
Bytes_toBase64 -> Text
"Bytes.toBase64"
  ForeignFunc
Bytes_toBase64UrlUnpadded -> Text
"Bytes.toBase64UrlUnpadded"
  ForeignFunc
Bytes_fromBase16 -> Text
"Bytes.fromBase16"
  ForeignFunc
Bytes_fromBase32 -> Text
"Bytes.fromBase32"
  ForeignFunc
Bytes_fromBase64 -> Text
"Bytes.fromBase64"
  ForeignFunc
Bytes_fromBase64UrlUnpadded -> Text
"Bytes.fromBase64UrlUnpadded"
  ForeignFunc
Bytes_decodeNat64be -> Text
"Bytes.decodeNat64be"
  ForeignFunc
Bytes_decodeNat64le -> Text
"Bytes.decodeNat64le"
  ForeignFunc
Bytes_decodeNat32be -> Text
"Bytes.decodeNat32be"
  ForeignFunc
Bytes_decodeNat32le -> Text
"Bytes.decodeNat32le"
  ForeignFunc
Bytes_decodeNat16be -> Text
"Bytes.decodeNat16be"
  ForeignFunc
Bytes_decodeNat16le -> Text
"Bytes.decodeNat16le"
  ForeignFunc
Bytes_encodeNat64be -> Text
"Bytes.encodeNat64be"
  ForeignFunc
Bytes_encodeNat64le -> Text
"Bytes.encodeNat64le"
  ForeignFunc
Bytes_encodeNat32be -> Text
"Bytes.encodeNat32be"
  ForeignFunc
Bytes_encodeNat32le -> Text
"Bytes.encodeNat32le"
  ForeignFunc
Bytes_encodeNat16be -> Text
"Bytes.encodeNat16be"
  ForeignFunc
Bytes_encodeNat16le -> Text
"Bytes.encodeNat16le"
  ForeignFunc
MutableArray_copyTo_force -> Text
"MutableArray.copyTo!"
  ForeignFunc
MutableByteArray_copyTo_force -> Text
"MutableByteArray.copyTo!"
  ForeignFunc
ImmutableArray_copyTo_force -> Text
"ImmutableArray.copyTo!"
  ForeignFunc
ImmutableArray_size -> Text
"ImmutableArray.size"
  ForeignFunc
MutableArray_size -> Text
"MutableArray.size"
  ForeignFunc
ImmutableByteArray_size -> Text
"ImmutableByteArray.size"
  ForeignFunc
MutableByteArray_size -> Text
"MutableByteArray.size"
  ForeignFunc
ImmutableByteArray_copyTo_force -> Text
"ImmutableByteArray.copyTo!"
  ForeignFunc
MutableArray_read -> Text
"MutableArray.read"
  ForeignFunc
MutableByteArray_read8 -> Text
"MutableByteArray.read8"
  ForeignFunc
MutableByteArray_read16be -> Text
"MutableByteArray.read16be"
  ForeignFunc
MutableByteArray_read24be -> Text
"MutableByteArray.read24be"
  ForeignFunc
MutableByteArray_read32be -> Text
"MutableByteArray.read32be"
  ForeignFunc
MutableByteArray_read40be -> Text
"MutableByteArray.read40be"
  ForeignFunc
MutableByteArray_read64be -> Text
"MutableByteArray.read64be"
  ForeignFunc
MutableArray_write -> Text
"MutableArray.write"
  ForeignFunc
MutableByteArray_write8 -> Text
"MutableByteArray.write8"
  ForeignFunc
MutableByteArray_write16be -> Text
"MutableByteArray.write16be"
  ForeignFunc
MutableByteArray_write32be -> Text
"MutableByteArray.write32be"
  ForeignFunc
MutableByteArray_write64be -> Text
"MutableByteArray.write64be"
  ForeignFunc
ImmutableArray_read -> Text
"ImmutableArray.read"
  ForeignFunc
ImmutableByteArray_read8 -> Text
"ImmutableByteArray.read8"
  ForeignFunc
ImmutableByteArray_read16be -> Text
"ImmutableByteArray.read16be"
  ForeignFunc
ImmutableByteArray_read24be -> Text
"ImmutableByteArray.read24be"
  ForeignFunc
ImmutableByteArray_read32be -> Text
"ImmutableByteArray.read32be"
  ForeignFunc
ImmutableByteArray_read40be -> Text
"ImmutableByteArray.read40be"
  ForeignFunc
ImmutableByteArray_read64be -> Text
"ImmutableByteArray.read64be"
  ForeignFunc
MutableByteArray_freeze_force -> Text
"MutableByteArray.freeze!"
  ForeignFunc
MutableArray_freeze_force -> Text
"MutableArray.freeze!"
  ForeignFunc
MutableByteArray_freeze -> Text
"MutableByteArray.freeze"
  ForeignFunc
MutableArray_freeze -> Text
"MutableArray.freeze"
  ForeignFunc
MutableByteArray_length -> Text
"MutableByteArray.length"
  ForeignFunc
ImmutableByteArray_length -> Text
"ImmutableByteArray.length"
  ForeignFunc
IO_array -> Text
"IO.array"
  ForeignFunc
IO_arrayOf -> Text
"IO.arrayOf"
  ForeignFunc
IO_bytearray -> Text
"IO.bytearray"
  ForeignFunc
IO_bytearrayOf -> Text
"IO.bytearrayOf"
  ForeignFunc
Scope_array -> Text
"Scope.array"
  ForeignFunc
Scope_arrayOf -> Text
"Scope.arrayOf"
  ForeignFunc
Scope_bytearray -> Text
"Scope.bytearray"
  ForeignFunc
Scope_bytearrayOf -> Text
"Scope.bytearrayOf"
  ForeignFunc
Text_patterns_literal -> Text
"Text.patterns.literal"
  ForeignFunc
Text_patterns_digit -> Text
"Text.patterns.digit"
  ForeignFunc
Text_patterns_letter -> Text
"Text.patterns.letter"
  ForeignFunc
Text_patterns_space -> Text
"Text.patterns.space"
  ForeignFunc
Text_patterns_punctuation -> Text
"Text.patterns.punctuation"
  ForeignFunc
Text_patterns_anyChar -> Text
"Text.patterns.anyChar"
  ForeignFunc
Text_patterns_eof -> Text
"Text.patterns.eof"
  ForeignFunc
Text_patterns_charRange -> Text
"Text.patterns.charRange"
  ForeignFunc
Text_patterns_notCharRange -> Text
"Text.patterns.notCharRange"
  ForeignFunc
Text_patterns_charIn -> Text
"Text.patterns.charIn"
  ForeignFunc
Text_patterns_notCharIn -> Text
"Text.patterns.notCharIn"
  ForeignFunc
Pattern_many -> Text
"Pattern.many"
  ForeignFunc
Pattern_many_corrected -> Text
"Pattern.many.corrected"
  ForeignFunc
Pattern_capture -> Text
"Pattern.capture"
  ForeignFunc
Pattern_captureAs -> Text
"Pattern.captureAs"
  ForeignFunc
Pattern_join -> Text
"Pattern.join"
  ForeignFunc
Pattern_or -> Text
"Pattern.or"
  ForeignFunc
Pattern_replicate -> Text
"Pattern.replicate"
  ForeignFunc
Pattern_run -> Text
"Pattern.run"
  ForeignFunc
Pattern_isMatch -> Text
"Pattern.isMatch"
  ForeignFunc
Char_Class_any -> Text
"Char.Class.any"
  ForeignFunc
Char_Class_not -> Text
"Char.Class.not"
  ForeignFunc
Char_Class_and -> Text
"Char.Class.and"
  ForeignFunc
Char_Class_or -> Text
"Char.Class.or"
  ForeignFunc
Char_Class_range -> Text
"Char.Class.range"
  ForeignFunc
Char_Class_anyOf -> Text
"Char.Class.anyOf"
  ForeignFunc
Char_Class_alphanumeric -> Text
"Char.Class.alphanumeric"
  ForeignFunc
Char_Class_upper -> Text
"Char.Class.upper"
  ForeignFunc
Char_Class_lower -> Text
"Char.Class.lower"
  ForeignFunc
Char_Class_whitespace -> Text
"Char.Class.whitespace"
  ForeignFunc
Char_Class_control -> Text
"Char.Class.control"
  ForeignFunc
Char_Class_printable -> Text
"Char.Class.printable"
  ForeignFunc
Char_Class_mark -> Text
"Char.Class.mark"
  ForeignFunc
Char_Class_number -> Text
"Char.Class.number"
  ForeignFunc
Char_Class_punctuation -> Text
"Char.Class.punctuation"
  ForeignFunc
Char_Class_symbol -> Text
"Char.Class.symbol"
  ForeignFunc
Char_Class_separator -> Text
"Char.Class.separator"
  ForeignFunc
Char_Class_letter -> Text
"Char.Class.letter"
  ForeignFunc
Char_Class_is -> Text
"Char.Class.is"
  ForeignFunc
Text_patterns_char -> Text
"Text.patterns.char"