/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
//! Sum monoid.
use crate*;
/// Sum monoid.
/// ```rust
/// use rsmonad::prelude::*;
/// # #[cfg(feature = "std")]
/// assert_eq!(
/// (list![1, 2, 3, 4, 5] % SumU8).unify(),
/// SumU8(15)
/// );
/// ```
;
monoid!
// TODO: WrapSum, SatSum, etc.