Skip to content

Instantly share code, notes, and snippets.

@bjing
Last active September 11, 2023 02:12
Show Gist options
  • Save bjing/ef107fa8313ffb54fd144c056b9e2a68 to your computer and use it in GitHub Desktop.
Save bjing/ef107fa8313ffb54fd144c056b9e2a68 to your computer and use it in GitHub Desktop.
Use Cats and Cats Effect in Ammonite
interp.configureCompiler(_.settings.YpartialUnification.value = true)
import $ivy.`org.typelevel::cats-core:2.10.0`
import $ivy.`org.typelevel::cats-effect:3.5.1`
import cats._
import cats.implicits._
import cats.effect._
import cats.effect.unsafe.implicits._
import cats.effect.IO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment