[no description]
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -14,7 +14,9 @@ pub trait Reverse: Tupl { #[doc(inline)] pub use Reverse::{reverse, reverse as flip}; #[doc(inline)] -pub use Tupl::{drop, head, head as left, head as fst, last, last as right, pick, take}; +pub use Tupl::{ + drop, head, head as left, head as fst, last, last as right, pick, take, +}; pub use picks::*; /// Construct a tuple. pub fn cons<T, Tup: Cons<T>>(x: T, y: Tup) -> Tup::Cons { @@ -153,7 +155,11 @@ pub trait Tupl: core::marker::Tuple { /// untcurtsnocs self, returning init and last (see listmonster) fn unsnoc(self) -> (Self::Init, Self::Last); /// weird thing, full construct - fn fcons(start: Self::Head, inner: Self::Inner, last: Self::Last) -> Self; + fn fcons( + start: Self::Head, + inner: Self::Inner, + last: Self::Last, + ) -> Self; /// reconstruct; dont use directly fn cons(head: Self::Head, tail: Self::Tail) -> Self; /// retcurtsnoc; dont use directly |