Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 96fd367954
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (7 sloc) 0.25 kB

Shorten strings

A unified interface for shorten-ellipsis'ing string-like types.

String, Text, and yesod-markdown provides a Markdown instance.

shorten 12 "some really really really long string"
-- ==> "some real..."
Jump to Line
Something went wrong with that request. Please try again.