Skip to content

Commit

Permalink
REFACTOR: Move Permutations submodule into CategoricalAlgebra.
Browse files Browse the repository at this point in the history
I can't remember why it was ever at the top level but it no longer
appears to be necessary.
  • Loading branch information
epatters committed Jun 9, 2023
1 parent a55fc62 commit 204865d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Catlab.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ include("gats/GATs.jl")
include("theories/Theories.jl")

include("categorical_algebra/ACSetsGATsInterop.jl")
include("categorical_algebra/Permutations.jl")
include("graphs/Graphs.jl")
include("categorical_algebra/CategoricalAlgebra.jl")

Expand Down
2 changes: 2 additions & 0 deletions src/categorical_algebra/CategoricalAlgebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ include("Limits.jl")
include("Subobjects.jl")
include("Sets.jl")
include("FinSets.jl")
include("Permutations.jl")
include("Matrices.jl")
include("FinRelations.jl")
include("CSets.jl")
Expand All @@ -29,6 +30,7 @@ include("Slices.jl")

@reexport using .Sets
@reexport using .FinSets
@reexport using .Permutations
@reexport using .CSets
@reexport using .CatElements

Expand Down
2 changes: 1 addition & 1 deletion src/wiring_diagrams/Expressions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ go the other way around.
module WiringDiagramExpressions
export to_ob_expr, to_hom_expr, to_wiring_diagram, to_undirected_wiring_diagram

using ...GATs, ...Theories, ...Permutations, ...CategoricalAlgebra
using ...GATs, ...Theories, ...CategoricalAlgebra
using ...GATs.SyntaxSystems: syntax_module
using ...Graphs, ..DirectedWiringDiagrams, ..UndirectedWiringDiagrams,
..MonoidalDirectedWiringDiagrams, ..MonoidalUndirectedWiringDiagrams
Expand Down
2 changes: 1 addition & 1 deletion test/categorical_algebra/Permutations.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module TestPermutations

using Test
using Catlab.Theories, Catlab.Permutations
using Catlab.Theories, Catlab.CategoricalAlgebra.Permutations

# Decomposition
###############
Expand Down

0 comments on commit 204865d

Please sign in to comment.