Molds

See Mold.

Molds can be challenging to use. Let's use tests to document them then! Let me show you how moldable-emacs is self documenting. And that one can generate useful documentation from source code. post

:given (:fn (and (executable-find "graph") (me/require 'esxml) report))

Actually there is more than one here. First we have the :given which tells there is a precondition. Then we have :fn that I have recently introduced. post And finally we have (executable-find "graph") and (me/require 'esxml)! This last ones are the stars of the show today. I have been evolving a pattern: any time I use an external Emacs package or an external software, I use these functions. We need to get the most from the little we got, remember? Indeed, I find these functions useful as precondition of a mold. If these return false, the mold is unusable. So the first benefit is mold selection. And you can see that this pattern hints that we can collect dependencies easily. Do you see where I am going? Now moldable-emacs is about molds that help you understand software in the way you need it. In this case, I would like to know what molds I can use and what I can't. And if I can't, what am I missing.

This is how it works. Video showing WhatMoldsCanIUse dependency and demo mp4