This commit is contained in:
Jay McCarthy 2018-01-07 07:16:36 -05:00
parent dd7aa58359
commit a72c7ffcfc
1 changed files with 3 additions and 4 deletions

View File

@ -6,6 +6,8 @@
syntax/parse)
"buffer.rkt")
;; XXX ensure that argument order is ALWAYS w h r c
(define (strict-or a b) (or a b))
(define current-style (make-parameter 'normal))
@ -247,10 +249,7 @@
#:valign [row-valign 'top]
#:halign [halign 'left])
(define (list-ref* i l)
(cond
[(not (pair? l)) l]
[(zero? i) (first l)]
[else (list-ref* (sub1 i) (rest l))]))
(list-ref l (min i (sub1 (length l)))))
(define (col-halign-sel i halign)
(match halign
[(? symbol?) halign]