Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Preferred way to do locales in the Haskell Platform

Tags:

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?

like image 464
user355466 Avatar asked Jun 01 '10 13:06

user355466


2 Answers

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.

like image 92
Don Stewart Avatar answered Dec 08 '22 16:12

Don Stewart


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

like image 23
fcar Avatar answered Dec 08 '22 14:12

fcar