Expand description
Types that support an associative binary operation.
§Examples
use fp_library::functions::*;
let x = "Hello, ".to_string();
let y = "World!".to_string();
let z = append::<_>(x, y);
assert_eq!(z, "Hello, World!".to_string());Traits§
- Semigroup
- A type class for types that support an associative binary operation.
Functions§
- append
- The result of combining the two values using the semigroup operation.