forked from lix-project/lix
piegames
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
15 lines
346 B
Nix
15 lines
346 B
Nix
# Usually "experimental" or "deprecated"
|
|
kind:
|
|
# "xp" or "dp"
|
|
kindShort:
|
|
|
|
with builtins;
|
|
with import ./utils.nix;
|
|
|
|
let
|
|
showExperimentalFeature = name: doc: ''
|
|
- [`${name}`](@docroot@/contributing/${kind}-features.md#${kindShort}-feature-${name})
|
|
'';
|
|
in
|
|
xps: indent " " (concatStrings (attrValues (mapAttrs showExperimentalFeature xps)))
|