refined VS hnix

Compare refined vs hnix and see what are their differences.

refined

Refinement types with static checking (by nikita-volkov)

hnix

A Haskell re-implementation of the Nix expression language (by haskell-nix)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
refined hnix
1 4
180 728
- 1.2%
1.5 6.8
about 1 month ago about 2 months ago
Haskell Nix
MIT License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

refined

Posts with mentions or reviews of refined. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-28.
  • Can types replace validation?
    2 projects | /r/programming | 28 Aug 2022
    In one respect, nothing. You’re right. Even given refinement types as in Haskell or Scala, there is indeed a necessarily-partial function (refineV in Scala) to refine a value to its refinement type.

hnix

Posts with mentions or reviews of hnix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-06.
  • Adding my own stuff to the prelude / global imports?
    1 project | /r/haskell | 19 Mar 2023
    I can refere to prelude setup in HNix
  • Good Haskell Source Code
    5 projects | /r/haskell | 6 Jan 2022
    I also can nominate HNix: https://github.com/haskell-nix/hnix. Nix is a lazy pure language, HNix is an implementation of Nix in lazy pure language (Haskell). The project was done by a famous expert in the field of compilers/interpreters, which worked on Borland C++ compiler back in a day. The project overall was done by a pretty start team.
  • Tvix: We are rewriting Nix
    2 projects | /r/NixOS | 3 Dec 2021
    Well, maintaining a rewrite of Nix in Haskell: https://github.com/haskell-nix/hnix.
  • HNix - Nix in Haskell, about the project & meeting with the creator
    1 project | /r/haskell | 5 Jun 2021
    HNix is a Nix (pure lazy language) interpreter/tooling in Haskell. So it is a field&case of pure-to-pure, lazy-to-lazy language creation. HNix is created with fancy design paradigms (design introduction): as recursion schemes (since Nix is a recursive language) & Abstracting Definitional Interpreters. Mentioning these two particularly, as they align HNix to GHC in a natural way, design leverages & projects GHC power to HNix, allowing to concentrate on language implementation.

What are some alternatives?

When comparing refined and hnix you can also consider the following projects:

elf - Parser for ELF object format.

massiv - Efficient Haskell Arrays featuring Parallel computation

semantic-source - Parsing, analyzing, and comparing source code across many languages

safecopy - An extension to Data.Serialize with built-in version control

fmlist - FoldMap lists

hashable - A class for types that can be converted to a hash value

llrbtree - Left-leaning red-black trees

abcBridge - Haskell bindings for ABC

ruby-marshal - Haskell library to parse a subset of Ruby objects serialised with Marshal.dump

b-tree - Haskell on-disk B* tree implementation

hebrew-time - Hebrew dates and prayer times.

primitive - This package provides various primitive memory-related operations.