Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a FAQ section to the docs #2993

Merged
merged 3 commits into from
May 20, 2022
Merged

Conversation

TimWSpence
Copy link
Member

Add a FAQ section to the docs with details of how to run Cats Effect code in scala-cli

docs/faq.md Outdated

```scala-cli
//> using scala "2.13.8"
//> using lib "org.typelevel::cats-effect:3.3.11"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's harmless on JVM, and saves you from weird errors on JS.

Suggested change
//> using lib "org.typelevel::cats-effect:3.3.11"
//> using lib "org.typelevel::cats-effect::3.3.11"

docs/faq.md Outdated
import cats.effect._

object HelloWorld extends IOApp.Simple {
override val run: IO[Unit] = IO.println("Hello world")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
override val run: IO[Unit] = IO.println("Hello world")
val run: IO[Unit] = IO.println("Hello world")

armanbilge
armanbilge previously approved these changes May 19, 2022
@djspiewak djspiewak merged commit 1305575 into typelevel:series/3.3.x May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants