pub fn exhaustive_units() -> Once<()>
Generates the only unit: ().
()
The output length is 1.
Constant time and additional memory.
use itertools::Itertools; use malachite_base::tuples::exhaustive::exhaustive_units; assert_eq!(exhaustive_units().collect_vec(), &[()]);