derived

Types

pub type GenerateError(a) {
  ParseError(ast.ParseError)
  GenerationError(a)
}

Constructors

Values

pub fn generate(
  input: String,
  derived_name: String,
  callback: fn(ast.DerivedType) -> Result(String, a),
) -> Result(String, GenerateError(a))
pub fn parse(
  input: String,
) -> Result(List(ast.DerivedType), ast.ParseError)
Search Document