(http://lelf.lu/prose)

root

Lens interface for Prose

λ> (string # "संस्कृतम्") ^. graphemes
["सं","स्","कृ","त","म्"]

λ> (string # "संस्कृतम्") ^. codes . to length
9