[Haskell-cafe] Haskell wiki: most popular pages

Tim Walkenhorst tim.walkenhorst at gmx.de
Fri Aug 18 12:23:16 EDT 2006

Bulat Ziganshin wrote:
> i think that definitions with omitted arguments can be more hrd to
> understand to newbie haskellers, especiallyones who not yet know the
> language. as Tamas suggests, this page can be used to present to such
> newbies taste of Haskell so listing all the parameters may allow to
> omit unnecessary complications in this "first look into language"
I agree with that. The and = ... wasn't really an improvement over and 
xs = ... xs, and if the later is easier to read that's good.


What happened to isSpace, toLower and toUpper (, from the tutorial)? 
(I)sSpace must be there for words anyway, so I can't see why it's 
missing. (T)oLower and toUpper might have some subleties with 
internationalization and stuff, but they would be useful for me even as 
a poor man's version which can just convert "A-Z", "a-z" and no umlauts.

I feel that Haskell is missing some basic string manipuation functions, like
- replacing all occurances of one substring (or sublist) with another 
string (or list).
- tokenize a string by an arbitrary delimeter

I know many of these functions can be written in Haskell without much 
effort. But I don't really want to "invent" isSpace for any program.


More information about the Haskell-Cafe mailing list