diff --git a/module/srfi/srfi-13.mes b/module/srfi/srfi-13.mes index 18a7f650..c4e34c46 100644 --- a/module/srfi/srfi-13.mes +++ b/module/srfi/srfi-13.mes @@ -52,3 +52,9 @@ (loop (cdr rest) (append result (list (list->string (list-head lst (- (length lst) (length rest))))))))))) + +(define (string-take s n) + (list->string (list-head (string->list s) n))) + +(define (string-drop s n) + (list->string (list-tail (string->list s) n)))