Skip to content

Commit

Permalink
Merge pull request #108 from wbhart/abstract_module
Browse files Browse the repository at this point in the history
Add abstract module and module element types.
  • Loading branch information
wbhart committed Dec 19, 2016
2 parents 370480a + 3f90a59 commit 50c3550
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/AbstractTypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@

abstract FieldElem <: RingElem

# parameterized domains

abstract Module{T <: RingElem} <: Group

# elements of parameterised domains

abstract ModuleElem{T <: RingElem} <: GroupElem

# rings, fields etc, parameterised by an element type
# these are the type classes of different kinds of
# mathematical rings/fields/etc, which have a base ring,
Expand Down Expand Up @@ -74,4 +82,4 @@
# collections of types as needed by applications

abstract FinFieldElem <: FieldElem # for fq, fq_nmod, etc


0 comments on commit 50c3550

Please sign in to comment.