replace Wrap usage with Terminal

This commit is contained in:
Emile Clark-Boman 2026-01-28 12:08:09 +10:00
parent 35737d1618
commit d7224d5074
3 changed files with 5 additions and 8 deletions

View file

@ -1,6 +1,3 @@
- [ ] implement naive Tip/Terminal type
- [ ] remove all dependency on Wrap type (it's already gone anyways...)
- [ ] /primitives/bootstrap/parse/parse.nix should be able to terminate on Tip/Terminal elements
- [ ] mix should do a deeply nested merge, not a surface level merge
- [ ] implement isomorphisms (especially from primitives to NixTypes)

View file

@ -33,8 +33,8 @@ in {
protected = [];
};
# XXX: TODO: are these needed?
# options = Wrap {};
# config = Wrap {};
# options = Terminal {};
# config = Terminal {};
};
descendentInputs = mkInputs mixture.protected;

View file

@ -31,7 +31,7 @@
inherit
(this.types)
Wrap
Terminal
;
recdef = def: let
@ -40,8 +40,8 @@
Self;
classDecl = {
derive = Wrap [];
ops = Wrap {};
derive = Terminal [];
ops = Terminal {};
};
unwrapBuilder = builder: Self: