- adhoc: Lean.Name → Lean.ExternEntry
- inline: Lean.Name → String → Lean.ExternEntry
- standard: Lean.Name → String → Lean.ExternEntry
- foreign: Lean.Name → String → Lean.ExternEntry
Equations
- Lean.instInhabitedExternAttrData = { default := { arity? := default, entries := default } }
@[extern lean_add_extern]
@[export lean_get_extern_attr_data]
Equations
Equations
- One or more equations did not get rendered due to their size.
- Lean.expandExternPatternAux args 0 _fun_discr _fun_discr = _fun_discr
Equations
- Lean.expandExternPattern pattern args = Lean.expandExternPatternAux args (String.length pattern) (String.mkIterator pattern) ""
Equations
- Lean.mkSimpleFnCall fn args = fn ++ "(" ++ List.foldl (fun a a_1 => a ++ a_1) "" (List.intersperse ", " args) ++ ")"
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
- Lean.getExternEntryForAux backend [] = none
Equations
- Lean.getExternEntryFor d backend = Lean.getExternEntryForAux backend d.entries
Equations
- Lean.isExtern env fn = Option.isSome (Lean.getExternAttrData env fn)
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
@[export lean_get_extern_const_arity]
Equations
- One or more equations did not get rendered due to their size.