functype 0.1.0

Scala-inspired functional programming library for Rust
Documentation

functype: Scala-inspired functional programming library for Rust.

This is the umbrella crate that re-exports all functype functionality.

Quick Start

use functype::prelude::*;

let either: Either<&str, i32> = Either::right(42);
let doubled = either.map(|x| x * 2);
assert_eq!(doubled.right_value(), Some(&84));