logo
首页技术栈工具库讨论
string-fromto

string-fromto

Have you ever found yourself frustrated that you're spending 15-30% of your time in Haskell converting between string types, remembering which module has the toStrict function, importing Data.Text.Encoding and Data.Text.Lazy.Encoding qualified, spending time thinking about how to do Base64 encoding, etc.? Or tried to use one of the (excellent) typeclass-based string conversion libraries, only to find yourself adding awkward type signatures to avoid type-inferencing ambiguities? This package exports a collection of functions that follow a simple pattern: This way, if you import Data.String.FromTo unqualified, or as part of your Prelude, all you have to think about is which type you want to convert into which other type. For convenience, this package also exposes conversions between Base16, Base32, and Base64-encoded strings.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
HACKAGE
carbal install string-fromto
查看
标签
根据用户添加的标签生成
暂无标签