(cl:in-package #:common-lisp-user)

(defpackage #:cluffer
  (:use)
  (:export
   #:buffer
   #:line
   #:cursor
   #:line-count
   #:item-count
   #:cursor-attached-p
   #:cursor-position
   #:beginning-of-line-p
   #:end-of-line-p
   #:forward-item
   #:backward-item
   #:beginning-of-line
   #:end-of-line
   #:item-at-position
   #:item-before-cursor
   #:item-after-cursor
   #:insert-item-at-position
   #:delete-item-at-position
   #:insert-item
   #:delete-item
   #:erase-item
   #:beginning-of-buffer
   #:end-of-buffer
   #:cluffer-error
   #:cursor-attached
   #:cursor-detached
   #:line-detached
   #:object-must-be-line
   #:object-must-be-buffer
   #:beginning-of-buffer-p
   #:end-of-buffer-p
   #:split-line-at-position
   #:split-line
   #:join-line
   #:items
   #:attach-cursor
   #:detach-cursor
   #:line-number
   #:find-line
   #:first-line-p
   #:last-line-p
   #:update))

(defpackage #:cluffer-internal
  (:use #:common-lisp)
  (:export #:line-split-line
	   #:line-join-line
	   #:dock
	   #:line
	   #:buffer
	   #:buffer-line-number
	   #:dock-split-line
	   #:buffer-split-line
	   #:dock-join-line
	   #:buffer-join-line
	   #:dock-line-number
	   #:notify-item-count-changed))

(defpackage #:cluffer-base
  (:use #:common-lisp)
  (:export))
