Merged
Conversation
Contributor
Author
|
@ryan4yin 此 PR 已准备好(我已经预览过多遍),有空请帮忙看一下,谢谢。 |
ryan4yin
reviewed
Oct 23, 2025
src/tutorials/lang/QuickOverview.md
Outdated
| [内建函数](https://nixos.org/manual/nix/stable/language/builtins.html) 以了解其 | ||
| 使用方法。 | ||
| 然而,更复杂的情况下,要保证完全可重复的例子, | ||
| 应当为 Nixpkgs 固定(pin)版本,例如: |
Member
There was a problem hiding this comment.
这个应该不至于,nixpkgs 的 lib 库设计上肯定要考虑兼容性的,基本不可能出现破坏性变更。
ping 版本这个可以不用介绍吧,它主要是为了锁定各种软件包的版本,跟 lib 没啥关系.
ryan4yin
reviewed
Oct 23, 2025
ryan4yin
reviewed
Oct 23, 2025
Co-authored-by: Ryan Yin <xiaoyin_c@qq.com>
Co-authored-by: Ryan Yin <xiaoyin_c@qq.com>
ryan4yin
reviewed
Oct 23, 2025
ryan4yin
reviewed
Oct 23, 2025
ryan4yin
reviewed
Oct 23, 2025
ryan4yin
reviewed
Oct 23, 2025
Contributor
Author
|
关于柯里化与闭包,我从新手的视角来看,如果介绍闭包是有必要的,那么介绍柯里化就是有必要的,并且应该可以做到容易理解;实际上我自己理解柯里化并没有什么困难。 不过,目前柯里化函数这一节确实写得比较晦涩,等我有空再修改一下。 |
ryan4yin
reviewed
Oct 24, 2025
Contributor
Author
|
@ryan4yin 已修改完毕,请过目。 |
ryan4yin
reviewed
Oct 24, 2025
ryan4yin
approved these changes
Oct 24, 2025
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
此为应 @ryan4yin 邀请大幅修改 Nix 语言快速入门工程的第六部分,范围是从开头到结尾。
本次所做修改如下:
pkgs.lib小节(主要来自 nix.dev 的 language basics)注:Nix language basics — nix.dev documentation 另有 Impurities 与 Derivations 两大节,以及几个附加小节(Worked examples、References、Next steps),我后续可能视情况添加到本文中,但不作为本工程的主体,而且预计至少这几个月内是不会更新的。(本工程不是对 nix.dev 的直接翻译,无法直接使用大模型完成。)
此 PR 合并之后,“大幅修改 Nix 语言快速入门”工程的主体部分即视同完结。
~完结撒花~