Skip to main content

parse_let_definition

Function parse_let_definition 

Source
pub fn parse_let_definition(input: &str) -> Result<Command, ParseError>
Expand description

Parse “Let [name] be [term].” into Command::Definition (constant, not function)

This is for simple constant bindings like:

  • Let T be Apply(Name "Not", Variable 0).
  • Let G be the diagonalization of T.