]> Git — Sourcephile - haskell/literate-accounting.git/blob - src/demo.org
impl: lint code
[haskell/literate-accounting.git] / src / demo.org
1 :PROPERTIES:
2 :header-args:haskell: :prologue ":{\n" :epilogue ":}\n"
3 :END:
4
5 #+begin_src haskell :prologue "" :epilogue "" :results output
6 :set prompt-cont ""
7 import Literate.Accounting
8 import Literate.Accounting.PCG.Chart
9 import Prelude (Int, Num(..))
10 #+end_src
11
12 #+RESULTS:
13
14 #+begin_src haskell
15 print (24::Int)
16 show
17 balance
18 lift
19 map
20 fmap
21 singleton
22 #+end_src
23
24 #+RESULTS:
25 : <interactive>:21:1-4: error: Variable not in scope: show