On Mon, Mar 26, 2012 at 8:34 AM, Malcolm Wallace <malcolm.wall...@me.com> wrote: > Yes indeed. And I think it would be perfectly reasonable for the String (= > [Char]) API to have a function "normalise :: String -> String" which would > let the user deal with this issue as they see fit. After all, if you are > aware of the difference between combining characters and normalised > characters, then you will want to make your own decision about what semantics > you want from operations like "take".
Normalization isn't quite enough unfortunately, as it does solve e.g. upcase = map toUppper You need all-at-once functions on strings (which we could add.) I'm just pointing out that most (all?) list functions do the wrong thing when used on Strings. _______________________________________________ Haskell-prime mailing list Haskell-prime@haskell.org http://www.haskell.org/mailman/listinfo/haskell-prime