werediver/sum_types.dart

A code generator enabling sum-types in Dart

38
/ 100
Emerging

When building applications with Dart, developers often need to model data that can take one of several distinct forms. This project helps Dart developers by generating boilerplate code to easily define and work with these 'sum-types,' like an `Option` type that is either `Some` value or `None`. It takes a simple definition of a sum-type and outputs the necessary Dart code to use it safely and effectively.

No commits in the last 6 months.

Use this if you are a Dart developer who needs to create robust, type-safe data structures that represent a value that can be one of several possibilities.

Not ideal if you are not a Dart developer or if your programming language already has native support for sum-types or algebraic data types.

Dart-development Application-modeling Type-safety Code-generation Software-architecture
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 7 / 25
Maturity 16 / 25
Community 15 / 25

How are scores calculated?

Stars

40

Forks

7

Language

Dart

License

MIT

Last pushed

Nov 12, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/werediver/sum_types.dart"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.