[Haskell-cafe] Haskell wiki: most popular pages

Robert Dockins robdockins at fastmail.fm
Fri Aug 18 12:39:04 EDT 2006


On Aug 18, 2006, at 12:23 PM, Tim Walkenhorst wrote:

> 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.
>
> Btw.:
>
> 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.


http://www.haskell.org/ghc/docs/latest/html/libraries/base/Data- 
Char.html


> 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.
>
> Tim


Rob Dockins

Speak softly and drive a Sherman tank.
Laugh hard; it's a long way to the bank.
           -- TMBG





More information about the Haskell-Cafe mailing list