Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> doc >> libghc-text-short-doc
nabia  ] [  aramo  ]
[ 原始碼: haskell-text-short  ]

套件: libghc-text-short-doc (0.1.2-5)

memory-efficient representation of Unicode text strings; documentation

This Haskell library provides the 'ShortText' type which is suitable for keeping many short strings in memory. This is similiar to the relationship between 'ShortByteString' and 'ByteString'.

The main differences between 'Text' and 'ShortText' is that 'ShortText' uses UTF-8 instead of UTF-16 internally and 'ShortText' doesn't support zero-copy slicing (thereby saving 2 words). Consequently, the memory footprint of a (boxed) 'ShortText' value is 4 words (2 words when unboxed) plus the length of the UTF-8 encoded payload.

This package provides the documentation for a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

其他與 libghc-text-short-doc 有關的套件

  • 依賴
  • 推薦
  • 建議
  • rec: ghc-doc
    Documentation for the Glasgow Haskell Compilation system
  • rec: libghc-hashable-doc
    class for types that can be converted to a hash value; documentation
  • rec: libjs-mathjax
    JavaScript display engine for LaTeX and MathML

下載 libghc-text-short-doc

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 71.2 kB927 kB [文件列表]