aboutsummaryrefslogtreecommitdiff
path: root/impls/num-gen.el
blob: e0ba7e0b3ab5059a155f0038873856db53c4db44 (plain)
1
2
3
4
5
6
7
8
9
10
(defconst *LIST-SIZE* 128)
(defconst *UPPER-BOUND* 1024)
(with-current-buffer (find-file "nums.txt")
  (mapcar
   #'(lambda (res) (insert (format "%s\n" res)))
   (cl-remove-duplicates
    (cl-loop
     for i from 0 to *LIST-SIZE*
     collect
     (random *UPPER-BOUND*)))))