Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VarName type boundary; flip {NVSetF, NSelect}; upd AttrSet; add PositionSet; coerce #972

Merged
merged 16 commits into from
Jul 17, 2021

Conversation

Anton-Latukha
Copy link
Collaborator

No description provided.

@Anton-Latukha Anton-Latukha force-pushed the 2021-07-15-hlint branch 2 times, most recently from 199f6c0 to 530cbae Compare July 16, 2021 11:25
@Anton-Latukha Anton-Latukha marked this pull request as draft July 16, 2021 23:20
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.
The proper argument order.
… arg

This allows to reuse `Nothing` & `Just` logic between uses. This also leads to
more streamlined code.
@Anton-Latukha Anton-Latukha marked this pull request as ready for review July 17, 2021 03:10
@Anton-Latukha Anton-Latukha changed the title main: Main: main': refactor VarName type boundary; flip {NVSetF, NSelect} Jul 17, 2021
@Anton-Latukha Anton-Latukha changed the title VarName type boundary; flip {NVSetF, NSelect} VarName type boundary; flip {NVSetF, NSelect}; upd AttrSet; add PositionSet; coerce Jul 17, 2021
@Anton-Latukha Anton-Latukha merged commit 7d03180 into master Jul 17, 2021
@Anton-Latukha Anton-Latukha deleted the 2021-07-15-hlint branch July 17, 2021 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant