1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-12-25 02:05:30 +01:00

fixing and ordering imports

This commit is contained in:
Marek Kaluba 2022-04-02 15:50:03 +02:00
parent 22a8809c6f
commit 93d97ff75f
No known key found for this signature in database
GPG Key ID: 8BF1A3855328FC15
6 changed files with 17 additions and 16 deletions

View File

@ -7,9 +7,10 @@ version = "0.7.2"
Folds = "41a02a25-b8f0-4f67-bc48-60067656b558"
GroupsCore = "d5909c97-4eac-4ecc-a3dc-fdd0858a4120"
KnuthBendix = "c2604015-7b3d-4a30-8a26-9074551ec60a"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
PermutationGroups = "8bc5a954-2dfc-11e9-10e6-cd969bffa420"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
[compat]
Folds = "0.2.7"
@ -18,9 +19,9 @@ KnuthBendix = "0.3"
OrderedCollections = "1"
PermutationGroups = "0.3"
julia = "1.3"
StaticArrays = "1"
[extras]
AbstractAlgebra = "c3fe647b-3220-5bb0-a1ea-a7954cac585d"
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
PermutationGroups = "8bc5a954-2dfc-11e9-10e6-cd969bffa420"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

View File

@ -1,13 +1,15 @@
module Groups
import Folds
using GroupsCore
using Folds
import GroupsCore.Random
import OrderedCollections: OrderedSet
import KnuthBendix
import KnuthBendix: AbstractWord, Alphabet, Word
import KnuthBendix: alphabet
import Random
import OrderedCollections: OrderedSet
export MatrixGroups
@ -17,7 +19,7 @@ export alphabet, evaluate, word, gens
# general constructions
include(joinpath("constructions", "constructions.jl"))
using .Constructions
import .Constructions
include("types.jl")
include("hashing.jl")

View File

@ -1,7 +1,7 @@
module Constructions
using GroupsCore
using Random
import GroupsCore.Random
include("direct_product.jl")
include("direct_power.jl")

View File

@ -1,6 +1,3 @@
using Random
using GroupsCore
struct DirectProduct{Gt,Ht,GEl,HEl} <: GroupsCore.Group
first::Gt
last::Ht

View File

@ -1,13 +1,13 @@
module MatrixGroups
import LinearAlgebra # Identity matrix
using StaticArrays
using GroupsCore
using Groups
using KnuthBendix
import LinearAlgebra # Identity matrix
import Random # GroupsCore rand
import GroupsCore.Random # GroupsCore rand
using ..Groups
using Groups.KnuthBendix
export SpecialLinearGroup, SymplecticGroup

View File

@ -1,5 +1,6 @@
using Test
using Groups
using PermutationGroups
import KnuthBendix: Word