[Haskell-cafe] Language simplicity

Miguel Mitrofanov miguelimo38 at yandex.ru
Wed Jan 13 14:44:32 EST 2010

On 13 Jan 2010, at 22:25, Andrew Coppin wrote:

> Colin Paul Adams wrote:
>>    Andrew> It's weird that us Haskell people complain about there
>>    Andrew> being only 26 letters in the alphabet
>> Which alphabet?
>> You have plenty of choice in Unicode.
> Er... I was under the impression that Haskell source code uses the  
> ASCII character set, not Unicode.
> (And even if that's not the case, I've yet to find a way to type in  
> the Unicode characters which are hypothetically possible.)

module Main where
import Prelude hiding (putStrLn)
import System.IO.UTF8
main = let é = "Andrew Coppin снова оказался неправ"
            ç = что_то_там where что_то_там = undefined
        in putStrLn é

More information about the Haskell-Cafe mailing list