Commit graph

2052 commits

Author SHA1 Message Date
Anton-Latukha fba06c0cd0
README.md: Building: put "Full debug with profiling" after "Profiling" 2020-09-29 17:15:19 +03:00
Anton-Latukha 9e4f57e052
README.md: put Cachix cache setup before Building the project 2020-09-29 17:13:13 +03:00
Anton-Latukha 6f71f39ea4
README.md: Cachix: upd description 2020-09-29 17:12:47 +03:00
Anton-Latukha 4659122fc3
README.md: Cachix: upd description 2020-09-29 17:06:44 +03:00
Anton-Latukha 21599b36b2
README.md: structure all "Building*" headlines into "Building" section 2020-09-29 17:00:19 +03:00
Anton-Latukha 5e80e1984f
README.md: preparating for TOC autogeneration 2020-09-29 16:55:00 +03:00
Anton Latukha fea80a57c7
Merge request #724 README-clean-up
Casual readme clean-up.

Related to #726

Mainly making the language more to the point, terse, direct, and so - understandable.
Also structuring of the text.
Some fixes to the shell sections. Some of them are still out of dare, would go into fixing all commands in the upcoming PRs.

Parsed results: https://github.com/Anton-Latukha/hnix/tree/2020-09-28-README-clean-up
2020-09-29 16:35:54 +03:00
Anton Latukha 5bd4d9eb0a
default.nix: upd nixpkgs rev (#725) 2020-09-29 04:55:44 +03:00
Anton-Latukha 0697836b08
README: add Contents TOC 2020-09-29 04:21:17 +03:00
Anton-Latukha e8e326bc11
README: rm hardwraps, let editors wrap lines automatically
Manual hardwrap of human text considered harmful, especially in the document
files.
2020-09-29 04:10:59 +03:00
Anton-Latukha 4e35c082dd
README: Contributing: enum steps to draw attention and memoization 2020-09-29 03:19:40 +03:00
Anton-Latukha 7da15c3f8d
README: upd Contributing 2020-09-29 03:18:44 +03:00
Anton-Latukha 4d70cc57fc
README: upd Contributing 2020-09-29 03:11:37 +03:00
Anton-Latukha 3b530d27cb
README: "How you can help" -> "Contributing" 2020-09-29 03:07:07 +03:00
Anton-Latukha ee8552a4f6
README: Issue Tracker Backlog: upd 2020-09-29 01:59:11 +03:00
Anton-Latukha 20f93d33d2
README: Evaluating Nixpkgs with HNix: m upd 2020-09-29 01:57:29 +03:00
Anton-Latukha 6ac08a1007
README: Issue Tracked Backlog: upd PR test phrasing, ecouraging 2020-09-29 01:56:05 +03:00
Anton-Latukha 3efb4d157b
README: Issue Tracked Backlog: rephrasing it more directly 2020-09-29 01:54:16 +03:00
Anton-Latukha 6955a55a36
README: use cabal v2-run for locating and executing binary
Old path is not existent, since `dist-newstyle` is used, path is ugly to
construct, so far settling for `cabal v2-run` autolocating `hnix`, thou the
problem is that Nix-env has GHC 8.8.3, and HNix binary builds only under
GHC >= 8.10.
2020-09-29 01:49:55 +03:00
Anton-Latukha 6eb309e817
README: Getting started: upd nstructions for running the binary 2020-09-29 01:49:12 +03:00
Anton-Latukha 60544cb8a6
README: Prerequisites: m upd 2020-09-28 21:42:14 +03:00
Anton-Latukha b9575207a4
README: rm Building with GHCJS, there is none currently 2020-09-28 21:40:17 +03:00
Anton-Latukha 50f167c640
README: Using the REPL: simplify wording 2020-09-28 21:37:49 +03:00
Anton-Latukha 556835a5b6
README: Getting started: put separate test examples into a list 2020-09-28 21:36:12 +03:00
Anton-Latukha ea770eab96
README: Getting started: split test examples into separate examples 2020-09-28 21:31:22 +03:00
Anton-Latukha 377902664b
README: Prequisites: m upd: rephrase 2020-09-28 21:30:30 +03:00
Anton-Latukha 18b54986b1
README: unify shell entries: rm $ from shell entries 2020-09-28 21:23:54 +03:00
Anton Latukha d8f38bcece
Merge request #721 m cleam-up
Nothing major.

Clean-up.
One functor fusion.
One replacement with Kleisli composition.
`return -> pure`
2020-09-26 19:20:15 +03:00
Anton-Latukha 003dcb660b
clean-up: m upd: minor tweaks, dropped functor 2020-09-21 01:58:00 +03:00
Anton-Latukha 6fa53d711b
clean-up: Utils.hs: m upd doc 2020-09-21 01:58:00 +03:00
Anton-Latukha 523edca13c
clean-up: {Pretty,Utils,Utils/Fix1}.hs: imports 2020-09-21 01:58:00 +03:00
Anton-Latukha cbeae8cfa1
clean-up: rm pragmas in {Reduce, Utils/Fix1}.hs 2020-09-21 01:58:00 +03:00
Anton-Latukha 84e1d7fc17
clean-up: m upd 2020-09-21 01:58:00 +03:00
Anton-Latukha 0f3eab3aef
clean-up: Pretty.hs: rm Nix.Util as not used 2020-09-21 01:58:00 +03:00
Anton-Latukha fde6764713
clean-up: Pretty.hs: <$>: .Comonad == .Prelude; no <$> in Nix.Utils 2020-09-21 01:57:59 +03:00
Anton-Latukha 64726d71e7
clean-up: Expr/Types.hs: NExprF: upd doc 2020-09-21 01:57:59 +03:00
Anton-Latukha 9fdf471f2b
clean-up: Value.hs: m upd doc 2020-09-21 01:57:59 +03:00
Anton-Latukha c01e156fef
clean-up: Builtins.hs: nixPath: simplify parens 2020-09-21 01:57:59 +03:00
Anton-Latukha 55b0040384
clean-up: Nix/Value.hs: NValueF: fx doc
Also what 's' is referenced here?
2020-09-21 01:57:59 +03:00
Anton-Latukha eb8c2252cb
clean-up: Nix.hs: evaluateExpression: use Kleisli composition 2020-09-21 01:57:59 +03:00
Anton-Latukha b035e373d6
clean-up: m
M  src/Nix/Effects.hs
2020-09-21 01:57:58 +03:00
Anton-Latukha 3774516033
clean-up: Main 2020-09-21 01:57:58 +03:00
Anton-Latukha 32cda24f58
clean-up: Repl: initState: reduce do block 2020-09-21 01:57:58 +03:00
Anton-Latukha 10051fbfc1
clean-up: rm commented-out imports
M  main/Main.hs
M  src/Nix/Reduce.hs
M  src/Nix/Type/Infer.hs
M  tests/EvalTests.hs
2020-09-21 01:57:58 +03:00
Anton-Latukha 0cb3946ee7
clean-up: (return -> pure)
M  main/Main.hs
M  main/Repl.hs
M  src/Nix/Builtins.hs
M  src/Nix/Convert.hs
M  src/Nix/Effects.hs
M  src/Nix/Effects/Basic.hs
M  src/Nix/Eval.hs
M  src/Nix/Exec.hs
M  src/Nix/Expr/Types.hs
M  src/Nix/Json.hs
M  src/Nix/Lint.hs
M  src/Nix/Normal.hs
M  src/Nix/Options/Parser.hs
M  src/Nix/Parser.hs
M  src/Nix/Scope.hs
M  src/Nix/String.hs
M  src/Nix/TH.hs
M  src/Nix/Thunk/Basic.hs
M  src/Nix/Utils.hs
M  src/Nix/Value.hs
M  src/Nix/Value/Equal.hs
M  src/Nix/XML.hs
M  tests/EvalTests.hs
M  tests/Main.hs
M  tests/NixLanguageTests.hs
M  tests/ParserTests.hs
M  tests/TestCommon.hs
2020-09-21 01:57:52 +03:00
Anton-Latukha dd6940fe7b
clean-up: Nix/Builtins.hs: case to maybe 2020-09-18 18:43:59 +03:00
Anton-Latukha 23b143478b
Nix/Convert.hs: fuse functors in one case of fromValueMay
fmap (fmap (, p)) $ fmap (sequence) $ traverse fromValueMay s
fmap (fmap (, p)) . fmap (sequence) $ traverse fromValueMay s
| (fmap f . fmap g) => fmap (f . g)
fmap (fmap (, p) . (sequence)) $ traverse fromValueMay s
| fmap => <$>
fmap (, p) . sequence <$> $ traverse fromValueMay s
2020-09-18 18:43:59 +03:00
Anton-Latukha 85a098bfd5
clean-up: Nix/Convert.hs 2020-09-18 18:43:59 +03:00
Anton-Latukha 4b44d97d9b
clean-up: Nix/Convert.hs: use tuple sectioning 2020-09-18 18:43:59 +03:00
Anton-Latukha c3f4d72dfd
clean-up: parens
M  main/Repl.hs
M  src/Nix/Builtins.hs
M  src/Nix/Cited.hs
M  src/Nix/Exec.hs
M  src/Nix/Expr/Types/Annotated.hs
M  src/Nix/Pretty.hs
2020-09-18 15:58:28 +03:00