--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgtags Thu Mar 07 12:44:55 2019 -0500
@@ -0,0 +1,1 @@
+8524e8a06be6aae9156044329b5193a0f3e3beab v1.0.0
--- a/bobbin.asd Thu Mar 07 12:42:29 2019 -0500
+++ b/bobbin.asd Thu Mar 07 12:44:55 2019 -0500
@@ -4,7 +4,7 @@
:homepage "https://sjl.bitbucket.io/bobbin/"
:license "MIT"
- :version "0.0.1"
+ :version "1.0.0"
:depends-on (:split-sequence)
--- a/docs/01-usage.markdown Thu Mar 07 12:42:29 2019 -0500
+++ b/docs/01-usage.markdown Thu Mar 07 12:44:55 2019 -0500
@@ -79,6 +79,25 @@
"another"
"line")
+The strings in the list may contain newlines themselves — they will be split and
+the result will still be one flat list of lines. You can use this to trick
+Bobbin into returning a list even when you're just passing it one string, by
+wrapping the input in a list:
+
+ (defparameter *foo* (format nil "foo and bar~%cat and mouse"))
+
+ (bobbin:wrap *foo* 8)
+ "foo and
+ bar
+ cat and
+ mouse"
+
+ (bobbin:wrap (list *foo*) 8)
+ ("foo and"
+ "bar"
+ "cat and"
+ "mouse")
+
Possible Future Features
------------------------
@@ -90,3 +109,4 @@
* Handle wide characters.
* `unwrap` function to make writing paragraphs easier.
* Maybe reindent broken lines?
+* Add `skip-p` argument to allow raw lines.