Summary: | dev-haskell/stringsearch-0.3.6.5: stabilization request | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
Component: | [OLD] Keywording and Stabilization | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | Keywords: | STABLEREQ |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Pacho Ramos
2015-01-05 18:26:56 UTC
Arches, please go ahead. This will get you something to play with in ghci: $ ghci -XOverloadedStrings ghci> import Data.ByteString ghci> import Data.ByteString.Search ghci> let s = "Larry the Cow" :: ByteString This module actually has some documentation: http://hackage.haskell.org/package/stringsearch-0.3.6.5/docs/Data-ByteString-Search.html You should be able to try any of the functions on that page; for example, ghci> indices " " s [5,9] ghci> breakOn " " s ("Larry","the Cow") (If you don't understand the type signatures, those two are fine.) I've built and tested this on an empty amd64 system if that's sufficient to keyword that arch. amd64 stable x86 stable. Closing. |