Skip to content

Commit 010caec

Browse files
committed
this is what snark looks like Seth.
1 parent c221b39 commit 010caec

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

manuscript/backmatter.md

+8
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,14 @@ explicitly, which is more boilerplate but makes the code easier to read:
634634
println line
635635
~~~~~~~~
636636

637+
Whereas in Scala this encoding may be called *Finally Tagless*, in Haskell it is
638+
known as MTL style. Without going into details, some Scala developers didn't
639+
understand a research paper about the performance benefits of [Generalised ADTs
640+
in Haskell](http://okmij.org/ftp/tagless-final/index.html#tagless-final).
641+
642+
An alternative to MTL style are *Extensible Effects*, also known as [Free Monad
643+
style](http://okmij.org/ftp/Haskell/extensible/more.pdf).
644+
637645

638646
## Modules
639647

manuscript/book.org

+8
Original file line numberDiff line numberDiff line change
@@ -17026,6 +17026,14 @@ echo Console{readln, println} = do line <- readln
1702617026
println line
1702717027
#+END_SRC
1702817028

17029+
Whereas in Scala this encoding may be called /Finally Tagless/, in Haskell it is
17030+
known as MTL style. Without going into details, some Scala developers didn't
17031+
understand a research paper about the performance benefits of [[http://okmij.org/ftp/tagless-final/index.html#tagless-final][Generalised ADTs
17032+
in Haskell]].
17033+
17034+
An alternative to MTL style are /Extensible Effects/, also known as [[http://okmij.org/ftp/Haskell/extensible/more.pdf][Free Monad
17035+
style]].
17036+
1702917037
*** Modules
1703017038

1703117039
Haskell source code is arranged into hierarchical modules with the restriction

0 commit comments

Comments
 (0)