Skip to content

Commit

Permalink
more removal
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Oct 19, 2023
1 parent 49022e6 commit 8ea5ba8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions courses/Recipes/Toys/Hello/Hello.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,14 @@ hello()
To have the `hello` function also for the future and to let it be used by others,
we will place it in a file. A Rascal file is called a "module":

```rascal-include
demo::basic::Hello
```rascal
module demo::basic::Hello
import IO;
void hello() {
println("Hello world, this is my first Rascal program!");
}
```

This module should be placed in `<project dir>/src/demo/basic/Hello.rsc`.
Expand Down

0 comments on commit 8ea5ba8

Please sign in to comment.