Copyright | (c) OleksandrZhabenko 2020-2023 |
---|---|
License | MIT |
Maintainer | oleksandr.zhabenko@yahoo.com |
Stability | Experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Extensions | BangPatterns |
Generalization of the uniqueness-periods and uniqueness-periods-general
packages functionality for small Foldable
data structures. Uses less dependencies.
Synopsis
- uniquenessPeriodsGG :: (Foldable t1, Foldable t2, Foldable t3, Ord a) => t3 a -> t1 a -> t2 a -> [Int16]
- uniquenessPeriodsG :: (Foldable t1, Foldable t2) => t1 Char -> t2 Char -> [Int16]
- uniquenessPeriodsGI8 :: (Foldable t1, Foldable t2) => t1 Int8 -> t2 Int8 -> [Int16]
- diverse2GGL :: (Foldable t1, Foldable t2, Foldable t3, Ord a) => t3 a -> t1 a -> t2 a -> Int16
- diverse2GL :: (Foldable t1, Foldable t2) => t1 Char -> t2 Char -> Int16
- diverse2GLInt8 :: (Foldable t1, Foldable t2) => t1 Int8 -> t2 Int8 -> Int16
List functions
uniquenessPeriodsGG :: (Foldable t1, Foldable t2, Foldable t3, Ord a) => t3 a -> t1 a -> t2 a -> [Int16] Source #
A generalization of the uniquenessPeriods function of the uniqueness-periods
package.
uniquenessPeriodsG :: (Foldable t1, Foldable t2) => t1 Char -> t2 Char -> [Int16] Source #
A variant for the uniquenessPeriodsGG
function for Char
.
uniquenessPeriodsGI8 :: (Foldable t1, Foldable t2) => t1 Int8 -> t2 Int8 -> [Int16] Source #
A variant for the uniquenessPeriodsGG
function for Int8
.
diverse2GGL :: (Foldable t1, Foldable t2, Foldable t3, Ord a) => t3 a -> t1 a -> t2 a -> Int16 Source #
A general variant of the diversity property. Use it in general case.
diverse2GL :: (Foldable t1, Foldable t2) => t1 Char -> t2 Char -> Int16 Source #
A variant of the diverse2GGL
function for Char
.
diverse2GLInt8 :: (Foldable t1, Foldable t2) => t1 Int8 -> t2 Int8 -> Int16 Source #
A variant of the diverse2GGL
function for Int8
.