Newest at the top
2025-06-06 20:32:48 +0200 | Lycurgus | (~juan@user/Lycurgus) Lycurgus |
2025-06-06 20:31:35 +0200 | trickard_ | (~trickard@cpe-53-98-47-163.wireline.com.au) (Read error: Connection reset by peer) |
2025-06-06 20:31:00 +0200 | <geekosaur> | hm. I have no idea then 😟 |
2025-06-06 20:30:05 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) |
2025-06-06 20:29:54 +0200 | <tomsmeding> | normally when it complains about inaccessible code, one can just remove the branch, but not here! |
2025-06-06 20:29:41 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Remote host closed the connection) |
2025-06-06 20:29:34 +0200 | <tomsmeding> | well, yes |
2025-06-06 20:29:32 +0200 | <tomsmeding> | and GHC warns that this code is inaccessible |
2025-06-06 20:29:18 +0200 | <tomsmeding> | geekosaur: the 'undefined' is of type (False ~ True => String) |
2025-06-06 20:28:23 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-06-06 20:28:06 +0200 | <geekosaur> | oh |
2025-06-06 20:27:55 +0200 | <geekosaur> | but it's not an obvious place at least to me |
2025-06-06 20:27:50 +0200 | <tomsmeding> | geekosaur: there is not even a pattern in sight here |
2025-06-06 20:27:22 +0200 | <geekosaur> | somewhere in a discussion of pattern match checking in the manual is a mention of a special pattern that means "this is used" iirc |
2025-06-06 20:25:26 +0200 | machinedgod | (~machinedg@d108-173-18-100.abhsia.telus.net) machinedgod |
2025-06-06 20:24:51 +0200 | trickard_ | (~trickard@cpe-53-98-47-163.wireline.com.au) |
2025-06-06 20:24:29 +0200 | trickard | (~trickard@cpe-53-98-47-163.wireline.com.au) (Read error: Connection reset by peer) |
2025-06-06 20:24:13 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) |
2025-06-06 20:23:50 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Remote host closed the connection) |
2025-06-06 20:23:40 +0200 | <tomsmeding> | geekosaur: what kind of magic pattern thing? |
2025-06-06 20:19:18 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
2025-06-06 20:18:45 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) |
2025-06-06 20:18:22 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Read error: Connection reset by peer) |
2025-06-06 20:18:00 +0200 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 268 seconds) |
2025-06-06 20:16:18 +0200 | trickard_ | trickard |
2025-06-06 20:14:56 +0200 | <geekosaur> | and I still can't find it 😞 |
2025-06-06 20:12:25 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-06-06 20:09:38 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) |
2025-06-06 20:09:16 +0200 | <geekosaur> | there's a magic pattern thing that I can never find in the manual |
2025-06-06 20:09:15 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Remote host closed the connection) |
2025-06-06 20:08:27 +0200 | sord937 | (~sord937@gateway/tor-sasl/sord937) (Quit: sord937) |
2025-06-06 20:03:48 +0200 | aman | (~aman@user/aman) (Ping timeout: 268 seconds) |
2025-06-06 20:03:37 +0200 | trickard_ | (~trickard@cpe-53-98-47-163.wireline.com.au) |
2025-06-06 20:02:40 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) |
2025-06-06 20:02:16 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Remote host closed the connection) |
2025-06-06 20:02:16 +0200 | <tomsmeding> | ) |
2025-06-06 20:02:14 +0200 | <tomsmeding> | (it's a remnant of an earlier attempt: I cannot use If here because the possibly-returned return value, here "String" for example's sake, is a polymorphic function type in my application, and you can't apply a type family to a forall-quantified type |
2025-06-06 20:01:55 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds) |
2025-06-06 20:01:32 +0200 | <tomsmeding> | oh -- the If is unused, ignore that |
2025-06-06 20:00:52 +0200 | <tomsmeding> | this SBool pattern seems to work well, but I don't see a way to circumvent the "inaccessible code" warning |
2025-06-06 20:00:45 +0200 | trickard_ | (~trickard@cpe-53-98-47-163.wireline.com.au) (Ping timeout: 260 seconds) |
2025-06-06 19:59:58 +0200 | <tomsmeding> | the idea is that I want some small parts of 'foo' to be configurable, and some configuration values mean that certain "return values" of 'foo' are not available |
2025-06-06 19:59:16 +0200 | <tomsmeding> | (in my actual application, 'foo' needs to be in CPS style because it introduces some existential variables; here it's somewhat redundant) |
2025-06-06 19:58:31 +0200 | <tomsmeding> | can I make GHC not complain about this intentionally "inaccessible code"? https://play.haskell.org/saved/UmbPMHoc |
2025-06-06 19:56:39 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-06-06 19:56:23 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) |
2025-06-06 19:56:01 +0200 | sabathan2 | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) (Read error: Connection reset by peer) |
2025-06-06 19:54:55 +0200 | ttybitnik | (~ttybitnik@user/wolper) (Ping timeout: 260 seconds) |
2025-06-06 19:54:34 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds) |
2025-06-06 19:54:12 +0200 | shaeto | (~Shaeto@94.25.234.65) (Quit: WeeChat 4.1.1) |