sumtypes

Easy to use Nim sum type library (by beef331)

Sumtypes Alternatives

Similar projects and alternatives to sumtypes

  1. Nim

    357 sumtypes VS Nim

    Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. PyO3

    158 sumtypes VS PyO3

    Rust bindings for the Python interpreter

  4. cligen

    Nim library to infer/generate command-line-interfaces / option / argument parsing; Docs at

  5. bu

    B)asic|But-For U)tility Code/Programs (in Nim & Often Unix/POSIX/Linux Context)

  6. samsara

    a reference-counting cycle collection library in rust

  7. patty

    A pattern matching library for Nim

  8. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  9. nitro

    Experimental OOP language that compiled to native code with non-fragile and stable ABI (by ultimaweapon)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better sumtypes alternative or higher similarity.

sumtypes discussion

Log in or Post with

sumtypes reviews and mentions

Posts with mentions or reviews of sumtypes. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-11.
  • Removing Garbage Collection from the Rust Language (2013)
    9 projects | news.ycombinator.com | 11 Sep 2023
    This comment is misleading &| misinformed.

    Sum types are built-in [1] for formal parameters. `nil` is only for `ref|ptr` types. In much code you can just use stack allocated value types and there is neither GC concern nor nil concern, but there is also a mode to help: https://nim-lang.github.io/Nim/manual_experimental_strictnot...

    Nim has an easy-ish to use Lisp-like syntax macro system where you just receive & process an AST. So, to do the rest you can make libraries adding the feature without relying upon upstream compiler: such as https://github.com/beef331/sumtypes for variables with sum types or pattern matching libs like https://andreaferretti.github.io/patty/ | https://github.com/alehander92/gara.

Stats

Basic sumtypes repo stats
1
14
10.0
about 3 years ago

beef331/sumtypes is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of sumtypes is Nim.


Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Nim is
the 50th most popular programming language
based on number of references?