在 Haskell 平台中进行区域设置的首选方法

发布于 2024-09-04 06:25:10 字数 201 浏览 2 评论 0原文

Haskell 平台包含两个过时的库:old-timeold-locale。对于旧时间,它还包括首选替代方案(即 time),但我无法弄清楚 old-locale 的推荐替代方案是什么。

这只是目前平台(版本 2010.1.0.0)的一个缺点,还是我忽略的东西?

The Haskell platform includes two obsolete libraries, old-time and old-locale. For old-time, it also includes the preferred alternative (namely time), but 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

美胚控场 2024-09-11 06:25:10

根据定义,HP 中的库并未过时。但使用的具体名称取决于维护者。 old-locale 仍然是操作区域设置的首选机制。

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.

只是我以为 2024-09-11 06:25:10

old-locale-1.0.0.5 中,删除了弃用通知:http ://hackage.haskell.org/package/old-locale

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文