gleamunison/loader

Types

pub opaque type Loader
pub type LoaderError {
  CompileFailed(identity.DefinitionRef, message: String)
  LoadFailed(identity.DefinitionRef, message: String)
}

Constructors

Values

pub fn ensure_loaded(
  ld: Loader,
  ref: identity.DefinitionRef,
  def: ast.Definition,
) -> Result(Loader, #(Loader, LoaderError))
pub fn is_loaded(ld: Loader, ref: identity.DefinitionRef) -> Bool
pub fn new_loader() -> Loader
pub fn new_loader_with_limit(limit: Int) -> Loader
Search Document