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
- Interface
Alias - Interface
Binop - 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. - Interface
Method - Interface
Trait - Interface
Union - Interface
Value - An exported value with its type, mirroring Elm’s
I.Interfacevalues map (Map Name Can.Annotation). Every entry comes from the type solver, so interfaces can only be produced for solved modules. - Possible
Names - Mirrors Elm’s
Error.PossibleNames.
Enums§
- Alias
Visibility - BadArity
Context - BadHead
- Duplicate
Pattern Context - Entailment
Failure - Error
- Kind
Context - Union
Visibility - VarKind
Functions§
- canonicalize
- from_
module - Mirrors Elm’s
I.fromModule home canModule annotations. Like Elm’s partialannotations ! namelookup, a top-level value or operator function missing fromannotationsis 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).