prime package:monoid-subclasses
The prime prefix; primePrefix mempty == mempty for monoids.
The prime suffix; primeSuffix mempty == mempty for monoids.
Splits the argument into its prime prefix and the remaining suffix.
Returns
Nothing for
mempty.
Splits the argument into its prime suffix and the remaining prefix.
Returns
Nothing for
mempty.