Crate functils [−] [src]
Rust has really powerful generics that can be used to make it more functional in terms of it's composition. Included in this crate are helper functions often times used in languages like Haskell.
Modules
list |
Macros
list |
Given a finite set of inputs produce a list. |
Traits
FromIterator |
Conversion from an |
Functions
fst |
Given a Tuple return it's first element |
identity |
Given a value return itself. This is like the mathematical identity function |
ifte |
Works like Haskell's bool, this is a way to do an inline if then else statement if b then x else y |
snd |
Given a Tuple return it's second element |