Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Collections/Racket/collections.rkt
Normal file
8
Task/Collections/Racket/collections.rkt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#lang racket
|
||||
|
||||
;; create a list
|
||||
(list 1 2 3 4)
|
||||
;; create a list of size N
|
||||
(make-list 100 0)
|
||||
;; add an element to the front of a list (non-destructively)
|
||||
(cons 1 (list 2 3 4))
|
||||
Loading…
Add table
Add a link
Reference in a new issue