From 3fdf3d020a64cb7f1be6ab398cc6361ebb2e19c9 Mon Sep 17 00:00:00 2001 From: Jan Kosata Date: Thu, 24 Aug 2023 07:31:22 +0200 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 +```