Newest at the top
2025-03-04 09:19:05 +0100 | ft | (~ft@p3e9bc68d.dip0.t-ipconnect.de) (Quit: leaving) |
2025-03-04 09:17:14 +0100 | j1n37 | (~j1n37@user/j1n37) (Ping timeout: 260 seconds) |
2025-03-04 09:09:19 +0100 | econo_ | (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity) |
2025-03-04 09:01:30 +0100 | tcard | (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) |
2025-03-04 09:00:55 +0100 | caconym | (~caconym@user/caconym) caconym |
2025-03-04 09:00:00 +0100 | caconym | (~caconym@user/caconym) (Quit: bye) |
2025-03-04 08:59:36 +0100 | alfiee | (~alfiee@user/alfiee) (Ping timeout: 252 seconds) |
2025-03-04 08:55:13 +0100 | alfiee | (~alfiee@user/alfiee) alfiee |
2025-03-04 08:53:47 +0100 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich |
2025-03-04 08:48:51 +0100 | tv | (~tv@user/tv) (Read error: Connection reset by peer) |
2025-03-04 08:44:58 +0100 | zungi | (~tory@user/andrewchawk) andrewchawk |
2025-03-04 08:38:00 +0100 | zungi | (~tory@user/andrewchawk) (Ping timeout: 264 seconds) |
2025-03-04 08:37:20 +0100 | CiaoSen | (~Jura@ip-037-201-240-075.um10.pools.vodafone-ip.de) CiaoSen |
2025-03-04 08:34:09 +0100 | CiaoSen | (~Jura@2a02:8071:64e1:7180:4e50:ddff:fe9b:8922) (Ping timeout: 248 seconds) |
2025-03-04 08:31:17 +0100 | vanishingideal | (~vanishing@user/vanishingideal) vanishingideal |
2025-03-04 08:29:58 +0100 | vanishingideal | (~vanishing@user/vanishingideal) (Remote host closed the connection) |
2025-03-04 08:26:15 +0100 | mceresa | (~mceresa@user/mceresa) mceresa |
2025-03-04 08:24:23 +0100 | mceresa | (~mceresa@user/mceresa) (Remote host closed the connection) |
2025-03-04 08:23:38 +0100 | j1n37 | (~j1n37@user/j1n37) j1n37 |
2025-03-04 08:22:10 +0100 | sord937 | (~sord937@gateway/tor-sasl/sord937) sord937 |
2025-03-04 08:19:56 +0100 | <[exa]> | ah yes, the dreaded explicit forall. :D |
2025-03-04 08:19:30 +0100 | j1n37 | (~j1n37@user/j1n37) (Read error: Connection reset by peer) |
2025-03-04 08:14:14 +0100 | <Square2> | Thanks for your input, I can now move on. |
2025-03-04 08:14:11 +0100 | <jackdk> | not magic: https://downloads.haskell.org/ghc/latest/docs/users_guide/exts/scoped_type_variables.html#extensio… |
2025-03-04 08:13:41 +0100 | <Square2> | wo. I just added a "forall a." in the outermost and it magically works |
2025-03-04 08:13:39 +0100 | <lambdabot> | 42 |
2025-03-04 08:13:38 +0100 | <mauke> | > let { outer :: forall a. (Read a) => String -> a; outer s = let { inner :: String -> a; inner = read } in inner s } in outer "42" :: Int |
2025-03-04 08:13:32 +0100 | <Leary> | Err, STV* |
2025-03-04 08:12:08 +0100 | <Square2> | [exa], Ok, not sure I understand the latter part ... but that is a me problem probably. =D |
2025-03-04 08:12:02 +0100 | Lord_of_Life_ | Lord_of_Life |
2025-03-04 08:11:53 +0100 | <Leary> | There's nothing unintuitive about SCT, it just has bad syntax: you need to introduce the scoped tyvars in the outermost explicit forall. |
2025-03-04 08:11:17 +0100 | Lord_of_Life | (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 248 seconds) |
2025-03-04 08:11:02 +0100 | <[exa]> | Square2: most likely one of the inner signatures there is too generic in some of the variables (did you capture _all_ variables that need to get "through" so that the types check?) |
2025-03-04 08:10:41 +0100 | Lord_of_Life_ | (~Lord@user/lord-of-life/x-2819915) Lord_of_Life |
2025-03-04 08:09:45 +0100 | alfiee | (~alfiee@user/alfiee) (Ping timeout: 276 seconds) |
2025-03-04 08:09:45 +0100 | <Square2> | [exa], I will try. |
2025-03-04 08:09:16 +0100 | <[exa]> | Square2: can you post mwe? |
2025-03-04 08:09:11 +0100 | <[exa]> | Square2: it's often quite surprising in what it actually does, much initial intuition has also failed for me |
2025-03-04 08:08:41 +0100 | <Square2> | Seems it doesn't do what I want. It complains like: "Could not deduce `a0 ~ a'" |
2025-03-04 08:06:28 +0100 | <jackdk> | ScopedTypeVariables? |
2025-03-04 08:05:58 +0100 | madcabbage | (~cabbage@207.148.176.79) (Ping timeout: 252 seconds) |
2025-03-04 08:05:51 +0100 | <Square2> | There is no way you can have local functions use a type argument (in its signature) of the enclosing function? |
2025-03-04 08:04:47 +0100 | alfiee | (~alfiee@user/alfiee) alfiee |
2025-03-04 08:02:00 +0100 | igemnace_ | igemnace |
2025-03-04 08:00:41 +0100 | CiaoSen | (~Jura@2a02:8071:64e1:7180:4e50:ddff:fe9b:8922) CiaoSen |
2025-03-04 07:55:24 +0100 | MyNetAz | (~MyNetAz@user/MyNetAz) MyNetAz |
2025-03-04 07:53:03 +0100 | pavonia | (~user@user/siracusa) siracusa |
2025-03-04 07:49:05 +0100 | duncan | (c6181279e3@user/meow/duncan) duncan |
2025-03-04 07:48:23 +0100 | MyNetAz | (~MyNetAz@user/MyNetAz) (Remote host closed the connection) |
2025-03-04 07:47:52 +0100 | sabathan | (~sabathan@amarseille-159-1-12-107.w86-203.abo.wanadoo.fr) |