haskell-nix / hnix

A Haskell re-implementation of the Nix expression language
https://hackage.haskell.org/package/hnix
BSD 3-Clause "New" or "Revised" License
756 stars 115 forks source link

Expr.Types: add & use NPos & NSourcePos #1038

Closed Anton-Latukha closed 2 years ago

Anton-Latukha commented 2 years ago

This is a type & type boundary lifting groundwork to do #1026 & #746 design in this release.

The NPos & NSourcePos next can be freely shaped into what comes out of the #1026 & #746.