The zalgo package

[Tags:bsd3, deprecated, library]
Deprecated. in favor of functional-kmp

A few efficient list-processing functions using the prefix-function, which is defined as:

(prefixFun xs) !! i

is the length of the largest proper substring of xs ending at position i, such that it equals the beginning of xs.

For example:

.-----.             .-----.
a b a c a b a a a b a b a c d
0 0 1 0 1 2 3 1 1 2 3 2 3 4 0
                          ^

The marked substrings are equal, hence the value at the marked location is their length, 4.

Properties

Versions 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.1.0, 0.2.0.0
Dependencies base (==4.*) [details]
License BSD3
Author mniip
Maintainer mniip@mniip.com
Category Data
Home page http://github.com/mniip/zalgo
Source repository head: git clone http://github.com/mniip/zalgo.git
Uploaded Tue Sep 1 21:36:02 UTC 2015 by mniip
Distributions NixOS:0.2.0.0
Downloads 502 total (9 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2015-09-01 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees