Commit Graph

185397 Commits

Author SHA1 Message Date
danbst
91bb646e98 Revert "mass replace "flip map -> foreach""
This reverts commit 3b0534310c.
2019-08-05 14:01:45 +03:00
danbst
3b0534310c mass replace "flip map -> foreach"
See `foreach`-introduction commit.
```
rg 'flip map ' --files-with-matches | xargs sed -i 's/flip map /foreach /g'
```
2019-07-14 13:46:10 +03:00
danbst
69920dafbf lib: introduce foreach = flip map
The main purpose is to bring attention to `flip map`, which improves
code readablity. It is useful when ad-hoc anonymous function
grows two or more lines in `map` application:

```
      map (lcfg:
        let port = lcfg.port;
            portStr = if port != defaultPort then ":${toString port}" else "";
            scheme = if cfg.enableSSL then "https" else "http";
        in "${scheme}://cfg.hostName${portStr}"
      ) (getListen cfg);
```
Compare this to `foreach`-style:
```
      foreach (getListen cfg) (lcfg:
        let port = lcfg.port;
            portStr = if port != defaultPort then ":${toString port}" else "";
            scheme = if cfg.enableSSL then "https" else "http";
        in "${scheme}://cfg.hostName${portStr}"
      );
```
This is similar to Haskell's `for` (http://hackage.haskell.org/package/base-4.12.0.0/docs/Data-Traversable.html#v:for)
2019-07-14 13:29:58 +03:00
worldofpeace
696767a9c9
Merge pull request #55149 from eadwu/vscode-extensions.ms-python.python/2019.1.0
vscode-extensions.ms-python.python: 2018.12.1 -> 2019.6.22090
2019-07-14 05:22:00 -04:00
Frederik Rietdijk
a55c726f6b nodePackages.scuttlebot -> nodePackages.ssb-server, updated nodePackages_10_x
Package was renamed upstream.
2019-07-14 10:37:21 +02:00
Chris Ostrouchov
c610eb460b pythonPackages.umap-learn: init at 0.3.9 2019-07-14 09:55:11 +02:00
Chris Ostrouchov
d621233fa4 pythonPackages.tadasets: init at 0.0.4 2019-07-14 09:55:11 +02:00
Chris Ostrouchov
660e7c7e34 pythonPackages.persim: init at 0.0.9 2019-07-14 09:55:11 +02:00
Chris Ostrouchov
e773b424e2 pythonPackages.scikit-tda: init at 0.0.4 2019-07-14 09:55:11 +02:00
Chris Ostrouchov
e72d2b6716 pythonPackages.ripser: init at 0.3.2 2019-07-14 09:55:11 +02:00
Chris Ostrouchov
aaf1da8e68 pythonPackages.kmapper: init at 1.2.0 2019-07-14 09:55:11 +02:00
worldofpeace
0be5740700
Merge pull request #63678 from lilyball/jazzy
jazzy: 0.9.6 -> 0.10.0
2019-07-14 00:45:02 -04:00
worldofpeace
f48c9d428a
Merge pull request #64677 from costrouc/qt-box-editor-init
qt-box-editor: init at unstable-2019-07-12
2019-07-13 23:57:23 -04:00
Chris Ostrouchov
ffaa9c8c3f qt-box-editor: init at unstable-2019-07-12
latest unstable version is only one to build with tesseract4 and qt5
2019-07-13 23:56:49 -04:00
Mario Rodas
6ddd053bdd
Merge pull request #64710 from marsam/update-terraform
terraform_0_12: 0.12.3 -> 0.12.4
2019-07-13 21:20:37 -05:00
Orivej Desh
27b7e11e7f python: yappi: init at 1.0 2019-07-14 00:27:24 +00:00
Aaron Andersen
abfe2572e8
Merge pull request #62769 from JorisE/sngrep
sngrep: init at 1.4.6
2019-07-13 20:06:43 -04:00
David Lum
d91fe04dc6 avro-tools: init at 1.9.0 2019-07-13 17:45:41 -04:00
worldofpeace
9bf7fc9945 gst_all_1.gst-editing-services: fix build
Caused by e529ec3263
2019-07-13 16:07:30 -04:00
Jaka Hudoklin
1ad6989655
Merge pull request #62698 from dtzWill/update/fakechroot-2.20.1
fakechroot: 2.19 -> 2.20.1, prefer patch and official source over "fork"
2019-07-13 21:40:56 +02:00
Nikolay Amiantov
8951505dc9
Merge pull request #62956 from abbradar/nm-fixes
NetworkManager fixes
2019-07-13 22:31:13 +03:00
Mario Rodas
c96d18df92 tflint: 0.9.0 -> 0.9.1 (#64709) 2019-07-13 12:20:20 -07:00
worldofpeace
b53a6a9762
Merge pull request #64349 from ericnorris/cloudflared-2019.6.0
cloudflared: 2018.10.3 -> 2019.7.0
2019-07-13 14:31:18 -04:00
Joris Engbers
4d75d04d52 sngrep: init at 1.4.6
Sngrep is used to inspect SIP traffic.
2019-07-13 18:15:49 +00:00
Mario Rodas
f41efc28f9
terraform_0_12: 0.12.3 -> 0.12.4 2019-07-13 12:57:16 -05:00
Joris Engbers
8d0225d082 Add JorisE to the list of maintainers 2019-07-13 17:52:29 +00:00
worldofpeace
d90215a12b
Merge pull request #64420 from risicle/ris-cf-cli-6.45.0
cloudfoundry-cli: 6.41.0 -> 6.45.0 (fixes CVE-2019-3781)
2019-07-13 13:26:49 -04:00
worldofpeace
7ce0cc0a6a
Merge pull request #64324 from jbedo/hisat2
hisat2: fix missing perl dependency
2019-07-13 13:21:11 -04:00
Orivej Desh
ca52fb8554 openmpi: unbundle libevent and hwloc on Darwin
When these dependencies are not found OpenMPI builds its internal copies.
2019-07-13 17:11:55 +00:00
Domen Kožar
d4296584d1
cachix: use justStaticExecutables
Avoids https://github.com/NixOS/nix/issues/2990
2019-07-13 19:08:12 +02:00
worldofpeace
13515ad544
Merge pull request #64464 from jonringer/update-github-webhook
pythonPackages.github-webhook: unstable-2016-03-11 to 1.0.2
2019-07-13 12:50:16 -04:00
Jonathan Ringer
f1a20e372a pythonPackages.github-webhook: unstable-2016-03-11 -> 1.0.2 2019-07-13 12:49:37 -04:00
worldofpeace
aaea4ebda2
Merge pull request #64567 from killercup/cargo-flamegraph-0.1.13
cargo-flamegraph: init at 0.1.13
2019-07-13 12:33:20 -04:00
Ingolf Wagner
6cc4c0a50d memo: 0.6 -> 0.8 (#64676) 2019-07-13 09:22:38 -07:00
worldofpeace
3d9666b8e5
Merge pull request #64491 from dtzWill/update/powerstat-0.02.19
powerstat: 0.02.18 -> 0.02.19
2019-07-13 12:22:03 -04:00
worldofpeace
f309c4c7da
Merge pull request #64478 from dtzWill/update/stern-1.11.0
stern: 1.10.0 -> 1.11.0
2019-07-13 12:18:19 -04:00
Léo Gaspard
8f38f0341c
Merge pull request #63639 from Ekleog/fix-matrix-doc
matrix-synapse: fix documentation
2019-07-13 18:17:14 +02:00
worldofpeace
9a846892a2
Merge pull request #64532 from plumelo/feature/lxd-criu
lxd: add criu to path and bash completions, lxc: fix bash completions
2019-07-13 12:15:51 -04:00
worldofpeace
e9c3787793
powerstat: pname 2019-07-13 12:14:05 -04:00
worldofpeace
f0df76e4b2
Merge pull request #64632 from thefloweringash/sensu-go-update
sensu-go: 5.10.0 -> 5.11.0
2019-07-13 12:02:11 -04:00
worldofpeace
1ab8c3e157
Merge pull request #64694 from jpotier/victor-mono
victor-mono: init at 1.2.1
2019-07-13 11:59:01 -04:00
EEva (JPotier)
5e51a6073e victor-mono: init at 1.2.1 2019-07-13 11:58:34 -04:00
José Romildo Malaquias
3fef4946cd
Merge pull request #64702 from romildo/upd.xfce4-13
xfce4-13: rename to xfce4-14
2019-07-13 12:48:40 -03:00
worldofpeace
151f5ab570
Merge pull request #64698 from romildo/upd.mate.mate-user-guide
mate.mate-user-guide: 1.22.1 -> 1.22.2
2019-07-13 11:42:07 -04:00
worldofpeace
c7d9c411e5
Merge pull request #64699 from romildo/upd.mate
mate.mate-user-share: 1.22.0 -> 1.22.1
2019-07-13 11:41:38 -04:00
worldofpeace
7182b4a110
Merge pull request #64688 from volth/patch-350
gtkd: fix build with config.allowAliases=false
2019-07-13 11:39:38 -04:00
worldofpeace
0394aae7a8
Merge pull request #64687 from pacien/riot-web-config-fix
riot-web: fallback to example config
2019-07-13 11:14:16 -04:00
worldofpeace
1aaa9ba3d8 pantheon.elementary-icon-theme: 5.0.3 -> 5.0.4
https://github.com/elementary/icons/releases/tag/5.0.4
2019-07-13 10:57:08 -04:00
worldofpeace
4fbf2c3a3e lollypop: only produce one wrapper 2019-07-13 10:52:17 -04:00
worldofpeace
d4db17db19 meteo: 0.9.6 -> 0.9.7
https://gitlab.com/bitseater/meteo/-/tags/0.9.7
2019-07-13 10:52:17 -04:00