diff --git a/functions.rkt b/functions.rkt index e5877df..6974e9f 100644 --- a/functions.rkt +++ b/functions.rkt @@ -35,7 +35,7 @@ [apply-tbf (-> tbf? (vectorof (or/c 0 1)) (or/c 0 1))] [apply-tbf/boolean (-> tbf? (vectorof boolean?) boolean?)] [list->tbf (-> (cons/c number? (cons/c number? (listof number?))) tbf?)] - [read-org-tbfs (-> (listof (listof number?)) (listof tbf?))])) + [read-tbfs (-> (listof (listof number?)) (listof tbf?))])) (module+ test (require rackunit)) @@ -294,9 +294,9 @@ ;;; Reads a list of TBF from an Org-mode table read by ;;; read-org-sexp. -(define read-org-tbfs ((curry map) list->tbf)) +(define read-tbfs ((curry map) list->tbf)) (module+ test - (test-case "read-org-tbfs" - (check-equal? (read-org-tbfs '((1 2 3) (2 3 4))) + (test-case "read-tbfs" + (check-equal? (read-tbfs '((1 2 3) (2 3 4))) (list (tbf '#(1 2) 3) (tbf '#(2 3) 4)))))