Skip to content

refactor(Encoding): move the rose-tree Data type into the encoding layer - #25

Merged
SamuelSchlesinger merged 1 commit into
SamuelSchlesinger:devfrom
BoltonBailey:refactor/rose-tree-encoding-move
Aug 16, 2026
Merged

refactor(Encoding): move the rose-tree Data type into the encoding layer#25
SamuelSchlesinger merged 1 commit into
SamuelSchlesinger:devfrom
BoltonBailey:refactor/rose-tree-encoding-move

Conversation

@BoltonBailey

@BoltonBailey BoltonBailey commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Split out of #21, this just moves these files to another location.

🤖 Generated with Claude Code

@BoltonBailey
BoltonBailey marked this pull request as draft August 14, 2026 04:57
…layer

`Data` and the `DataEncode` typeclass are machine-independent: `Data` is the
rose tree the RTM operates on, but it is also the target every `DataEncode`
instance encodes into, so it does not belong under `Models/RoseTreeMachine/`.

Move `Models/RoseTreeMachine/Data.lean` to `Encoding/Data.lean` and
`Models/RoseTreeMachine/DataEncode.lean` to `Encoding/DataEncode.lean`, and
repoint the three import statements that referred to the old paths.

Nothing else changes. `Encoding/Data.lean` is byte-identical to the file it
replaces; `Encoding/DataEncode.lean` differs only in its own import of
`Data`. Namespaces, module docs, comments and declarations are all untouched,
so the `Complexity.RoseTreeMachine` namespace is preserved for now.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@BoltonBailey
BoltonBailey force-pushed the refactor/rose-tree-encoding-move branch from 46357ed to 64ac47d Compare August 14, 2026 05:01
@BoltonBailey
BoltonBailey marked this pull request as ready for review August 15, 2026 01:26
@SamuelSchlesinger
SamuelSchlesinger merged commit 33d82e3 into SamuelSchlesinger:dev Aug 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants