开发者

Preferred way to do locales in the Haskell Platform

开发者 https://www.devze.com 2023-01-01 13:59 出处:网络
The Haskell platform includes two obsolete libraries, old-time and old-locale. For old-time, it also includes the preferred alternative (namely time), 开发者_如何学Cbut I can\'t figure out what the re

The Haskell platform includes two obsolete libraries, old-time and old-locale. For old-time, it also includes the preferred alternative (namely time), 开发者_如何学Cbut I can't figure out what the recommended alternative for old-locale is.

Is this simply a shortcoming of the Platform as of now (version 2010.1.0.0), or something I've overlooked?


The libraries in the HP are by definition not obsolete. The particular names used though, are up to the maintainers. old-locale remains the preferred mechanism for manipulating locales.


In old-locale-1.0.0.5, the deprecation notice is removed: http://hackage.haskell.org/package/old-locale.

0

精彩评论

暂无评论...
验证码 换一张
取 消