!9IQChSjwSHXPPWTa:lix.systems

Lix

1113 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms300 Servers

Load older messages


SenderMessageTime
11 Dec 2025
@charles:computer.surgeryCharlesyeah but "binding" is too scary of a word so people don't say that, they just say "variable" because that's more commonly understood21:29:34
@charles:computer.surgeryCharlesthe rust book for example used to use "binding" because it's correct but then switched to calling everything "variables" to be understandable21:29:56
@helle:tacobelllabs.nethelle (just a stray cat girl)yep, lies to children21:30:00
@helle:tacobelllabs.nethelle (just a stray cat girl)or in this case, lies to people who don't do programming language design or analysis or, etc21:30:26
@rosssmyth:matrix.orgrosssmythBasically just for people who don't usually sit in functional programming world21:31:00
@rosssmyth:matrix.orgrosssmythwhich is fine21:31:07
@helle:tacobelllabs.nethelle (just a stray cat girl)(something something we made a mistake by using =, give me :=)21:31:10
@helle:tacobelllabs.nethelle (just a stray cat girl)or who don't work with the design of programming languages in general (because every modern optimised language ends up being that in the end)21:31:41
@rosssmyth:matrix.orgrosssmythMy overall biggest complaint with the nix lang is that lists should be separated with commas so that spaces are not quite as overloaded21:32:35
@helle:tacobelllabs.nethelle (just a stray cat girl).... yes21:32:42
@helle:tacobelllabs.nethelle (just a stray cat girl)also so operator binding doesn't require as many braces or pipes21:33:22
@helle:tacobelllabs.nethelle (just a stray cat girl)well, dealing with21:33:29
@helle:tacobelllabs.nethelle (just a stray cat girl)it's fine now that I am used to nixlang, but it was a big pit fall early on21:33:52
@helle:tacobelllabs.nethelle (just a stray cat girl)and I have a background with Haskell (still wish that I could just cross compile Haskell to Nix, but well, that is a different story)21:34:17
@rosssmyth:matrix.orgrosssmythI think there's a Gleam backend for Nix. Unsure how maintained it is. 21:34:50
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping
In reply to @rosssmyth:matrix.org
My overall biggest complaint with the nix lang is that lists should be separated with commas so that spaces are not quite as overloaded
What about scala sytle no brackets at all and just :: between the elements? :D
i.e.
a :: b :: c
/j
21:36:04
@helle:tacobelllabs.nethelle (just a stray cat girl)noooooo21:36:15
@helle:tacobelllabs.nethelle (just a stray cat girl)wrote enough Scala, to go nooooo21:36:20
@helle:tacobelllabs.nethelle (just a stray cat girl)(we may have written in so many different languages at this point)21:36:35
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping Oh wait, nvm :: was just the (right hand associated) prepend operator, one must end it with a :: Nil 21:37:12
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pingCan nixlang2 get static typing at least?, the currrent one really feels like another javascript but for config instead of websites21:50:33
@k900:0upti.meK900 My galaxy brain take is that actually statically typing Nix is basically impossible to make good 21:54:17
@k900:0upti.meK900You need to do whole program inference, typescript style21:54:45
@k900:0upti.meK900 And probably refinement typing too 21:54:51
@rosssmyth:matrix.orgrosssmythYeah, if you can define the types for all the common Nixpkgs utilities then let me know 22:03:52
@rosssmyth:matrix.orgrosssmythlike22:04:07
@rosssmyth:matrix.orgrosssmythoverlays22:04:08
@piegames:flausch.socialpiegames
In reply to @charles:computer.surgery
you need some syntax to "dereference" a string as if it were a variable
Yes, that would indeed be needed
22:21:54
@522_:catgirl.cloud0x4fbb09 it/its ⛯✇ΘΔthat and it doesn't really matter a ton because nix being a config language means there is no "runtime crash", really22:22:55
@522_:catgirl.cloud0x4fbb09 it/its ⛯✇ΘΔthe difference between a type error and a runtime error is basically zero22:23:15

Show newer messages


Back to Room ListRoom Version: 10