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

Language.Egison.Type.Tensor

Description

This module provides tensor-specific type normalization for the Egison type system.

Synopsis

Type normalization

normalizeTensorType :: Type -> Type Source #

Normalize tensor types For example, Tensor a -> Tensor a Tensor (Tensor a) -> Tensor a Tensor (Tensor (Tensor a)) -> Tensor a [Tensor (Tensor a)] -> [Tensor a]