justinmeiners / srcweave

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

Allow empty files #25

Closed eihli closed 2 years ago

eihli commented 2 years 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 2 years ago

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