diff options
Diffstat (limited to 'input.lisp')
-rw-r--r-- | input.lisp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -25,6 +25,9 @@ :file (file input) :cursor (+ (cursor input) amount))) +(defun input-sub (input1 input2) + (- (cursor input1) (cursor input2))) + (defun from-string (str) (make-instance 'input :data str)) |