copilot-core-3.10: An intermediate representation for Copilot.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Copilot.Core.Type.Show

Description

Deprecated: This module is deprecated in Copilot 3.10.

Show Copilot Core types and typed values.

Synopsis

Documentation

showWithType :: ShowType -> Type a -> a -> String Source #

Show a value. The representation depends on the type and the target language. Booleans are represented differently depending on the backend.

data ShowType Source #

Target language for showing a typed value. Used to adapt the representation of booleans.

Constructors

C 
Haskell 

showType :: Type a -> String Source #

Show Copilot Core type.