Copyright | (c) Dominik Schrempf 2021 |
---|---|
License | GPL-3.0-or-later |
Maintainer | dominik.schrempf@gmail.com |
Stability | unstable |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creation date: Sat Jul 18 13:52:22 2020.
Synopsis
- class Splittable e where
- split :: e -> e
Documentation
class Splittable e where Source #
A data type that can be split into two equal entities.
For Semigroup
s, the following equality should hold:
split x <> split x = x
Instances
Splittable () Source # | |
Defined in ELynx.Tree.Splittable | |
Splittable Length Source # | |
Splittable Support Source # | |
Splittable PhyloExplicit Source # | |
Defined in ELynx.Tree.Phylogeny split :: PhyloExplicit -> PhyloExplicit Source # |