This blog post provides information on the different string types in Haskell, including Text, ByteString, ShortByteString, OsString, and more. It explains the purpose and use cases of each type, as well as their advantages and limitations. The post also covers topics such as Unicode, character encoding, text encoding, and

33m read time From hasufell.github.io
Post cover image
Table of contents
TOCMotivationString in PreludeUnicodeBack to Haskell String typeString typesLazy vs StrictSlicable vs non-slicablePinned vs unpinnedString Types Cheat SheetConstructionConversionsA word on lazy IOStreamingA note on FilePathsReflectionSpecial thanks toLinks and relevant stuff

Sort: