Mylsm.Utf8.snapshot.range.result: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm Lines 2434-2450 of mylsm-lsm-store@0.6.0.1/mylsm.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&start_line=2434&end_line=2450 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as PackedBytes def Utf8.snapshot.range.result( snapshot: Bytes.Snapshot, lower: Result<&1, &1, Utf8.Error, Maybe<&1, PackedBytes.Bytes>>, upper: Result<&1, &1, Utf8.Error, Maybe<&1, PackedBytes.Bytes>> ) -> IO(Utf8.Snapshot & Result<&1, &1, Utf8.Error, Utf8.Cursor>): match lower upper: case Fail{error} _: IO.pure(Utf8.Snapshot & Result<&1, &1, Utf8.Error, Utf8.Cursor>, (Utf8Snapshot{snapshot}, Fail{error})) case Done{_} Fail{error}: IO.pure(Utf8.Snapshot & Result<&1, &1, Utf8.Error, Utf8.Cursor>, (Utf8Snapshot{snapshot}, Fail{error})) case Done{lower_bound} Done{upper_bound}: do IO>: pair : Bytes.Snapshot & Result<&1, &1, Bytes.Error, Bytes.Cursor> <- Bytes.snapshot.scan_range(snapshot, lower_bound, upper_bound) return Utf8.snapshot.range.opened(pair) Uses (16): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.Cursor https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.Snapshot https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.snapshot.scan_range https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Utf8.Cursor https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Utf8.Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Utf8.Snapshot https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Utf8.snapshot.range.opened