Preferred way to do locales in the Haskell Platform
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.
精彩评论