Mylsm.Utf8.scan_seek: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm Lines 2189-2202 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=2189&end_line=2202 import Base # Seeks an active text cursor by UTF-8 key, preserving terminal cursors. def Utf8.scan_seek( cursor: Utf8.Cursor, lower: Maybe<&2, String> ) -> IO(Utf8.Cursor & Result<&1, &1, Utf8.Error, Unit>): match cursor: case Utf8Cursor{inner, Utf8CursorActive{}}: do IO>: pair : Bytes.Cursor & Result<&1, &1, Utf8.Error, Unit> <- Utf8.scan_seek.active(inner, Utf8.scan.bound(lower)) return Utf8.scan_seek.result(pair) case Utf8Cursor{inner, state}: IO.pure(Utf8.Cursor & Result<&1, &1, Utf8.Error, Unit>, (Utf8Cursor{inner, state}, Done{Unit{}})) 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=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit 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=Utf8.Cursor https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Utf8.CursorState 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.scan.bound https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Utf8.scan_seek.active https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Utf8.scan_seek.result