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