bison/object_id
Types
Functions
pub fn from_bit_string(id: BitArray) -> Result(ObjectId, Nil)
pub fn from_int_list(id: List(Int)) -> Result(ObjectId, Nil)
pub fn from_string(id: String) -> Result(ObjectId, Nil)
pub fn range(
from a: ObjectId,
to b: Option(ObjectId),
step s: Duration,
) -> Iterator(ObjectId)
can be used to create a time range starting from time a with step s,
which is of type duration.Duration from package birl
if b is option.None the range will be infinite
pub fn to_bit_string(id: ObjectId) -> BitArray
pub fn to_int_list(id: ObjectId) -> List(Int)