adambard / adambard/learnxinyminutes-docs

[Nix] A handful of missing features

Abierto
#2,328 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Markdown
Estrellas
12.3k
Forks
3.7k
Merge medio
13 h 10 min
PR fusionados (30 d)
6

Descripción

Here's my to-do list for Nix (things I didn't include because I didn't know about them when I first wrote the tutorial):
- You can use interpolation inside a dotted expression, e.g. `nixpkgs.pkgs.haskell.packages.${compiler}.callPackage`
- Inherit, e.g. `inherit a b;` and `inherit (foo) a b;`
- You can use `inherit` in `let` binding context as well as in sets
- `@`-patterns similar to Haskell pattern matching. For example, in a function definition: `f = args @ {x, y, z}: ...;`
- `or` can be used to provide a default value when pulling a value out of a set, e.g. `x.y or "defaultY"`

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.