gluple

Functions

pub fn append1(tuple: #(a), data: b) -> #(a, b)
pub fn append2(tuple: #(a, b), data: c) -> #(a, b, c)
pub fn append3(tuple: #(a, b, c), data: d) -> #(a, b, c, d)
pub fn append4(tuple: #(a, b, c, d), data: e) -> #(a, b, c, d, e)
pub fn append5(
  tuple: #(a, b, c, d, e),
  data: f,
) -> #(a, b, c, d, e, f)
pub fn append6(
  tuple: #(a, b, c, d, e, f),
  data: g,
) -> #(a, b, c, d, e, f, g)
pub fn append7(
  tuple: #(a, b, c, d, e, f, g),
  data: h,
) -> #(a, b, c, d, e, f, g, h)
pub fn append8(
  tuple: #(a, b, c, d, e, f, g, h),
  data: i,
) -> #(a, b, c, d, e, f, g, h, i)
pub fn append9(
  tuple: #(a, b, c, d, e, f, g, h, i),
  data: j,
) -> #(a, b, c, d, e, f, g, h, i, j)
pub fn is_tuple(maybe_tuple: a) -> Bool
pub fn list_to_tuple(list: List(a)) -> Dynamic
pub fn replace_last1(: #(a), data: b) -> #(b)
pub fn replace_last2(tuple: #(a, b), data: c) -> #(a, c)
pub fn replace_last3(tuple: #(a, b, c), data: d) -> #(a, b, d)
pub fn replace_last4(
  tuple: #(a, b, c, d),
  data: e,
) -> #(a, b, c, e)
pub fn replace_last5(
  tuple: #(a, b, c, d, e),
  data: f,
) -> #(a, b, c, d, f)
pub fn replace_last6(
  tuple: #(a, b, c, d, e, f),
  data: g,
) -> #(a, b, c, d, e, g)
pub fn replace_last7(
  tuple: #(a, b, c, d, e, f, g),
  data: h,
) -> #(a, b, c, d, e, f, h)
pub fn replace_last8(
  tuple: #(a, b, c, d, e, f, g, h),
  data: i,
) -> #(a, b, c, d, e, f, g, i)
pub fn replace_last9(
  tuple: #(a, b, c, d, e, f, g, h, i),
  data: j,
) -> #(a, b, c, d, e, f, g, h, j)
pub fn tuple_element(
  tuple: a,
  index: Int,
) -> Result(Dynamic, List(DecodeError))
pub fn tuple_size(tuple: a) -> Result(Int, List(DecodeError))
pub fn tuple_to_list(
  tuple: a,
) -> Result(List(Dynamic), List(DecodeError))
Search Document