CT_from_Programmers.scala icon indicating copy to clipboard operation
CT_from_Programmers.scala copied to clipboard

Scala sample code for Bartosz Milewski's CT for Programmers

Results 6 CT_from_Programmers.scala issues
Sort by recently updated
recently updated
newest added

Adjusted so it's the right order with the book snippets

I just ran across [this](https://github.com/hmemcpy/milewski-ctfp-pdf) by @hmemcpy … it would be awesome if we could get on that train somehow and have a printable Scala version.

There's currently the ugly type lambda syntax (see 1.7 for example) In addition to the comment about Kind projector, maybe (in addition) specify the proposed dotty/scala3 syntax?

```hs data Maybe a = Nothing | Just a deriving Functor ``` I intend to add a "notes" page in the scala edition of the CT book that explains some...

There is some Haskell code in Challenges (e.g. 1.6 - Simple ADTs) Do we want to Scalalize it as well?