2026/02/24

Newest at the top

2026-02-24 09:50:43 +0100srk(~sorki@user/srk) (Ping timeout: 264 seconds)
2026-02-24 09:37:54 +0100__monty__(~toonn@user/toonn) toonn
2026-02-24 09:34:20 +0100AlexNoo__(~AlexNoo@178.34.163.162) (Ping timeout: 268 seconds)
2026-02-24 09:33:43 +0100AlexNoo_(~AlexNoo@178.34.163.162) (Ping timeout: 268 seconds)
2026-02-24 09:33:41 +0100AlexNoo(~AlexNoo@178.34.163.162)
2026-02-24 09:33:06 +0100AlexNoo(~AlexNoo@178.34.163.162) (Ping timeout: 268 seconds)
2026-02-24 09:29:43 +0100AlexNoo__(~AlexNoo@178.34.163.162)
2026-02-24 09:28:59 +0100AlexNoo_(~AlexNoo@178.34.163.162)
2026-02-24 09:28:15 +0100AlexNoo(~AlexNoo@178.34.163.162)
2026-02-24 09:27:27 +0100tromp(~textual@2001:1c00:3487:1b00:7955:9591:6018:7ef9)
2026-02-24 09:18:04 +0100Pozyomka(~pyon@user/pyon) (Ping timeout: 268 seconds)
2026-02-24 09:15:32 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2026-02-24 09:15:00 +0100peterbecich(~Thunderbi@71.84.33.135) (Ping timeout: 255 seconds)
2026-02-24 09:11:18 +0100lbseale(~quassel@user/ep1ctetus) (Ping timeout: 256 seconds)
2026-02-24 09:11:10 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-02-24 09:06:23 +0100wickedjargon(~user@2605:8d80:5430:dc79:6396:7e42:d4e3:36f9) (Read error: Connection reset by peer)
2026-02-24 09:02:09 +0100chele(~chele@user/chele) chele
2026-02-24 09:00:09 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
2026-02-24 08:56:33 +0100jj(~apropos@node-1w7jr9pqogh9vahu1mvneock5.ipv6.telus.net) omentic
2026-02-24 08:55:47 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-02-24 08:52:41 +0100jj(~apropos@node-1w7jr9pqogh9vahu1mvneock5.ipv6.telus.net) (Ping timeout: 248 seconds)
2026-02-24 08:47:54 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
2026-02-24 08:44:04 +0100Enrico63(~Enrico63@host-79-19-156-232.retail.telecomitalia.it) (Quit: Client closed)
2026-02-24 08:40:54 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-02-24 08:37:13 +0100tzh(~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz)
2026-02-24 08:36:31 +0100Enrico63(~Enrico63@host-79-19-156-232.retail.telecomitalia.it) Enrico63
2026-02-24 08:30:52 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds)
2026-02-24 08:30:20 +0100img(~img@user/img) img
2026-02-24 08:29:48 +0100wickedjargon(~user@2605:8d80:5430:dc79:6396:7e42:d4e3:36f9) wickedjargon
2026-02-24 08:29:04 +0100img(~img@user/img) (Quit: ZNC 1.10.1 - https://znc.in)
2026-02-24 08:27:32 +0100 <gentauro> many thx
2026-02-24 08:27:01 +0100 <gentauro> Leary: now that was nifty <3
2026-02-24 08:25:32 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-02-24 08:24:47 +0100marinelli(~weechat@gateway/tor-sasl/marinelli) marinelli
2026-02-24 08:23:05 +0100 <lambdabot> [Foo,Bar]
2026-02-24 08:23:04 +0100 <Leary> > [minBound .. maxBound] :: [FooBarEnum]
2026-02-24 08:22:24 +0100 <Leary> Ah, Forgot to derive `Bounded`. Well, you get the idea.
2026-02-24 08:21:58 +0100 <lambdabot> In the expression: minBound
2026-02-24 08:21:57 +0100 <lambdabot> arising from a use of ‘minBound’
2026-02-24 08:21:57 +0100 <lambdabot> No instance for ‘Bounded FooBarEnum’
2026-02-24 08:21:56 +0100 <Leary> > [minBound .. maxBound] :: [FooBarEnum]
2026-02-24 08:21:46 +0100 <lambdabot> Defined.
2026-02-24 08:21:44 +0100 <Leary> @let data FooBarEnum = Foo | Bar deriving (Eq, Show, Enum)
2026-02-24 08:20:29 +0100gentaurowhich would result in [ Foo, Bar ]
2026-02-24 08:20:09 +0100 <gentauro> Is there built-in logic in Haskell such as in F# `Enum.GetValues(typeof<tags>)` where you can get a sequence of the values for an (enum) datatype? For example for `data FooBarEnum = Foo | Bar deriving (Eq, Show)`.
2026-02-24 08:15:10 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 268 seconds)
2026-02-24 08:11:53 +0100 <gentauro> however, they don't work with `runghc` :-\
2026-02-24 08:11:51 +0100Sgeo(~Sgeo@user/sgeo) (Read error: Connection reset by peer)
2026-02-24 08:11:36 +0100 <gentauro> there seem to be `GHC` cli flags for that -> https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/safe_haskell.html#package-trust
2026-02-24 08:10:10 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn