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