
15 Jun
2009
15 Jun
'09
5:56 a.m.
Am Montag 15 Juni 2009 11:03:36 schrieb Luke Palmer:
We can transform this to:
startsWithUpper string = isUpper (head string)
Under the precondition that the input is not []. So this function has become less general.
What about all isUpper . take 1 ? But of course the source reveals that words never puts an empty string into the list.