Skip to content

Commit 901a4cb

Browse files
authored
Create README
1 parent 81bcccc commit 901a4cb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/helpers/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Note that the helpers defined here are used in tests, and they are useful to test out code in the REPL.
2+
3+
```julia
4+
twox(x) = 2x
5+
# run code in the REPL
6+
@jlrun twox(3)
7+
# compile to an executable in a `standalone` directory
8+
exegen([ (twox, Tuple{Int}, 4) ])
9+
```
10+
11+
These are not meant to be a permanent part of the API. They are just for testing.

0 commit comments

Comments
 (0)