Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
import StdEnv
|
||||
|
||||
less s1 s2
|
||||
| size s1 > size s2 = True
|
||||
| size s1 < size s2 = False
|
||||
| otherwise = lower s1 < lower s2
|
||||
where
|
||||
lower :: String -> String
|
||||
lower s = {toLower c \\ c <-: s}
|
||||
|
||||
Start = sortBy less ["This", "is", "a", "set", "of", "strings", "to", "sort"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue