egison-5.0.0: Programming language with non-linear pattern-matching against non-free data
LicenseMIT
Safe HaskellNone
LanguageGHC2021

Language.Egison.Type.Pretty

Description

This module provides pretty printing for Egison types.

Synopsis

Documentation

prettyType :: Type -> String Source #

Pretty print a Type

prettyTypeScheme :: TypeScheme -> String Source #

Pretty print a TypeScheme

prettyTypeExpr :: TypeExpr -> String Source #

Pretty print a TypeExpr (source-level type)

prettyTensorShape :: TensorShape -> String Source #

Pretty print a TensorShape

prettyIndex :: Index -> String Source #

Pretty print an Index