8000 GitHub - sjbiaga/kittens: Lessons of Scala Cats
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sjbiaga/kittens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lessons in Scala Cats

Lesson 01: Covariant vs Contravariant Types

Lesson 02: Closures and Stack Safety

Lesson 03: A Rich Language of Expressions

Lesson 04: Trampoline and Monads

Lesson 05: Monoids

Lesson 06: Natural Transformations

Lesson 07: Traversable

Lesson 08: Monad Transformers

Lesson 09: Recursion

Examples

Make a backup of ~/.dotty_history, then copy the .dotty_history from some lesson, and launch the REPL:

scala-cli repl -S 3.7.2-RC1 --dep org.typelevel::cats-effect:3.6.2                        \
                            --dep org.typelevel::cats-core:2.13.0                         \
                            --dep org.typelevel::cats-free:2.13.0                         \
                            --dep org.typelevel::algebra:2.13.0                           \
                            -
5740
-dep org.scala-lang.modules::scala-parser-combinators:2.4.0

Execute each line from the beginning, in this order.

Projects

Each project is named kittens built with SBT developed in Scala 3.

0