[Haskell-cafe] Why Maybe exists if there is Either?

Daniil Frumin difrumin at gmail.com
Wed Jan 22 10:04:48 UTC 2014


Ha, this is a clever trick. Does it really work in all the cases?

On Wed, Jan 22, 2014 at 1:23 PM, Joachim Breitner
<mail at joachim-breitner.de> wrote:
> Hi,
>
> Am Mittwoch, den 22.01.2014, 14:56 +1300 schrieb Richard A. O'Keefe:
>> If there is _any_ sane way to reverse a Unicode string,
>> which I rather doubt,
>> it would be _horrible_ to implement it.
>
> I suggest this:
>
>> reverse unicode_str = '\u202E' : unicode_str
>
> It works great!
>
> Greetings,
> Joachim
>
>
> --
> Joachim “nomeata” Breitner
>   mail at joachim-breitner.dehttp://www.joachim-breitner.de/
>   Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0x4743206C
>   Debian Developer: nomeata at debian.org
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
Sincerely yours,
-- Daniil


More information about the Haskell-Cafe mailing list