[Haskell-cafe] some ideas for Haskell', from Python

Manlio Perillo manlio_perillo at libero.it
Wed Jan 14 09:59:28 EST 2009


Hi.

There are two features found in Python language, that I would like to 
see in Haskell.

1) In a Python string it is available the \U{name} escape, where name is
    a character name in the Unicode database.

    As an example:
        foo = u"abc\N{VULGAR FRACTION ONE HALF}"

2) In Python it is possible to import modules inside a function.

    In Haskell something like:

    joinPath' root name =
        joinPath [root, name]
        importing System.FilePath (joinPath)



Thanks  Manlio Perillo


More information about the Haskell-Cafe mailing list