Skip to content

Commit 3db0e1d

Browse files
committed
"""
1 parent 1924c96 commit 3db0e1d

File tree

4 files changed

+28
-12
lines changed

4 files changed

+28
-12
lines changed

pkgs/roc/out-in.kdl

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
"string interpolation" {
2+
out "$(foo)"
3+
in "${bar}"
4+
}
5+
interfaces {
6+
out "abilities - TODO"
7+
in "where clauses static dispatch"
8+
}
9+
"calling functions" {
10+
out #"""
11+
f x.y() |> z \z, y -> {{}}
12+
"""#
13+
in """
14+
.everything(42).is(a).method(|_|_)
15+
"""
16+
}
17+
"lambda/function syntax" {
18+
out #"""
19+
\lambda - TODO
20+
"""#
21+
in #"""
22+
|x|x*x
23+
"""#
24+
}
25+
language {
26+
out rust
27+
in zig
28+
}

pkgs/roc/out-in.md

Lines changed: 0 additions & 12 deletions
This file was deleted.
0 Bytes
Binary file not shown.
56 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)