No matching definitions.

tur/safe

stdlib/safe.tur

bounds-checked operations returning Option or Result.

Since: Phase U4

defn

array-get

(array-get [arr ptr<void> idx : int] :)
defn

array-set

(array-set [arr ptr<void> idx : int value : int] :)
defn

array-slice

(array-slice [arr ptr<void> start : int len : int] :)
defn

with-c-string

(with-c-string [s : cstr f : ptr] :)
defn

from-c-string

(from-c-string [s : cstr] :)
defn

box

(box [v : int] :)
defn

unbox

(unbox [p : ptr] :)