Explorer

definy.builtin-parameters-text

description
The parameter names of a compiler builtin joined with ", " (e.g. "left, right"). none for an unknown name
type
Fn(name: String) -> Union{#none, #some(String)}
expression
fn(name$0) =>
  match $0 {
    "plus" =>
      #some("left, right"),
    "minus" =>
      #some("left, right"),
    "multiply" =>
      #some("left, right"),
    "divide" =>
      #some("left, right"),
    "remainder" =>
      #some("left, right"),
    "equal" =>
      #some("left, right"),
    "not_equal" =>
      #some("left, right"),
    "less_than" =>
      #some("left, right"),
    "less_than_or_equal" =>
      #some("left, right"),
    "greater_than" =>
      #some("left, right"),
    "greater_than_or_equal" =>
      #some("left, right"),
    "and" =>
      #some("left, right"),
    "or" =>
      #some("left, right"),
    "string_concat" =>
      #some("left, right"),
    "list_concat" =>
      #some("left, right"),
    "not" =>
      #some("value"),
    "string_length" =>
      #some("value"),
    "string_to_bytes" =>
      #some("value"),
    "list_length" =>
      #some("value"),
    "string_slice" =>
      #some("value, start, end"),
    "list_get" =>
      #some("list, index"),
    "list_append" =>
      #some("list, item"),
    "float_plus" =>
      #some("left, right"),
    "float_minus" =>
      #some("left, right"),
    "float_multiply" =>
      #some("left, right"),
    "float_divide" =>
      #some("left, right"),
    "float_less_than" =>
      #some("left, right"),
    "float_less_than_or_equal" =>
      #some("left, right"),
    "float_from_integer" =>
      #some("value"),
    "float_floor" =>
      #some("value"),
    "float_ceiling" =>
      #some("value"),
    "float_truncate" =>
      #some("value"),
    "float_square_root" =>
      #some("value"),
    "bit_and" =>
      #some("left, right"),
    "bit_or" =>
      #some("left, right"),
    "bit_xor" =>
      #some("left, right"),
    "shift_left" =>
      #some("left, right"),
    "shift_right" =>
      #some("left, right"),
    "list_find_last_by_field" =>
      #some("list, field, value"),
    "list_hash_index" =>
      #some("list, field"),
    "list_hash_index_find" =>
      #some("index, field, value"),
    _ =>
      #none
  }
visibility
public
definy.builtin-parameters-text (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: UuR7IrNgtCtnc9Nup_YmWEZwzTAlDOpQmaO715adxcw
content hash: YyDC4uMbYXawZqyM9Ly7BMTjbiC5wiUYn5hWtzkqTU0