Functions that call to Rust
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | foo_hello()
foo_int()
foo_int_sq()
foo_intx(x = 42L)
foo_intxy(x = 42L, y = 17L)
foo_intn(x = 1:2)
foo_mk_seq(x = 10L)
foo_int_cumsum(x = 1:10)
foo_dbl()
foo_dbl_sq()
foo_dblx(x = 4.2)
foo_dblxy(x = 4.2, y = 1.7)
foo_mk_dbl(x = 10L)
foo_dbl_sum(x = seq(0, 1, 0.5))
|
foo_hellono input; returns "Hello, world"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.