2026/06/21

Newest at the top

2026-06-21 13:13:23 +0000Beowulf(florian@sleipnir.bandrate.org)
2026-06-21 13:12:56 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-06-21 13:07:19 +0000 <probie> s/wrong a make/wrong and make/
2026-06-21 13:07:19 +0000Beowulf(florian@sleipnir.bandrate.org) (Quit: = "")
2026-06-21 13:07:18 +0000Enigmagic(~Enigmagic@user/Enigmagic) (Ping timeout: 252 seconds)
2026-06-21 13:07:07 +0000 <probie> If you pick a record; a user of your API can decide you were wrong a make a class. If you pick a class you might be forcing them down the path of lots of annoying newtypes, or using something like Data.Reflection
2026-06-21 13:04:00 +0000 <probie> If the answer is "no", then it can't hurt to make it a class.
2026-06-21 13:02:41 +0000Enigmagic(~Enigmagic@user/Enigmagic) Enigmagic
2026-06-21 13:02:34 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 266 seconds)
2026-06-21 13:01:22 +0000vetkat(~vetkat@user/vetkat) vetkat
2026-06-21 13:01:19 +0000 <probie> Is there more than one reasonable definition for `ClassOrRecord T` (for any given choice of `T`)?
2026-06-21 13:01:15 +0000Enigmagic(~Enigmagic@user/Enigmagic) (Ping timeout: 272 seconds)
2026-06-21 13:00:52 +0000vetkat(~vetkat@user/vetkat) (Remote host closed the connection)
2026-06-21 12:59:46 +0000califax(~califax@user/califx) califx
2026-06-21 12:57:41 +0000califax(~califax@user/califx) (Remote host closed the connection)
2026-06-21 12:57:10 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-06-21 12:54:52 +0000puke(~puke@user/puke) puke
2026-06-21 12:50:07 +0000jayanth(~jayanth@static-98-115-128-109.phlapa.fios.verizon.net)
2026-06-21 12:48:48 +0000puke(~puke@user/puke) (Quit: puke)
2026-06-21 12:46:00 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds)
2026-06-21 12:41:23 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-06-21 12:38:19 +0000polykernel(~polykerne@user/polykernel) (Ping timeout: 276 seconds)
2026-06-21 12:31:10 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds)
2026-06-21 12:30:08 +0000 <yin> what are the common heuristics?
2026-06-21 12:29:49 +0000 <yin> i'm building an API for my library and I can't decide if my interface should be a record type or a class
2026-06-21 12:28:46 +0000 <Digit> one of the very nicest
2026-06-21 12:28:32 +0000califax(~califax@user/califx) califx
2026-06-21 12:28:00 +0000CiaoSen(~Jura@2a02:3100:588a:de00:4e50:ddff:fe9b:8922) CiaoSen
2026-06-21 12:27:41 +0000califax(~califax@user/califx) (Remote host closed the connection)
2026-06-21 12:25:41 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-06-21 12:18:14 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds)
2026-06-21 12:16:38 +0000xff0x(~xff0x@2405:6580:b080:900:276e:9a01:f3d4:3fcb)
2026-06-21 12:16:33 +0000vms14(~vms14@user/vms14) (WeeChat 4.6.3)
2026-06-21 12:16:30 +0000 <vms14> see you
2026-06-21 12:16:28 +0000 <vms14> haskell has a nice community
2026-06-21 12:16:21 +0000 <vms14> it was fun though, thanks guy for helping me out with my random questions :D
2026-06-21 12:15:44 +0000xff0x(~xff0x@2405:6580:b080:900:7423:ed7:4abd:dce) (Ping timeout: 252 seconds)
2026-06-21 12:13:44 +0000 <vms14> but i'm too impure for haskell :D
2026-06-21 12:11:12 +0000 <vms14> i like how lazyness and fp teaches me to iterate infinity
2026-06-21 12:09:53 +0000 <vms14> and i have done nothing but avoid it xd
2026-06-21 12:09:37 +0000 <vms14> i think i cannot have future with haskell until i learn to appreciate the type system
2026-06-21 12:08:18 +0000 <__monty__> Exactly, mostly just a context based joke though. Haskell may not be the most suitable tool for you and that's OK.
2026-06-21 12:05:55 +0000CiaoSen(~Jura@2a02:3100:588a:de00:4e50:ddff:fe9b:8922) (Ping timeout: 244 seconds)
2026-06-21 12:05:18 +0000 <int-e> __monty__: you mean, with enough stones you can walk on the river bed, so you don't have to swim precariously?
2026-06-21 12:05:03 +0000 <vms14> the day i want to stop making hello worlds and do something serious i will drown
2026-06-21 12:04:49 +0000 <vms14> yeah, that's also true
2026-06-21 12:04:38 +0000 <__monty__> Wait until you need to cross a river ; )
2026-06-21 12:04:10 +0000 <vms14> i fail to appreciate all the stones it puts on my path
2026-06-21 12:03:51 +0000 <vms14> i'm thinking haskell is not the best option for me
2026-06-21 12:01:38 +0000chromoblob(~chromoblo@user/chromob1ot1c) chromoblob\0