forked from haskell-nix/hnix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
treewide: (Expr.Types.VarName -> newtype) lift-up type boundary
This is obviously a big change. Before this units of data in expressions were undistinquisable from Text. Not VarName is there to mark something as an abstraction, some argument that has/can have/can be binded a value. Went through the whole project & established the boundary. The boundary stops entering the Derivations (their file format puts everything in "", so they are left as text), CLI Options & Executable. Maybe `KeyMap` datatype that is in utils should be removed, at least the `Keymap SourcePos` should be replaced with `PosSet`. Now the code would be more intuitive & would read better.
- Loading branch information
1 parent
5f096dd
commit a65d6bb
Showing
27 changed files
with
259 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.