- declName : Lake.Name
- defValue : Lean.DataValue
- group : String
- descr : String
Instances For
@[export lean_register_option]
Instances For
@[export lean_get_option_decls_array]
Instances For
instance
Lean.instMonadOptions
{m : Type → Type}
{n : Type → Type}
[MonadLift m n]
[Lean.MonadOptions m]
:
def
Lean.getNatOption
{m : Type → Type}
[Monad m]
[Lean.MonadOptions m]
(k : Lake.Name)
(defValue : optParam Nat 0)
:
m Nat
Instances For
- withOptions : {α : Type} → (Lean.Options → Lean.Options) → m α → m α
Instances
instance
Lean.instMonadWithOptions
{m : Type → Type}
{n : Type → Type}
[MonadFunctor m n]
[Lean.MonadWithOptions m]
:
Remark: _inPattern
is an internal option for communicating to the delaborator that
the term being delaborated should be treated as a pattern.
Instances For
def
Lean.Option.get?
{α : Type}
[Lean.KVMap.Value α]
(opts : Lean.Options)
(opt : Lean.Option α)
:
Option α
Instances For
Instances For
def
Lean.Option.set
{α : Type}
[Lean.KVMap.Value α]
(opts : Lean.Options)
(opt : Lean.Option α)
(val : α)
:
Instances For
def
Lean.Option.setIfNotSet
{α : Type}
[Lean.KVMap.Value α]
(opts : Lean.Options)
(opt : Lean.Option α)
(val : α)
:
Similar to set
, but update opts
only if it doesn't already contains an setting for opt.name
Instances For
def
Lean.Option.register
{α : Type}
[Lean.KVMap.Value α]
(name : Lake.Name)
(decl : Lean.Option.Decl α)
(ref : autoParam Lake.Name _auto✝)
:
IO (Lean.Option α)