!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

425 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.141 Servers

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


SenderMessageTime
14 Dec 2025
@piegames:flausch.socialpiegamesIf I die before finishing fixing this stupid language, my ghost will haunt Eelco personally forever until he repents for his sins16:59:06
@piegames:flausch.socialpiegames deprecation noises 16:59:59
@k900:0upti.meK900This is beautiful17:00:00
@helle:tacobelllabs.nethelle (just a stray cat girl) Eelco shakes very painful fist 17:01:15
@kloenk:kloenk.eukloenk psychic damage noises 17:01:29
@522_:catgirl.cloud0x4fbb09 it/its ⛯✇ΘΔ

... what's with this

# nix-instantiate --parse -E "01.4"
{
  "_type": "ExprCall",
  "args": [
    {
      "_type": "ExprLiteral",
      "value": 0.4,
      "valueType": "Float"
    }
  ],
  "fun": {
    "_type": "ExprLiteral",
    "value": 1,
    "valueType": "Int"
  }
}

... why is that not just a float literal with value 1.4

19:09:30
@piegames:flausch.socialpiegames Quick poll: should function application without spaces be allowed? foo"1"2 19:09:36
@piegames:flausch.socialpiegames
In reply to @522_:catgirl.cloud

... what's with this

# nix-instantiate --parse -E "01.4"
{
  "_type": "ExprCall",
  "args": [
    {
      "_type": "ExprLiteral",
      "value": 0.4,
      "valueType": "Float"
    }
  ],
  "fun": {
    "_type": "ExprLiteral",
    "value": 1,
    "valueType": "Int"
  }
}

... why is that not just a float literal with value 1.4

Because it parses as fucking 01 .4
19:10:03
@522_:catgirl.cloud0x4fbb09 it/its ⛯✇ΘΔlol19:10:18
@522_:catgirl.cloud0x4fbb09 it/its ⛯✇ΘΔoh right it's presumably just not legal 19:10:29
@522_:catgirl.cloud0x4fbb09 it/its ⛯✇ΘΔyeah19:10:35
@piegames:flausch.socialpiegames
In reply to @522_:catgirl.cloud
lol
Yeah because integers can have leading zeroes but not floats
19:11:58
@piegames:flausch.socialpiegamesSo floats with leading zeros of course parse as fucking function application19:12:21

Show newer messages


Back to Room ListRoom Version: 10