reflection
hnix
reflection | hnix | |
---|---|---|
2 | 4 | |
101 | 729 | |
- | 0.4% | |
5.0 | 6.8 | |
5 days ago | about 2 months ago | |
Haskell | Nix | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
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.
reflection
-
Fast Map Union and Local Instances Through Instance Types
Interestingly, the reflection docs give a similar example, though this one uses a newtype instead of directly using the instance (you could do the same with the unsafeCoerce version).
-
Faking Local Instances with unsafeCoerce Dict
Altough after looking at the reflection examples for local instances, it seems like reflection still needs some kind of 'carrier' newtype (M and Lift in the examples), so you don't get full local instances in the same way you do with my library?
hnix
-
Adding my own stuff to the prelude / global imports?
I can refere to prelude setup in HNix
-
Good Haskell Source Code
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
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
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?
scientific - Arbitrary-precision floating-point numbers represented using scientific notation
massiv - Efficient Haskell Arrays featuring Parallel computation
either-unwrap - Functions for probing and unwrapping values inside of Either.
safecopy - An extension to Data.Serialize with built-in version control
Mapping
hashable - A class for types that can be converted to a hash value
countable
abcBridge - Haskell bindings for ABC
gps2htmlReport - Generates a HTML page report detailing a GPS journey, with charts, statistics and an OpenStreetMap graphic.
b-tree - Haskell on-disk B* tree implementation
implicit-params - Named and unnamed implicit parameters with defaults (for Haskell).
primitive - This package provides various primitive memory-related operations.