instance
Subarray.instGetElemSubarrayNatLtInstLTNatSize
{α : Type u_1}
:
GetElem (Subarray α) Nat α fun xs i => i < Subarray.size xs
@[inline]
Instances For
@[inline]
Instances For
@[inline]
Instances For
@[specialize #[]]
def
Subarray.findSomeRevM?.find
{α : Type u}
{β : Type v}
{m : Type v → Type w}
[Monad m]
(as : Subarray α)
(f : α → m (Option β))
(i : Nat)
:
i ≤ Subarray.size as → m (Option β)
Equations
- One or more equations did not get rendered due to their size.
- Subarray.findSomeRevM?.find as f 0 x_2 = pure none
Instances For
def
Array.toSubarray
{α : Type u}
(as : Array α)
(start : optParam Nat 0)
(stop : optParam Nat (Array.size as))
:
Subarray α