Skip to content

Conversation

itzwam
Copy link

@itzwam itzwam commented Dec 27, 2024

No description provided.

Copy link
Member

@sholderbach sholderbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a clue about Nix, is this a useful comparison between those general purpose languages and the builtins bits in the Nix DSL?

| exit | System/exit | | | `throw` |
| first | first | head | head | `builtins.head` |
| format | format | | Text.Printf.printf | `builtins.toString` |
| group-by | group-by | | group, groupBy | Custom function with `map` |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This table should help folks quickly find the relevant Nushell command or construct if they have a particular language construct or idiom from other languages in mind or understand the meaning at a glance, so it should probably be left blank if you would have to come up with something custom in the other language. Its docs for Nushell not for Nix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants