glelm/transpile

Types

pub type Error {
  Error(glance.Error)
}

Constructors

  • Error(glance.Error)
pub type Transpiler(a) =
  Eval(a, Error, Context)

Functions

pub fn custom_type(
  type_: Type,
) -> Eval(Definition(CustomType), Error, Context)
pub fn initial_ctx() -> Context
pub fn module(
  elm_ast: Module,
) -> Eval(glance.Module, Error, Context)
pub fn print(module: Module) -> String
pub fn run(
  t: Eval(a, Error, Context),
  s: Context,
) -> Result(a, Error)
Search Document