49d61b2e4b
They are like experimental features, but opt-in instead of opt-out. They will allow us to gracefully remove language features. See #437 Change-Id: I9ca04cc48e6926750c4d622c2b229b25cc142c42
18 lines
311 B
Nix
18 lines
311 B
Nix
# Usually "experimental" or "deprecated"
|
|
_kind:
|
|
# "xp" or "dp"
|
|
kindShort:
|
|
|
|
with builtins;
|
|
with import ./utils.nix;
|
|
|
|
let
|
|
showFeature =
|
|
name: doc:
|
|
squash ''
|
|
## [`${name}`]{#${kindShort}-feature-${name}}
|
|
|
|
${doc}
|
|
'';
|
|
in
|
|
xps: (concatStringsSep "\n" (attrValues (mapAttrs showFeature xps)))
|