Skip to content

Commit

Permalink
update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornregnell committed Jun 20, 2024
1 parent b82fc58 commit 73d5f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Add these magic comment lines starting with `//>` in the beginning of your Scala
//> using scala 3
//> using lib "se.lth.cs::introprog:1.4.0"
```
You can choose the latest stable Scala version, or any version from at least 3.3.3 LTS, which this library is compiled against.
You can choose the latest stable Scala version, or any version from at least Scala 3.3.3.

You run your code with `scala-cli run .` (note the ending dot, meaning "this dir")

Expand All @@ -40,7 +40,7 @@ If your program looks like this:
//> using scala 3
//> using lib "se.lth.cs::introprog:1.4.0"
@main def run =
@main def MyMain =
val w = introprog.PixelWindow()
w.drawText("Hello introprog.PixelWindow!", x = 100, y = 100)
```
Expand Down

0 comments on commit 73d5f5c

Please sign in to comment.