Skip to main content

Crate nash_can

Crate nash_can 

Source

Re-exports§

pub use crate::warning::Warning;
pub use crate::warning::WarningContext;

Modules§

defaults
Implicit scope for application modules. These imports never enter the source AST.
environment
expression
kinds
Haskell 98 kind inference. Representation requirements are predicates.
pattern
types
warning

Structs§

CanResult
Context
Interface
InterfaceAlias
InterfaceBinop
Mirrors Elm’s I.Binop op annotation associativity precedence: the annotation is the underlying function’s solved scheme or the trait method’s checked scheme. The function retains its defining module even when another module declares the operator.
InterfaceMethod
InterfaceTrait
InterfaceUnion
InterfaceValue
An exported value with its type, mirroring Elm’s I.Interface values map (Map Name Can.Annotation). Every entry comes from the type solver, so interfaces can only be produced for solved modules.
PossibleNames
Mirrors Elm’s Error.PossibleNames.

Enums§

AliasVisibility
BadArityContext
BadHead
DuplicatePatternContext
EntailmentFailure
Error
KindContext
UnionVisibility
VarKind

Functions§

canonicalize
from_module
Mirrors Elm’s I.fromModule home canModule annotations. Like Elm’s partial annotations ! name lookup, a top-level value or operator function missing from annotations is a bug in the caller: interfaces exist only for fully solved modules.

Type Aliases§

Annotations
Type annotations for every top-level value of a module, as produced by the type solver (Elm’s Map Name Can.Annotation).