ddc-core-flow-0.4.3.1: Disciplined Disciple Compiler data flow compiler.

Safe HaskellSafe
LanguageHaskell98

DDC.Core.Flow.Transform.Rates.Fail

Synopsis

Documentation

data Fail Source #

Why can't rates be inferred?

Constructors

FailCannotConvert ConversionError

The function couldn't be converted to combinator form

FailConstraintFilteredLessFiltered Name Name

The constraint would require a buffer. User must expicitly buffer.

FailConstraintFilteredNotUnique Name Name

The constraint would require a buffer. User must expicitly buffer.

Instances

Eq Fail Source # 

Methods

(==) :: Fail -> Fail -> Bool #

(/=) :: Fail -> Fail -> Bool #

Show Fail Source # 

Methods

showsPrec :: Int -> Fail -> ShowS #

show :: Fail -> String #

showList :: [Fail] -> ShowS #

Pretty Fail Source # 

Associated Types

data PrettyMode Fail :: * #

Methods

pprDefaultMode :: PrettyMode Fail #

ppr :: Fail -> Doc #

pprPrec :: Int -> Fail -> Doc #

pprModePrec :: PrettyMode Fail -> Int -> Fail -> Doc #

data ConversionError Source #

Why couldn't it be converted to CNF?

Constructors

FailNotANormalForm

Function is not in a-normal form

FailNamesNotUnique

Bindings must be unique

FailNoDeBruijnAllowed

Bindings must be named

FailNoAnonAllowed

Bindings cannot be anonymous _.

FailRecursiveBindings

Function contains letrec

FailLetRegionNotHandled

Function contains letregion

run :: LogFailures a -> (a, [Fail]) Source #