Is there any way to execute code in a .lhs file and put the result right below the code itself in the resulting PDF?
For example:
[1,2,3] ++ [4,5,6] [1,2,3,4,5,6]