!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

428 Members
Discussion about documentation improvements around the Nix ecosystem88 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
3 May 2024
@stablejoy:matrix.org@stablejoy:matrix.org
In reply to @fricklerhandwerk:matrix.org
That’s helpful insight. I chose “assign” because it’s not just programmer jargon but also makes sense in everyday life. You “assign someone to a task”, things like that. You wouldn’t “bind a task to someone”.
Oh. I guess you could assign a task to someone who is bound by oath to you
10:21:07
@toonn:matrix.orgtoonn I think the point is more that "to assign" is more commonly understood than "to bind." 10:36:08
@kiike:matrix.orgEnric Morales joined the room.15:51:13
@stablejoy:matrix.org@stablejoy:matrix.org
In reply to @toonn:matrix.org
I think the point is more that "to assign" is more commonly understood than "to bind."
Can one say then you assign a value to a variable and you bind an expression to a variable. The second is said in nix repl help. Also binding functions vs assigning values?
16:05:27
@toonn:matrix.orgtoonn You bind to identifiers rather than values. 16:52:22
@toonn:matrix.orgtoonn In most languages functions aren't first-class values so a different term is useful to distinguish what you do with them. 16:52:54
@toonn:matrix.orgtoonn But in Nix functions are just values. 16:53:02
@qyriad:katesiria.orgQyriad
In reply to@toonn:matrix.org
I think the point is more that "to assign" is more commonly understood than "to bind."
Worth noting that Rust uses bind for their let construct, instead of assign, which seems to get by fine
16:58:39
@toonn:matrix.orgtoonn Sure, the reasoning is probably that Nix is more likely to be touched by non-programmers. 17:11:11
@stablejoy:matrix.org@stablejoy:matrix.org I made a yt channel and am making recordings while going through all nix dev tutorials. 17:46:58
@stablejoy:matrix.org@stablejoy:matrix.orghttps://youtu.be/YdrS3at-O9k?si=AttmjkwlTAFhAcBG17:47:35
4 May 2024
@pennae:matrix.eno.spacepennae left the room.20:59:32
6 May 2024
@stablejoy:matrix.org@stablejoy:matrix.orghttps://github.com/NixOS/nix.dev/pull/97406:33:20
@stablejoy:matrix.org@stablejoy:matrix.org the issue remains in the icat.nix 06:34:00
@stablejoy:matrix.org@stablejoy:matrix.org is the lib supposed to stay throughout the tutorial? 06:34:28
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @stablejoy:matrix.org
is the lib supposed to stay throughout the tutorial?
Replied in the PR thread
07:29:26
@stablejoy:matrix.org@stablejoy:matrix.org
In reply to @fricklerhandwerk:matrix.org
Replied in the PR thread
I made all the changes and updated the text a bit.
08:16:36
@stablejoy:matrix.org@stablejoy:matrix.orgoh nice I actually recorded an episode of fixing this :D08:19:15
@charles:computer.surgeryCharles changed their display name from Charles ⚡️ to Charles.17:01:07
@nick_kadutskyi:matrix.org@nick_kadutskyi:matrix.org changed their display name from nick_kadutskyi to nickkadutskyi.17:33:24
@nick_kadutskyi:matrix.org@nick_kadutskyi:matrix.org left the room.17:35:34
@nickkadutskyi:matrix.org@nickkadutskyi:matrix.org joined the room.17:38:24

Show newer messages


Back to Room ListRoom Version: 6