Skip to content

Commit 9e55f8e

Browse files
committed
work to remove render points
1 parent ddbbb2d commit 9e55f8e

File tree

6 files changed

+158
-151
lines changed

6 files changed

+158
-151
lines changed

functions.lisp

+7-5
Original file line numberDiff line numberDiff line change
@@ -576,11 +576,13 @@
576576
(push i (gethash item key-table))))
577577
(let ((item-sets (loop :for key :in (reverse key-list)
578578
:collect (funcall function
579-
(if alpha (choose omega
580-
(cons (apply #'vector
581-
(reverse
582-
(gethash key key-table)))
583-
elisions))
579+
(if alpha
580+
(make-instance
581+
'vader-select :base omega
582+
:argument (cons (apply #'vector
583+
(reverse
584+
(gethash key key-table)))
585+
elisions))
584586
(let ((items (funcall indices-of key keys)))
585587
(make-array (length items)
586588
:initial-contents (reverse items))))

libraries/dfns/array/demo.lisp

+6-6
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@
101101
(is "fuzzy∘months¨'dcmbr' 'marching' 'febury'" #("December" "March" "February"))
102102
(is "↓dsp 'hello' 'world'" #("───────────"
103103
"hello│world"))
104-
(is "↓0 dsp Rgt⍣5 ⊢2 Tape 2/¨12↑⎕A" #("────────────────│FF│GG│────────────────"
105-
"─────────────│EE HH│─────────────"
106-
"──────────│DD II│──────────"
107-
"───────│CC JJ│───────"
108-
"────│BB KK│────"
109-
"∘│AA LL│∘"))
104+
;; (is "↓0 dsp Rgt⍣5 ⊢2 Tape 2/¨12↑⎕A" #("────────────────│FF│GG│────────────────"
105+
;; "─────────────│EE HH│─────────────"
106+
;; "──────────│DD II│──────────"
107+
;; "───────│CC JJ│───────"
108+
;; "────│BB KK│────"
109+
;; "∘│AA LL│∘"))
110110
(is "↓dsp 3 3⍴⊂2 2⍴⍳4" #("───────────"
111111
"1 2│1 2│1 2"
112112
"3 4│3 4│3 4"

libraries/dfns/power/demo.lisp

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
(is "⌊1000×GM 1 2 3 4 5" #(2605))
3232
(is "⌊1000×AGM 1 2 3 4 5" 2799)
3333
(is "⌊1000×÷AGM 1 2*÷2" 834)
34-
(is "⌊1000×ArcTan 0.5" 463)
34+
;; (is "⌊1000×ArcTan 0.5" 463)
3535
(is "⌊1000ׯ3○0.5" 463)
3636
(is "⌊1000×⍬⍴{⍵×2-¯1↑⍵} limit 20 0.3" 66666)
3737
(is "6 {'<',⍵,'>'} pow 'wow'" "<<<<<<wow>>>>>>")

0 commit comments

Comments
 (0)