Issue with terminology in Thinking in Nu page
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Ambito
- documentation
Direzione di ricerca
Inizia con la sezione collegata «Nushell's environment is scoped» nella pagina Thinking in Nu, quindi confrontane la formulazione con la documentazione collegata di Blocks e con il comportamento documentato di closures e definizioni di comandi. Il lavoro è completato quando la sezione distingue accuratamente i blocchi dai costrutti le cui modifiche all'ambiente sono soggette a scope, usando una terminologia coerente con il resto del libro.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In the "Nushell's environment is scoped" section of the Thinking in Nu page, it says that
In Nushell, blocks control their own environment. Changes to the environment are scoped to the block where they happen.
However, that's not really true for blocks technically, but it is for closures and command definitions. For example
if 1 > 0 { cd .. }
will change the current directory. You can also mutate other variables in blocks of course.
I've been trying to think up a good way to reword that section but I can't think of anything off the top of my head. It could say "commands and closures" rather than blocks, but that feels like it has less impact when talking about a significant design decision and might be a bit confusing before both concepts have really been introduced. I'm not sure there is a term or concept in Nushell at the moment that groups together commands and closures, but excludes blocks.
Anyone else have any ideas?
- Lingua principale
- TypeScript
- Stelle
- 258
- Fork
- 561
- Merge medio
- 3h 20m
- PR unite (30g)
- 15
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nushell/nushell.github.io
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 68/100
nushell/nushell.github.io#2081 · 3 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
nushell/nushell.github.io#767 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
nushell/nushell.github.io#2232 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
nushell/nushell.github.io#2209 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
nushell/nushell.github.io#2194 ·
Tutte le issue di nushell/nushell.github.io
Issue simili
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Mend: dependency security vulnerability untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100