Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
(def 'Colors
|
||||
(list
|
||||
(def 'RED 1)
|
||||
(def 'WHITE 2)
|
||||
(def 'BLUE 3) ) )
|
||||
|
||||
(let (L (make (do 9 (link (get Colors (rand 1 3))))) S (by val sort L))
|
||||
(prin "Original balls ")
|
||||
(print L)
|
||||
(prinl (unless (= L S) " not sorted"))
|
||||
(prin "Sorted balls ")
|
||||
(print S)
|
||||
(prinl " are sorted") )
|
||||
Loading…
Add table
Add a link
Reference in a new issue