Logs: liberachat/#haskell
| 2026-02-24 03:40:40 | → | xff0x_ joins (~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp) |
| 2026-02-24 03:41:00 | × | arandombit quits (~arandombi@user/arandombit) (Ping timeout: 256 seconds) |
| 2026-02-24 03:41:24 | × | machinedgod quits (~machinedg@d172-219-48-230.abhsia.telus.net) (Ping timeout: 255 seconds) |
| 2026-02-24 03:42:45 | × | xff0x quits (~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp) (Ping timeout: 255 seconds) |
| 2026-02-24 03:44:13 | → | peterbecich joins (~Thunderbi@71.84.33.135) |
| 2026-02-24 03:44:59 | xff0x_ | is now known as xff0x |
| 2026-02-24 03:45:00 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 255 seconds) |
| 2026-02-24 03:45:11 | <monochrom> | Then one day you will run into something like this recent example: https://discourse.haskell.org/t/breaking-changes-in-time-1-15-ghc-9-14/13711 |
| 2026-02-24 03:45:53 | <monochrom> | (time-1.15 adds new pattern synonyms that name-clashes with someone's existing code that assumes <=1.14) |
| 2026-02-24 03:47:26 | × | APic quits (apic@apic.name) (Server closed connection) |
| 2026-02-24 03:47:26 | <monochrom> | So if you set a lower bound like <=1.14 or 1.13, the worst that can happen is cabal downloads and builds an appropriate version of time. If you don't set a lower bound, now you have to set a lower bound. |
| 2026-02-24 03:47:38 | → | APic joins (apic@apic.name) |
| 2026-02-24 03:55:56 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 03:59:57 | × | yahb2 quits (~yahb2@user/tomsmeding/bot/yahb2) (Server closed connection) |
| 2026-02-24 04:00:19 | → | yahb2 joins (~yahb2@user/tomsmeding/bot/yahb2) |
| 2026-02-24 04:00:19 | ChanServ | sets mode +v yahb2 |
| 2026-02-24 04:00:20 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
| 2026-02-24 04:08:53 | <Leary> | In that particular case, I think the actual issue is importing without concern for namespace pollution. Also, that's an upper bound? |
| 2026-02-24 04:09:15 | <Leary> | Reflecting things a bit, your point seems to be that an older version of a dependency (than is implicitly assumed) may be used to build the package, causing it to fail. |
| 2026-02-24 04:09:40 | <Leary> | But the alternative of refusing to build what would have succeeded doesn't really seem better; either way the bound is wrong and you're relying on intrepid explorers to eventually correct it. |
| 2026-02-24 04:09:55 | × | arahael quits (~wetfoot@user/arahael) (Ping timeout: 265 seconds) |
| 2026-02-24 04:11:17 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 04:16:03 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 255 seconds) |
| 2026-02-24 04:17:42 | × | ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 2026-02-24 04:18:07 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 2026-02-24 04:18:18 | <monochrom> | Oh oops yeah that's an upper bound. |
| 2026-02-24 04:20:06 | × | eL_Bart0- quits (eL_Bart02@dietunichtguten.org) (Server closed connection) |
| 2026-02-24 04:20:19 | → | eL_Bart0 joins (eL_Bart02@dietunichtguten.org) |
| 2026-02-24 04:20:33 | × | lbseale quits (~quassel@user/ep1ctetus) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 2026-02-24 04:21:17 | → | lbseale joins (~quassel@user/ep1ctetus) |
| 2026-02-24 04:23:56 | → | lisbeths joins (uid135845@id-135845.lymington.irccloud.com) |
| 2026-02-24 04:26:39 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 04:31:21 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 255 seconds) |
| 2026-02-24 04:32:27 | <geekosaur> | ithis is a long-running argument, and there are no real solutions because you can't reliably infer upper or lower bounds; you or someone else must experiment or actively test |
| 2026-02-24 04:32:46 | × | eso quits (a0662dfd5e@2a03:6000:1812:100::1266) (Server closed connection) |
| 2026-02-24 04:32:49 | <geekosaur> | and leaving either off forces others to do it for you by their tripping over it |
| 2026-02-24 04:32:54 | → | eso joins (a0662dfd5e@2a03:6000:1812:100::1266) |
| 2026-02-24 04:42:01 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 04:42:51 | × | Athas quits (athas@2a01:7c8:aaac:1cf:acb7:4f2b:6164:21c9) (Quit: ZNC 1.9.1 - https://znc.in) |
| 2026-02-24 04:43:03 | → | Athas joins (athas@2a01:7c8:aaac:1cf:10a0:cce8:21cf:53aa) |
| 2026-02-24 04:43:37 | → | michalz joins (~michalz@185.246.207.221) |
| 2026-02-24 04:46:46 | × | doyougnu quits (~doyougnu@38.175.72.111) (Server closed connection) |
| 2026-02-24 04:47:32 | → | doyougnu joins (~doyougnu@38.175.72.111) |
| 2026-02-24 04:49:04 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds) |
| 2026-02-24 04:52:48 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 04:57:27 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 255 seconds) |
| 2026-02-24 04:58:16 | × | ChaiTRex quits (~ChaiTRex@user/chaitrex) (Ping timeout: 252 seconds) |
| 2026-02-24 04:58:48 | → | ChaiTRex joins (~ChaiTRex@user/chaitrex) |
| 2026-02-24 05:07:42 | × | defragger quits (~random@i5C742DFE.versanet.de) (Ping timeout: 256 seconds) |
| 2026-02-24 05:08:11 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 05:13:04 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 268 seconds) |
| 2026-02-24 05:19:12 | × | Googulator17 quits (~Googulato@2a01-036d-0106-499d-1c5a-0e4b-5795-d7e3.pool6.digikabel.hu) (Quit: Client closed) |
| 2026-02-24 05:19:28 | → | Googulator17 joins (~Googulato@2a01-036d-0106-499d-1c5a-0e4b-5795-d7e3.pool6.digikabel.hu) |
| 2026-02-24 05:23:33 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 05:28:27 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 272 seconds) |
| 2026-02-24 05:28:57 | × | jtnuttall quits (~jeremy@user/jeremyn) (Ping timeout: 255 seconds) |
| 2026-02-24 05:29:34 | → | lol__ joins (~lol@2603:3016:1e01:b940:4d29:e35:f98e:367a) |
| 2026-02-24 05:34:00 | × | lol_ quits (~lol@2603:3016:1e01:b940:9441:c46b:69b3:7076) (Ping timeout: 264 seconds) |
| 2026-02-24 05:38:55 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 05:40:31 | × | emaczen quits (~user@user/emaczen) (Ping timeout: 264 seconds) |
| 2026-02-24 05:43:31 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds) |
| 2026-02-24 05:50:57 | → | Square2 joins (~Square4@user/square) |
| 2026-02-24 05:53:45 | × | Square3 quits (~Square@user/square) (Ping timeout: 248 seconds) |
| 2026-02-24 05:53:48 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 05:58:31 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds) |
| 2026-02-24 06:03:04 | × | p3n_ quits (~p3n@217.198.124.246) (Quit: ZNC 1.10.1 - https://znc.in) |
| 2026-02-24 06:03:34 | → | p3n joins (~p3n@2a00:19a0:3:7c:0:d9c6:7cf6:1) |
| 2026-02-24 06:05:55 | × | peterbecich quits (~Thunderbi@71.84.33.135) (Ping timeout: 265 seconds) |
| 2026-02-24 06:09:11 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 06:13:39 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds) |
| 2026-02-24 06:17:29 | → | takuan joins (~takuan@d8D86B9E9.access.telenet.be) |
| 2026-02-24 06:24:33 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 06:26:09 | × | Googulator17 quits (~Googulato@2a01-036d-0106-499d-1c5a-0e4b-5795-d7e3.pool6.digikabel.hu) (Quit: Client closed) |
| 2026-02-24 06:26:15 | → | Googulator33 joins (~Googulato@2a01-036d-0106-499d-1c5a-0e4b-5795-d7e3.pool6.digikabel.hu) |
| 2026-02-24 06:29:56 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
| 2026-02-24 06:38:10 | × | haritz quits (~hrtz@user/haritz) (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in) |
| 2026-02-24 06:40:35 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 06:44:34 | × | Googulator33 quits (~Googulato@2a01-036d-0106-499d-1c5a-0e4b-5795-d7e3.pool6.digikabel.hu) (Quit: Client closed) |
| 2026-02-24 06:44:35 | → | Googulator78 joins (~Googulato@2a01-036d-0106-499d-1c5a-0e4b-5795-d7e3.pool6.digikabel.hu) |
| 2026-02-24 06:45:19 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds) |
| 2026-02-24 06:51:41 | × | marinelli quits (~weechat@gateway/tor-sasl/marinelli) (Quit: marinelli) |
| 2026-02-24 06:54:48 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 06:59:21 | × | jmcantrell quits (~weechat@user/jmcantrell) (Ping timeout: 248 seconds) |
| 2026-02-24 06:59:24 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 255 seconds) |
| 2026-02-24 07:00:47 | → | peterbecich joins (~Thunderbi@71.84.33.135) |
| 2026-02-24 07:08:15 | <gentauro> | adding this to a file works -> `{-# OPTIONS_GHC -Wall -Werror -fpackage-trust #-}`. However, this does not: `{-# OPTIONS_GHC -Wall -Werror -fpackage-trust -trust=base #-}`. |
| 2026-02-24 07:08:39 | gentauro | error msg: "Unknown flag in {-# OPTIONS_GHC #-} pragma: -trust=base". |
| 2026-02-24 07:09:08 | <gentauro> | anybody know how to pass trusted packages in the `OPTIONS_GHC` pragma? |
| 2026-02-24 07:10:10 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-24 07:11:36 | <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 07:11:51 | × | Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 2026-02-24 07:11:53 | <gentauro> | however, they don't work with `runghc` :-\ |
| 2026-02-24 07:15:10 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 268 seconds) |
| 2026-02-24 07:20:09 | <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 07:20:29 | gentauro | which would result in [ Foo, Bar ] |
| 2026-02-24 07:21:44 | <Leary> | @let data FooBarEnum = Foo | Bar deriving (Eq, Show, Enum) |
| 2026-02-24 07:21:46 | <lambdabot> | Defined. |
| 2026-02-24 07:21:56 | <Leary> | > [minBound .. maxBound] :: [FooBarEnum] |
| 2026-02-24 07:21:57 | <lambdabot> | No instance for ‘Bounded FooBarEnum’ |
| 2026-02-24 07:21:57 | <lambdabot> | arising from a use of ‘minBound’ |
All times are in UTC.