Module

Web.Intl.Segmenter

Package
purescript-web-intl
Repository
ptrfrncsmrph/purescript-web-intl

#Segmenter Source

#SegmenterOptions Source

type SegmenterOptions :: Row Typetype SegmenterOptions = (granularity :: String, localeMatcher :: String)

#new Source

new :: forall options options'. Union options options' SegmenterOptions => NonEmptyArray Locale -> Record options -> Effect Segmenter

#supportedLocalesOf Source

supportedLocalesOf :: forall options options'. Union options options' SegmenterOptions => NonEmptyArray Locale -> Record options -> Array String

#segment Source

segment :: forall f. Unfoldable f => Segmenter -> String -> f Segment