Skip to content

chore: use core instead of base#3

Draft
ggreif wants to merge 3 commits intoNatLabs:mainfrom
ggreif:core
Draft

chore: use core instead of base#3
ggreif wants to merge 3 commits intoNatLabs:mainfrom
ggreif:core

Conversation

@ggreif
Copy link

@ggreif ggreif commented Mar 11, 2026

No description provided.

ggreif and others added 2 commits January 26, 2026 11:12
- Replace all mo:base@0.14.13/* imports with mo:core/* equivalents
- Add ListBuffer<A> class backed by mo:core/List as Buffer replacement
- Replace B.Buffer<N>(cap) with ListBuffer<N>(), B.toArray with .toArray()
- Replace BInterface.fromDeprecatedBuffer(b) with { write = b.add }
- Replace Debug.trap with Runtime.trap (mo:core/Debug has no trap)
- Replace Iter.range (inclusive) with Nat.range (exclusive upper bound)
- Fix Int64.maximumValue -> Int64.maxValue for mo:core API
- Update mops.toml: remove base/buffer deps, add core, bump moc to 1.3.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant