hi
I am having trouble with a function that is supposed to eliminate spaces from
the start of a String and return the resulting string. I reckon a dropWhile
could be used but the isSpace bit is causing me problems...
words :: String - String
words a = case dropWhile isSpace a of
On Dec 4, 2007 12:13 PM, Ryan Bloor [EMAIL PROTECTED] wrote:
hi
I am having trouble with a function that is supposed to eliminate spaces
from the start of a String and return the resulting string. I reckon a
dropWhile could be used but the isSpace bit is causing me problems...
You need to
HI
I will try and explain it better.
I am meaning to write a function that takes a string, apple and
eliminates the spaces at the start ONLY. called removeSpace :: String
- String
I decided to use the function 'dropWhile' and another one 'isSpace' in the
'removeSpace'
On Dec 4, 2007 1:29 PM, Ryan Bloor [EMAIL PROTECTED] wrote:
HI
I will try and explain it better.
I am meaning to write a function that takes a string, apple and
eliminates the spaces at the start ONLY. called removeSpace ::
String - String
I decided to use the function
look at the examples of dropWhile usage you got from the first result
when you get when you google on dropWhile.
t.
2007/12/4, Ryan Bloor [EMAIL PROTECTED]:
HI
I will try and explain it better.
I am meaning to write a function that takes a string, apple and
eliminates the spaces at
On Tue, Dec 04, 2007 at 05:13:19PM +, Ryan Bloor wrote:
hi
I am having trouble with a function that is supposed to eliminate spaces from
the start of a String and return the resulting string. I reckon a dropWhile
could be used but the isSpace bit is causing me problems...
words ::