Skip to content

Commit 38bd801

Browse files
committed
more runic style in doc strings
1 parent 84a9754 commit 38bd801

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/sectors.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
44
Abstract type for representing the (isomorphism classes of) simple objects in (unitary
55
and pivotal) (pre-)fusion categories, e.g. the irreducible representations of a finite or
6-
compact group. Subtypes `I<:Sector` as the set of labels of a `GradedSpace`.
6+
compact group. Subtypes `I <: Sector` as the set of labels of a `GradedSpace`.
77
8-
Every new `I<:Sector` should implement the following methods:
8+
Every new `I <: Sector` should implement the following methods:
99
* `unit(::Type{I})`: unit element of `I`. If there are multiple, implement `allunits(::Type{I})`
1010
instead.
1111
* `dual(a::I)`: ``a̅``, conjugate or dual label of ``a``
@@ -41,7 +41,7 @@ abstract type Sector end
4141
# iterator over the values (i.e., elements of representative set of simple objects)
4242
# in the sector
4343
"""
44-
struct SectorValues{I<:Sector}
44+
struct SectorValues{I <: Sector}
4545
4646
Singleton type to represent an iterator over the possible values of type `I`, whose
4747
instance is obtained as `values(I)`. For a new `I::Sector`, the following should be defined
@@ -184,8 +184,8 @@ Base.isreal(I::Type{<:Sector}) = sectorscalartype(I) <: Real
184184
# FusionStyle: the most important aspect of Sector
185185
#---------------------------------------------
186186
"""
187-
⊗(a::I, b::I...) where {I<:Sector}
188-
otimes(a::I, b::I...) where {I<:Sector}
187+
⊗(a::I, b::I...) where {I <: Sector}
188+
otimes(a::I, b::I...) where {I <: Sector}
189189
190190
Return an iterable of elements of `c::I` that appear in the fusion product `a ⊗ b`.
191191
@@ -263,7 +263,7 @@ function Base.show(io::IO, mime::MIME"text/plain", ab::SectorProductIterator)
263263
end
264264

265265
"""
266-
Nsymbol(a::I, b::I, c::I) where {I<:Sector} -> Integer
266+
Nsymbol(a::I, b::I, c::I) where {I <: Sector} -> Integer
267267
268268
Return an `Integer` representing the number of times `c` appears in the fusion product
269269
`a ⊗ b`. Could be a `Bool` if `FusionStyle(I) == UniqueFusion()` or `SimpleFusion()`.

0 commit comments

Comments
 (0)