From 2567f27ae82b0bcaa1ed84edb80ac41604e878ab Mon Sep 17 00:00:00 2001 From: "Documenter.jl" Date: Fri, 11 Oct 2024 01:40:10 +0000 Subject: [PATCH] build based on 00a8be0 --- dev/.documenter-siteinfo.json | 2 +- dev/index.html | 6 +++--- dev/objects.inv | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json index ef00bbb..268815f 100644 --- a/dev/.documenter-siteinfo.json +++ b/dev/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.11.0","generation_timestamp":"2024-10-11T01:39:10","documenter_version":"1.7.0"}} \ No newline at end of file +{"documenter":{"julia_version":"1.11.0","generation_timestamp":"2024-10-11T01:40:04","documenter_version":"1.7.0"}} \ No newline at end of file diff --git a/dev/index.html b/dev/index.html index a7a1868..3503026 100644 --- a/dev/index.html +++ b/dev/index.html @@ -5,7 +5,7 @@ julia> struct B end; -julia> @sumtype AB(A, B)source
LightSumTypes.variantFunction
variant(inst)

Returns the variant enclosed in the sum type.

Example

julia> using LightSumTypes
+julia> @sumtype AB(A, B)
source
LightSumTypes.variantFunction
variant(inst)

Returns the variant enclosed in the sum type.

Example

julia> using LightSumTypes
 
 julia> struct A x::Int end;
 
@@ -17,7 +17,7 @@
 AB'.A(0)
 
 julia> variant(a)
-A(0)
source
LightSumTypes.allvariantsFunction
allvariants(SumType)

Returns all the enclosed variants types in the sum type in a namedtuple.

Example

julia> using LightSumTypes
+A(0)
source
LightSumTypes.allvariantsFunction
allvariants(SumType)

Returns all the enclosed variants types in the sum type in a namedtuple.

Example

julia> using LightSumTypes
 
 julia> struct A x::Int end;
 
@@ -26,4 +26,4 @@
 julia> @sumtype AB(A, B)
 
 julia> allvariants(AB)
-(A = A, B = B)
source
LightSumTypes.variantofFunction
variantof(inst)

Returns the type of the variant enclosed in the sum type.

source
LightSumTypes.is_sumtypeFunction
is_sumtype(T)

Returns true if the type is a sum type otherwise returns false.

source
+(A = A, B = B)source
LightSumTypes.variantofFunction
variantof(inst)

Returns the type of the variant enclosed in the sum type.

source
LightSumTypes.is_sumtypeFunction
is_sumtype(T)

Returns true if the type is a sum type otherwise returns false.

source
diff --git a/dev/objects.inv b/dev/objects.inv index b0d77f4..38a0f22 100644 --- a/dev/objects.inv +++ b/dev/objects.inv @@ -1,5 +1,5 @@ # Sphinx inventory version 2 # Project: LightSumTypes.jl -# Version: 4.0.2 +# Version: 4.1.0 # The remainder of this file is compressed using zlib. xKIP(.IJOV5TPp bXNbRjHTYEA'3=$47 X,(31D!+*4/$3?OĜbŠKsK,|2T%&0E3 4lJk^[ \ No newline at end of file