Fork me on GitHub
#other-languages
<
2022-03-20
>
respatialized20:03:35

https://www.unison-lang.org/learn/usage-topics/documentation/ Unison supports type-checked example code, inline evaluation, and https://en.wikipedia.org/wiki/Transclusion as part of its data structures for documentation (docs are themselves values in Unison programs). Seems like a world apart from code frozen in strings.

Ben Sless04:03:22

Unison is full of interesting bits. I wonder how much of this example could be done in Clojure with metadata

💡 1
respatialized13:03:11

https://danielgregoire.dev/posts/2021-10-15-clojure-src-test-meta/ I think the approach outlined here would dovetail nicely with using metadata for that purpose.

Ben Sless13:03:46

Why didn't I know about this library before 😮

Ben Sless13:03:56

imagine plugging the visualizers to Emacs or Portal