2024/11/08

Newest at the top

2024-11-08 16:12:17 +0100 <merijn> yin: Why avoid optics like the plague?
2024-11-08 16:09:28 +0100 <merijn> kqr: Which suggest what you really want might be in base's Numeric module :)
2024-11-08 16:08:18 +0100 <merijn> kqr: ah, wait, custom numeric types suggest what you *really* want is "convert number to string with control over decimals, etc." yes?
2024-11-08 16:07:37 +0100son0p(~ff@186.121.30.70) (Ping timeout: 244 seconds)
2024-11-08 16:07:10 +0100 <merijn> kqr: I mean, Printf is kinda yikes, so I would definitely avoid that
2024-11-08 16:05:23 +0100alexherbo2(~alexherbo@2a02-8440-3309-f88a-dc43-ac5e-6a5b-79bd.rev.sfr.net) (Remote host closed the connection)
2024-11-08 16:01:28 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2024-11-08 16:00:27 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2024-11-08 15:57:37 +0100enikar(~enikar@user/enikar) enikar
2024-11-08 15:57:13 +0100enikar(~enikar@user/enikar) (Quit: WeeChat 3.0)
2024-11-08 15:40:14 +0100ljdarj1ljdarj
2024-11-08 15:40:14 +0100ljdarj(~Thunderbi@user/ljdarj) (Ping timeout: 244 seconds)
2024-11-08 15:38:45 +0100ubert(~Thunderbi@178.165.164.236.wireless.dyn.drei.com) (Ping timeout: 246 seconds)
2024-11-08 15:38:25 +0100longlongdouble(~longlongd@2405:201:5c16:135:1989:242:cab1:419a)
2024-11-08 15:37:00 +0100ljdarj1(~Thunderbi@user/ljdarj) ljdarj
2024-11-08 15:34:46 +0100 <Rembane> yin: These: https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/records.html
2024-11-08 15:33:12 +0100notzmv(~daniel@user/notzmv) notzmv
2024-11-08 15:31:48 +0100ft(~ft@p4fc2a216.dip0.t-ipconnect.de) ft
2024-11-08 15:28:59 +0100JuanDaugherty(~juan@user/JuanDaugherty) (Quit: JuanDaugherty)
2024-11-08 15:28:51 +0100 <yin> i recently started using pattern synonyms, but just because the use case *really* asked for it, not because i like it
2024-11-08 15:28:33 +0100euleritian(~euleritia@dynamic-176-007-148-106.176.7.pool.telefonica.de)
2024-11-08 15:28:18 +0100euleritian(~euleritia@77.22.252.56) (Ping timeout: 245 seconds)
2024-11-08 15:28:05 +0100 <yin> such as?
2024-11-08 15:26:31 +0100L29Ah(~L29Ah@wikipedia/L29Ah) L29Ah
2024-11-08 15:26:12 +0100 <Rembane> yin: That sounds reasonable. Have you checked out some of the language extensions that were created to make records a byt more ergonomic?
2024-11-08 15:25:21 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2024-11-08 15:24:33 +0100Smiles(uid551636@id-551636.lymington.irccloud.com) Smiles
2024-11-08 15:20:19 +0100JuanDaugherty(~juan@user/JuanDaugherty) JuanDaugherty
2024-11-08 15:19:34 +0100 <yin> (weird example that was just right in front of me) (also i try to avoid optics like the plague)
2024-11-08 15:19:33 +0100alexherbo2(~alexherbo@2a02-8440-3309-f88a-dc43-ac5e-6a5b-79bd.rev.sfr.net) alexherbo2
2024-11-08 15:19:14 +0100alexherbo2(~alexherbo@2a02-8440-3309-f88a-dc43-ac5e-6a5b-79bd.rev.sfr.net) (Remote host closed the connection)
2024-11-08 15:17:38 +0100 <yin> state that gets updated many times a second. stuff like this: `... = (step st { μ = Play , θ = now (θ st) }) { μ = Pause }`
2024-11-08 15:17:18 +0100DigitteknohippieDigit
2024-11-08 15:14:54 +0100emfrom(~emfrom@37.170.21.237) (Remote host closed the connection)
2024-11-08 15:14:31 +0100sord937(~sord937@gateway/tor-sasl/sord937) sord937
2024-11-08 15:14:07 +0100sord937(~sord937@gateway/tor-sasl/sord937) (Remote host closed the connection)
2024-11-08 15:13:33 +0100 <yin> i think my MO is passing state around as a huge record with all the "global" variables
2024-11-08 15:11:10 +0100Digit(~user@user/digit) (Ping timeout: 252 seconds)
2024-11-08 15:10:57 +0100Digitteknohippie(~user@user/digit) Digit
2024-11-08 15:10:30 +0100ubert(~Thunderbi@178.165.164.236.wireless.dyn.drei.com) ubert
2024-11-08 15:10:08 +0100ubert(~Thunderbi@178.165.164.236.wireless.dyn.drei.com) (Quit: ubert)
2024-11-08 15:05:59 +0100 <Rembane> yin: How are you using records?
2024-11-08 15:01:34 +0100 <yin> maybe not
2024-11-08 15:01:05 +0100emfrom(~emfrom@37.170.21.237)
2024-11-08 14:58:51 +0100dontdieych2(~quassel@user/dontdieych2) (Client Quit)
2024-11-08 14:56:55 +0100dontdieych2(~quassel@user/dontdieych2) dontdieych2
2024-11-08 14:56:35 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2024-11-08 14:56:06 +0100user363627weary-traveler
2024-11-08 14:55:34 +0100user363627(~user@user/user363627) user363627
2024-11-08 14:54:58 +0100dontdieych2_(~quassel@user/dontdieych2) (Client Quit)