Skip to content

Commit 75c5dc3

Browse files
authored
Added tip to examples
1 parent f2825da commit 75c5dc3

23 files changed

+45
-0
lines changed

examples/args.roc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ app [main!] {
22
pf: platform "../platform/main.roc",
33
}
44

5+
# To run this example: check the README.md in this folder
6+
57
import pf.Stdout
68
import pf.Arg exposing [Arg]
79

examples/command.roc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
app [main!] { pf: platform "../platform/main.roc" }
22

3+
# To run this example: check the README.md in this folder
4+
35
import pf.Stdout
46
import pf.Cmd
57

examples/countdown.roc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
app [main!] { pf: platform "../platform/main.roc" }
22

3+
# To run this example: check the README.md in this folder
4+
35
import pf.Stdin
46
import pf.Stdout
57

examples/dir.roc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
app [main!] { pf: platform "../platform/main.roc" }
22

3+
# To run this example: check the README.md in this folder
4+
35
import pf.Stdout
46
import pf.Dir
57
import pf.Path

examples/echo.roc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
app [main!] { pf: platform "../platform/main.roc" }
22

3+
# To run this example: check the README.md in this folder
4+
35
import pf.Stdin
46
import pf.Stdout
57

examples/env-var.roc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
app [main!] { pf: platform "../platform/main.roc" }
22

3+
# To run this example: check the README.md in this folder
4+
35
import pf.Stdout
46
import pf.Env
57

examples/file-mixed.roc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
app [main!] { pf: platform "../platform/main.roc" }
22

3+
# To run this example: check the README.md in this folder
4+
35
import pf.Stdout
46
import pf.Stderr
57
import pf.File

examples/file-read-buffered.roc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
app [main!] { pf: platform "../platform/main.roc" }
22

3+
# To run this example: check the README.md in this folder
4+
35
import pf.Stdout
46
import pf.File
57

examples/file-read.roc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
app [main!] { pf: platform "../platform/main.roc" }
22

3+
# To run this example: check the README.md in this folder
4+
35
import pf.Stdout
46
import pf.File
57

examples/form.roc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
app [main!] { pf: platform "../platform/main.roc" }
22

3+
# To run this example: check the README.md in this folder
4+
35
import pf.Stdin
46
import pf.Stdout
57

0 commit comments

Comments
 (0)