Hello!
On Wed, May 02, 2001 at 01:42:55AM -0700, Ashley Yakeley wrote:
> At 2001-05-02 01:34, Hannah Schroeter wrote:
> >capitalize (c:cs) = toUpper c : cs
> >capitalizeList = map capitalize
> ...or if you prefer...
> capitalizeList :: [String] -> [String]
> capitalizeList = map (map toUpper)
On Wed, 2 May 2001, Jerzy Karczmarczuk wrote:
> I am relatively new to Haskell.
>
> Somebody told me that it is a very good language, because all the
> people on its mailing list are so nice that they solve all
> homeworks, even quite silly, of all students around, provided they
> ask for a s
> >Ah, but (i) not all the solutions are correct (sorry Ashley);
>
> That rather depends on what you mean by CAPITALISE, does it not?
>
> capitalise, -ize to print or write with capital letters [Chambers]
I guess so. Maybe someone at Monash University (Australia) would care
to
enlighten us?
At 2001-05-02 04:54, Keith Wansbrough wrote:
>Ah, but (i) not all the solutions are correct (sorry Ashley);
That rather depends on what you mean by CAPITALISE, does it not?
capitalise, -ize to print or write with capital letters [Chambers]
--
Ashley Yakeley, Seattle WA
__
> I am relatively new to Haskell.
>
> Somebody told me that it is a very good language, because all the
> people on its mailing list are so nice that they solve all
> homeworks, even quite silly, of all students around, provided they
> ask for a solution in Haskell.
>
> Is that true, or a littl
I am relatively new to Haskell.
Somebody told me that it is a very good language, because all the
people on its mailing list are so nice that they solve all
homeworks, even quite silly, of all students around, provided they
ask for a solution in Haskell.
Is that true, or a little exaggerated?
At 2001-05-02 01:34, Hannah Schroeter wrote:
>How about this:
>
>import Char(toUpper)
>
>capitalize :: String -> String
>capitalize [] = []
>capitalize (c:cs) = toUpper c : cs
>
>capitalizeList :: [String] -> [String]
>capitalizeList = map capitalize
...or if you prefer...
capitalizeList :: [St
Hello!
On Wed, May 02, 2001 at 01:31:54AM -0700, lynn yeong wrote:
> Hi, I'm fairly new to Haskell, and recently I came upon a question which asks to
>capitalise all words in a given list. I haveno idea how to do it, can you help?
>Thanks!
[please wrap your lines!]
How about this:
import Cha
Hi, I'm fairly new to Haskell, and recently I came upon a question which asks to capitalise all words in a given list. I haveno idea how to do it, can you help? Thanks!Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices