Skip to content

Commit

Permalink
fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
piever committed Mar 12, 2018
1 parent 0a0fd60 commit ddf0f05
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/byrow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ a b
1 "x1"
2 "y2"
3 "z3"
```
"""
macro byrow!(d, x)
esc(byrow_helper(d, x))
Expand Down
1 change: 1 addition & 0 deletions src/map.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ a copy b
1 1 "x"
2 2 "y"
3 3 "z"
```
"""
macro map(d, x)
esc(map_helper(d, x))
Expand Down
2 changes: 2 additions & 0 deletions src/transform.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ a b a .+ 1
1 "x" 2
2 "y" 3
3 "z" 4
```
"""
macro transform_vec(d, x)
esc(transform_vec_helper(d, x))
Expand Down Expand Up @@ -66,6 +67,7 @@ a b a + 1
1 "x" 2
2 "y" 3
3 "z" 4
```
"""
macro transform(d, x)
esc(transform_helper(d, x))
Expand Down
3 changes: 3 additions & 0 deletions src/where.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Table with 1 rows, 2 columns:
a b
──────
3 "z"
```
"""
macro where_vec(d, expr)
esc(where_vec_helper(d, expr))
Expand All @@ -45,6 +46,7 @@ Use `{}` syntax for automatically named `NamedTuples`.
## Examples
```jldoctest where
julia> using JuliaDB
julia> t = table(@NT(a = [1,2,3], b = ["x","y","z"]));
Expand All @@ -55,6 +57,7 @@ a b
──────
1 "x"
2 "y"
```
"""
macro where(d, expr)
esc(where_helper(d, expr))
Expand Down

0 comments on commit ddf0f05

Please sign in to comment.