You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: collections/_posts/2013-10-18-treelog.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ There are a number of problems with this approach:
23
23
24
24
Treelog resolves these issues by making the log itself a tree, reflecting the computational tree it logs, and uses techniques described in the [Typeclassopedia](http://www.haskell.org/wikiupload/e/e9/Typeclassopedia.pdf) to bring logging closer to the computation: the `Writer` Monad, a Monad Transformer, and a cunning Monoid.
25
25
26
-
Note that this post is a more technical description of how Treelog was written. For a quick introduction of use please refer to the [README].
26
+
Note that this post is a more technical description of how Treelog was written. For a quick introduction of use please refer to the README.
27
27
I will also refer you to Eugene Yokota's [excellent Scalaz tutorial](http://eed3si9n.com/learning-scalaz/) to study the details of Scalaz where appropriate.
28
28
29
29
Logging with Treelog
@@ -87,7 +87,7 @@ Syntactic Sugar
87
87
88
88
Treelog makes use of some syntactic sugar inspired by [TonyMorris's post](http://blog.tmorris.net/posts/the-writer-monad-using-scala-example/) on `Writer`. In the example above, `~>` is a method on an implicitly constructed classwhich takes any value `x: T` and returns a `DescribedComputation[T]`, representing the value `x` and a leaf node containing the description.
89
89
90
-
There is special support for `Boolean`s, `Option`s, `Either`s and `Traversable`s which you can learn about from the Treelog[README].
90
+
There is special support for `Boolean`s, `Option`s, `Either`s and `Traversable`s which you can learn about from the TreelogREADME.
Copy file name to clipboardExpand all lines: collections/_posts/2017-12-20-who-implements-typeclass.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -392,7 +392,7 @@ because
392
392
names with variable typepatterns.
393
393
1. You can’t use variable typepatternswith the structural
394
394
“ADT-style” patterns; you must instead use inelegant and
395
-
inconvenient [non-variable]typepatterns. (This may be
395
+
inconvenient (non-variable)typepatterns. (This may be
396
396
[improved in TypelevelScala4](https://github.com/typelevel/scala/blob/typelevel-readme/notes/typelevel-4.md#type-arguments-on-patterns-pull5774-paulp).)
397
397
398
398
Yetthis remains entirely up to shortcomings in the current pattern
0 commit comments