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

Joachim Breitner mail at joachim-breitner.de
Wed Jan 22 09:23:51 UTC 2014


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!


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140122/f4f31c82/attachment.sig>

More information about the Haskell-Cafe mailing list