Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jkosata authored Aug 24, 2023
1 parent 359a5f5 commit 3fdf3d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ julia> fieldnames(mystruct)

julia> mystruct(1, 2, [])
mystruct(1.0, 2, Any[])

julia> mystruct <: abs_type
true
```

### Default values
Expand Down Expand Up @@ -54,4 +57,4 @@ julia> abstract type supertype end
julia> @with_fields abs_type <: supertype a_def b_def
julia> abs_type <: supertype
true
```
```

0 comments on commit 3fdf3d0

Please sign in to comment.