esabo / CodingTheory

A coding theory library for Julia.
https://esabo.github.io/CodingTheory/
BSD 3-Clause "New" or "Revised" License
26 stars 11 forks source link

Request: Breaking up the types.jl file #20

Closed Lev-Stambler closed 9 months ago

Lev-Stambler commented 9 months ago

I understand the reasoning behind having types be in one file, but I was wondering if we could break up the types by topic and place them in their relevant subfolders considers that the type break up nicely. I am happy to do this and open a PR with this. I was thinking

src . Classical . . types.jl . LDPC . . types/ . . . types_channels.jl . . . types_code.jl . Quantum . . types.jl

Open to suggestions. Am happy to take this up as well

esabo commented 9 months ago

They are only in a single file because the folders are relatively new. I'll look into breaking it up. Makes sense. Although, the module-level types may need to be kept outside in order to make it compile.

esabo commented 9 months ago

Done