I have a chapter heading in a literate program, in which all source-code is tangled into a single file called
test.hs. It is irritating and error-prone to have to repeatedly type
:tangle code/src/test.hs for every new code block
Hence I would like to use the properties drawer of that chapter to once and for all tell Emacs to tangle ALL source code it sees inside this subtree to go into the file
My attempt at trying this did not work. How do I fix it?
** New Chapter
:tangle: code/src/test.hs (This does not work!)
import qualified Data.Map as Map
main = print "Hello World"
Here's the `add` function to add two numbers.
add a b = a+b