Macro kaguya_rs::fst[][src]

macro_rules! fst {
    (>$($t:ty),*) => { ... };
    ($x:expr) => { ... };
    ($x:pat) => { ... };
}

Get the first element of [tuple]

Syntax:

  1. fst!(>type,type...) :: (a,b,...) -> a
  2. fst!((a,b,...)|) -> a
  3. let x = (a,b); fst!(x) -> a