Each section should be run as the user or as root, pay attention to which one!
As $USER
curl https://nixos.org/nix/install | sh
| #include <stdio.h> | |
| #include <stdbool.h> | |
| #include <enet/enet.h> | |
| ENetAddress address; | |
| ENetEvent event; | |
| ENetPeer* peer; | |
| int main (int argc, char* argv[]) |
| use std::fs::File; | |
| use std::path::Path; | |
| use std::io::Error; | |
| use std::io::BufReader; | |
| use std::io::BufRead; | |
| use std::collections::HashMap; | |
| use std::io::stdin; | |
| fn sort_str(s: &str) -> String { | |
| let mut v: Vec<char> = s.chars().collect(); |
| // Copyright 2015 The Rust Project Developers. See the COPYRIGHT | |
| // file at the top-level directory of this distribution and at | |
| // http://rust-lang.org/COPYRIGHT. | |
| // | |
| // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | |
| // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | |
| // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | |
| // option. This file may not be copied, modified, or distributed | |
| // except according to those terms. |
| // Copyright 2015 The Rust Project Developers. See the COPYRIGHT | |
| // file at the top-level directory of this distribution and at | |
| // http://rust-lang.org/COPYRIGHT. | |
| // | |
| // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | |
| // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | |
| // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | |
| // option. This file may not be copied, modified, or distributed | |
| // except according to those terms. |
| { me ? "5acef014fd9ca6119226d7c5373b1b8cc4df1376" | |
| , base ? "b09435ea51caaae1865e667aaa32f7cba4cc4ff2" | |
| }: | |
| rec { | |
| inherit me base; | |
| myNixpkgsFunc = import (builtins.fetchTarball "https://github.com/Ericson2314/nixpkgs/archive/${me}.tar.gz"); | |
| myNixpkgs = myNixpkgsFunc {}; |
| Name | Mean | MeanLB | MeanUB | Stddev | StddevLB | StddevUB | |
|---|---|---|---|---|---|---|---|
| lookup absent | 1.4007964633596225e-4 | 1.3900306838617821e-4 | 1.409959984292045e-4 | 3.2162088819940293e-6 | 2.648684847834189e-6 | 3.83513797907703e-6 | |
| lookup present | 1.2117600631473935e-4 | 1.1851317519930134e-4 | 1.2574100658612418e-4 | 1.1057038376041312e-5 | 7.252960401636669e-6 | 1.637170638272232e-5 | |
| map | 5.057731259235705e-5 | 5.0025441909808805e-5 | 5.139016198780145e-5 | 2.2986131071978577e-6 | 1.6904593537096626e-6 | 2.8833240164946756e-6 | |
| map really | 1.444479940687761e-4 | 1.425895371067314e-4 | 1.4683249713804366e-4 | 7.061473659430992e-6 | 4.685957519936656e-6 | 9.859418129494422e-6 | |
| <$ | 4.264173764509787e-5 | 4.23183397385437e-5 | 4.313439037686621e-5 | 1.2858929625874046e-6 | 9.252226197568667e-7 | 1.8055386283925947e-6 | |
| <$ really | 1.0126553001072617e-4 | 1.0001713674700016e-4 | 1.027073541604897e-4 | 4.55194471229765e-6 | 3.6169918634136838e-6 | 5.6691994635147006e-6 | |
| alterF lookup absent | 1.3962772214066053e-4 | 1.3885112512818752e-4 | 1.406086706259139e-4 | 2.9508081603108147e-6 | 2.3597635442256163e-6 | 4.12647681753023e |
| #include <stddef.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int fixed_main( | |
| size_t argc, | |
| char const (*const (* argv)[argc + 1])[]) | |
| { | |
| for (size_t i = 0; i < argc; i++) | |
| { |
| // Using https://sankeymatic.com/build/ | |
| Merchant Silver [222] Merchant Coinage Base | |
| Merchant Silver [6] Brassage | |
| Merchant Silver [12] Seigniorage | |
| Minter Silver [1.85] Merchant Coinage Extra | |
| Minter Base metal [18] Merchant Coinage Base |
In haskell/core-libraries-committee#146 a number of modules (based on @bgamari's spreadsheet were documented as unstable.
haskell/core-libraries-committee#146 (comment) has the exact list of modules.
https://gitlab.haskell.org/ghc/ghc/-/merge_requests/10422 is the implementation PR
However, these modules were not formally deprecated. I am not sure why this didn't happen.