I have this
#+begin_src haskell :results silent :exports code
:{
maximum'' :: (Ord a) => [a] -> a
maximum'' = foldl1 (\x acc -> if x > acc then x else acc)
:}
#+end_src
but on export to HTML (or LaTex) I'd like to suppress the :{ and :} to just
show the code
maximum'' :: (Ord a) => [a] -> a
maxi
Hi Lawrence,
You can use multiple blocks and noweb reference syntax
(https://orgmode.org/manual/Noweb-Reference-Syntax.html):
#+NAME:block1
#+begin_src haskell :results silent :exports none
:{
#+end_src
#+NAME:block2
#+begin_src haskell :results silent :exports none
maximum'' :: (Ord a) => [a] -