tupler/construct

Functions

pub fn eight(
  tuple: #(a, b, c, d, e, f, g, h),
  constructor: fn(a, b, c, d, e, f, g, h) -> i,
) -> i
pub fn five(
  tuple: #(a, b, c, d, e),
  constructor: fn(a, b, c, d, e) -> f,
) -> f
pub fn four(
  tuple: #(a, b, c, d),
  constructor: fn(a, b, c, d) -> e,
) -> e
pub fn nine(
  tuple: #(a, b, c, d, e, f, g, h, i),
  constructor: fn(a, b, c, d, e, f, g, h, i) -> j,
) -> j
pub fn one(tuple: #(a), constructor: fn(a) -> b) -> b
pub fn seven(
  tuple: #(a, b, c, d, e, f, g),
  constructor: fn(a, b, c, d, e, f, g) -> h,
) -> h
pub fn six(
  tuple: #(a, b, c, d, e, f),
  constructor: fn(a, b, c, d, e, f) -> g,
) -> g
pub fn three(
  tuple: #(a, b, c),
  constructor: fn(a, b, c) -> d,
) -> d
pub fn two(tuple: #(a, b), constructor: fn(a, b) -> c) -> c
Search Document