License | BSD3 |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | Safe |
Language | Haskell2010 |
Synopsis
- newtype CommonPrefix a = CommonPrefix [a]
- getCommonPrefix :: CommonPrefix a -> [a]
Documentation
newtype CommonPrefix a Source #
Longest common prefix of lists.
CommonPrefix [a] |
Instances
getCommonPrefix :: CommonPrefix a -> [a] Source #