moonbitlang

moonbitlang/core

MoonBit's Core library

6 good first / help-wanted issues · MoonBit · last activity Sep 14, 2025

952 stars 137 forks 952 watchers MoonBit Apache License 2.0
moonbit standard-library
6 Open Issues Need Help Last updated: Sep 14, 2025

Open Issues Need Help

View All on GitHub
help wanted discuss
moonbitlang/core
952

MoonBit's Core library

MoonBit
#moonbit#standard-library
moonbitlang/core
952

MoonBit's Core library

MoonBit
#moonbit#standard-library

AI Summary: This GitHub issue proposes adding three helper functions (`unwrap_or`, `unwrap_or_default`, `unwrap_or_else`) to MoonBit's `Result` type. Currently, these functions are only available on the `Option` type. The goal is to achieve API consistency between `Option` and `Result`, as they are conceptually equivalent (`Option[T]` is like `Result[T, Unit]`).

Complexity: 1/5
good first issue consistency review
moonbitlang/core
952

MoonBit's Core library

MoonBit
#moonbit#standard-library

AI Summary: This issue reports a bug where attempting to transfer a queue to itself using `q.transfer(q)` incorrectly empties the queue. The expected behavior is for the queue to remain unchanged, acting as a no-op.

Complexity: 1/5
bug good first issue
moonbitlang/core
952

MoonBit's Core library

MoonBit
#moonbit#standard-library

AI Summary: Implement a `ReadonlyArray` type in the MoonBit core library. This type should have the same layout as a standard `Array` but with a restricted interface that prevents modifications. Conversion functions (`from_array`, `to_array`, `unsafe_from_array`, `unsafe_to_array`) between `ReadonlyArray` and `Array` are also required.

Complexity: 3/5
good first issue feature request
moonbitlang/core
952

MoonBit's Core library

MoonBit
#moonbit#standard-library

AI Summary: Implement an arbitrary-precision decimal type in the MoonBit core library, similar to .NET's decimal type, to support accurate monetary calculations. This involves designing the type, handling precision, and providing necessary functions for string conversion, JSON serialization, and other common operations.

Complexity: 4/5
good first issue feature request
moonbitlang/core
952

MoonBit's Core library

MoonBit
#moonbit#standard-library