[Haskell-cafe] Porting setlocale to Windows

Alexey Shmalko rasen.dubi at gmail.com
Thu Jan 1 22:13:58 UTC 2015


The third option is to make `setLocale LC_MESSAGES` do nothing. I believe,
it's perfectly acceptable in this case and is much better than making it an


2015-01-01 21:45 GMT+02:00 Sven Bartscher <
sven.bartscher at weltraumschlangen.de>:

> Greetings,
> A while ago I took over the packages setlocale.
> I now would like to make it portable to windows, but came across the
> problem that LC_MESSAGES isn't defined on mingw.
> I thought about these options, for solving this:
>  - Not defining LC_MESSAGES, which would mean, every package using
>    LC_MESSAGES wouldn't be portable to windows.
>  - Defining LC_MESSAGES as some an error, which would basically have
>    the same problem as above.
> I don't like either of these solutions, but don't know any better.
> I would be happy about suggestions.
> Regards
> Sven
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20150102/f300822d/attachment.html>

More information about the Haskell-Cafe mailing list