justinmeiners / srcweave

A literate programming system for any language.
https://www.jmeiners.com/literate-programming/
GNU General Public License v2.0
78 stars 4 forks source link

Allow empty files #25

Closed eihli closed 1 year ago

eihli commented 1 year ago

alexandria-2:last-elt throws on empty sequences.

If this isn't a use-case worth supporting, it might at least be worth providing something friendlier than a stack trace.

justinmeiners commented 1 year ago

Thanks! I might consider adding a warning log, but this is great.