diff --git a/README.md b/README.md index cc08775..8029677 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,9 @@ julia> fieldnames(mystruct) julia> mystruct(1, 2, []) mystruct(1.0, 2, Any[]) + +julia> mystruct <: abs_type +true ``` ### Default values @@ -54,4 +57,4 @@ julia> abstract type supertype end julia> @with_fields abs_type <: supertype a_def b_def julia> abs_type <: supertype true -``` \ No newline at end of file +```