Logs: liberachat/#haskell
| 2021-07-20 18:50:31 | × | dunkeln_ quits (~dunkeln@188.71.231.232) (Ping timeout: 246 seconds) |
| 2021-07-20 18:52:11 | × | mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Ping timeout: 268 seconds) |
| 2021-07-20 18:54:57 | → | Ariakenom joins (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
| 2021-07-20 18:55:14 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 252 seconds) |
| 2021-07-20 18:55:57 | × | favonia quits (~favonia@user/favonia) (Ping timeout: 255 seconds) |
| 2021-07-20 18:56:46 | → | benin0369 joins (~benin@106.198.95.190) |
| 2021-07-20 19:01:33 | → | justsomeguy joins (~justsomeg@user/justsomeguy) |
| 2021-07-20 19:02:34 | → | dunkeln_ joins (~dunkeln@188.71.231.232) |
| 2021-07-20 19:05:08 | × | azeem quits (~azeem@dynamic-adsl-94-34-39-251.clienti.tiscali.it) (Read error: Connection reset by peer) |
| 2021-07-20 19:05:34 | → | azeem joins (~azeem@dynamic-adsl-94-34-39-251.clienti.tiscali.it) |
| 2021-07-20 19:06:41 | → | favonia joins (~favonia@user/favonia) |
| 2021-07-20 19:08:59 | → | Deide joins (~Deide@user/deide) |
| 2021-07-20 19:13:12 | → | Erutuon joins (~Erutuon@user/erutuon) |
| 2021-07-20 19:13:29 | × | dunkeln_ quits (~dunkeln@188.71.231.232) (Ping timeout: 252 seconds) |
| 2021-07-20 19:13:41 | × | adinf quits (~adinfinit@2600:6c40:653f:5f00:a650:d8d7:fe0b:8c1f) (Ping timeout: 255 seconds) |
| 2021-07-20 19:15:22 | × | aegon quits (~mike@174.127.249.180) (Quit: leaving) |
| 2021-07-20 19:17:38 | × | abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Remote host closed the connection) |
| 2021-07-20 19:18:08 | <maerwald> | it seems to be using ghc-lib-parser |
| 2021-07-20 19:18:13 | → | dunkeln_ joins (~dunkeln@188.71.231.232) |
| 2021-07-20 19:18:19 | <maerwald> | but that doesn't help |
| 2021-07-20 19:27:53 | → | abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) |
| 2021-07-20 19:33:45 | × | favonia quits (~favonia@user/favonia) (Ping timeout: 255 seconds) |
| 2021-07-20 19:34:36 | × | eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 2021-07-20 19:34:46 | → | favonia joins (~favonia@user/favonia) |
| 2021-07-20 19:35:08 | → | mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) |
| 2021-07-20 19:37:50 | → | adinf joins (~adinfinit@2600:6c40:653f:5f00:a650:d8d7:fe0b:8c1f) |
| 2021-07-20 19:41:51 | <delYsid> | Your favourite haskell talk on yt? |
| 2021-07-20 19:42:14 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2021-07-20 19:42:54 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2021-07-20 19:50:25 | <jackhill> | delYsid: there's so much good stuff out there, but on the implementation side, I like "Into the Core - Squeezing Haskell into Nine Constructors by Simon Peyton Jones" https://www.youtube.com/watch?v=uR_VzYxvbxg |
| 2021-07-20 19:50:41 | → | eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 2021-07-20 19:55:18 | × | Null_A quits (~null_a@2601:645:8700:2290:f559:df0a:6e82:e360) (Read error: Connection reset by peer) |
| 2021-07-20 19:58:43 | <delYsid> | jackhill: Thanks, good reminder. |
| 2021-07-20 19:58:50 | → | Guest45 joins (~Guest45@161.35.107.60) |
| 2021-07-20 20:00:16 | → | argento joins (~argent0@168-227-96-53.ptr.westnet.com.ar) |
| 2021-07-20 20:00:35 | <sm> | stack source code gives a warning if you build with trace calls like traceShowId in the code, but I don't see how. Any ideas ? |
| 2021-07-20 20:01:08 | ← | Guest45 parts (~Guest45@161.35.107.60) () |
| 2021-07-20 20:01:28 | → | retro_ joins (~retro@97e2ba5d.skybroadband.com) |
| 2021-07-20 20:01:56 | × | dunkeln_ quits (~dunkeln@188.71.231.232) (Ping timeout: 258 seconds) |
| 2021-07-20 20:01:59 | <maerwald> | what's the warning |
| 2021-07-20 20:02:11 | → | Null_A joins (~null_a@2601:645:8700:2290:51:7614:ed:3f42) |
| 2021-07-20 20:02:21 | → | h98 joins (~h98@187.83.249.216.dyn.smithville.net) |
| 2021-07-20 20:04:57 | × | retroid_ quits (~retro@97e2ba5d.skybroadband.com) (Ping timeout: 268 seconds) |
| 2021-07-20 20:05:12 | <h98> | is there a way to uninstance something for a more specific type? Like say I have instance Foo a where... but want this to specifically not apply to Int |
| 2021-07-20 20:05:15 | × | juhp quits (~juhp@128.106.188.66) (Ping timeout: 255 seconds) |
| 2021-07-20 20:05:38 | × | Obo quits (~roberto@70.pool90-171-81.dynamic.orange.es) (Ping timeout: 252 seconds) |
| 2021-07-20 20:05:39 | → | retroid_ joins (~retro@97e2ba5d.skybroadband.com) |
| 2021-07-20 20:05:51 | <h98> | I know I can replace the instance with overlapping etc, but I want to really undefine it so I'd get a compile error if I tried to invoke it |
| 2021-07-20 20:06:11 | × | retro_ quits (~retro@97e2ba5d.skybroadband.com) (Ping timeout: 268 seconds) |
| 2021-07-20 20:06:44 | → | juhp joins (~juhp@128.106.188.66) |
| 2021-07-20 20:08:22 | × | chris_ quits (~chris@81.96.113.213) (Remote host closed the connection) |
| 2021-07-20 20:08:40 | <sm> | maerwald: "Trace statement left in code" |
| 2021-07-20 20:09:16 | <sm> | good idea.. I see it defined with WARNING pragmas in https://hackage.haskell.org/package/rio-0.1.0.0/docs/src/RIO.Prelude.Trace.html |
| 2021-07-20 20:10:02 | <maerwald> | use Debug.Trace instead then |
| 2021-07-20 20:10:20 | <sm> | https://downloads.haskell.org/ghc/latest/docs/html/users_guide/exts/pragmas.html?highlight=pragmas#warning-and-deprecated-pragmas, sweet |
| 2021-07-20 20:10:32 | <sm> | I was wondering how to do the same in my code |
| 2021-07-20 20:10:35 | <maerwald> | ah |
| 2021-07-20 20:10:38 | spoonm | is now known as hayoung |
| 2021-07-20 20:11:03 | <maerwald> | new stack release btw |
| 2021-07-20 20:13:19 | → | chris_ joins (~chris@81.96.113.213) |
| 2021-07-20 20:13:37 | → | horatioh2 joins (~horatiohb@161.35.107.60) |
| 2021-07-20 20:14:33 | → | chris____ joins (~chris@81.96.113.213) |
| 2021-07-20 20:14:33 | × | chris_ quits (~chris@81.96.113.213) (Read error: Connection reset by peer) |
| 2021-07-20 20:14:53 | × | Null_A quits (~null_a@2601:645:8700:2290:51:7614:ed:3f42) (Remote host closed the connection) |
| 2021-07-20 20:15:05 | <sm> | oh nice, thanks! |
| 2021-07-20 20:15:43 | hayoung | is now known as spoonm |
| 2021-07-20 20:15:51 | → | lavaman joins (~lavaman@98.38.249.169) |
| 2021-07-20 20:16:36 | <lechner> | Hi, does it matter whether I use 'try' and 'SomeException(..)' from Control.Exception or Control.Monad.Catch, please? This code looks great but does not work. Thanks! https://dpaste.org/FdkL#L24,25 |
| 2021-07-20 20:17:01 | × | chris____ quits (~chris@81.96.113.213) (Remote host closed the connection) |
| 2021-07-20 20:19:13 | <maerwald> | lechner: evaluate might not be enough to trigger the exception |
| 2021-07-20 20:19:18 | → | Null_A joins (~null_a@2601:645:8700:2290:51:7614:ed:3f42) |
| 2021-07-20 20:19:27 | <maerwald> | see the documentation on 'evaluate' |
| 2021-07-20 20:19:50 | × | dtman34 quits (~dtman34@c-73-62-246-247.hsd1.mn.comcast.net) (Ping timeout: 265 seconds) |
| 2021-07-20 20:20:03 | → | chris_ joins (~chris@81.96.113.213) |
| 2021-07-20 20:20:20 | → | abhixec_ joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) |
| 2021-07-20 20:20:22 | × | lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 268 seconds) |
| 2021-07-20 20:20:29 | <maerwald> | converting to strict ByteString is usually would you do in such a case |
| 2021-07-20 20:21:47 | <lechner> | the key here being that the "head" of a lazy ByteString is just that? |
| 2021-07-20 20:22:10 | <maerwald> | you'll probably only force the first chunk, yeah |
| 2021-07-20 20:22:25 | <maerwald> | @hoogle deepseq |
| 2021-07-20 20:22:26 | <lambdabot> | package deepseq |
| 2021-07-20 20:22:26 | <lambdabot> | Control.DeepSeq deepseq :: NFData a => a -> b -> b |
| 2021-07-20 20:22:26 | <lambdabot> | Protolude deepseq :: NFData a => a -> b -> b |
| 2021-07-20 20:22:34 | <lechner> | chunk? |
| 2021-07-20 20:22:45 | <maerwald> | yes |
| 2021-07-20 20:23:48 | <maerwald> | data ByteString = Empty | Chunk {-# UNPACK #-} !S.ByteString ByteString |
| 2021-07-20 20:25:14 | × | favonia quits (~favonia@user/favonia) (Ping timeout: 255 seconds) |
| 2021-07-20 20:25:35 | <maerwald> | lazy bytestring is sloppy streaming |
| 2021-07-20 20:25:47 | <lechner> | i am starting to get it |
| 2021-07-20 20:25:59 | <maerwald> | if you can, avoid it |
| 2021-07-20 20:26:04 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a1-224.dhcp.inet.fi) (Remote host closed the connection) |
| 2021-07-20 20:26:15 | <lechner> | getting it is good |
| 2021-07-20 20:26:30 | <lechner> | sorry, bad pun |
| 2021-07-20 20:26:43 | <maerwald> | https://hackage.haskell.org/package/lzma-conduit-1.2.1/docs/Data-Conduit-Lzma.html |
| 2021-07-20 20:26:45 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a1-224.dhcp.inet.fi) |
| 2021-07-20 20:27:13 | <lechner> | but going strict will evalutate the whole thing, regardless of chunks, right? |
| 2021-07-20 20:27:25 | <maerwald> | yeah |
| 2021-07-20 20:27:36 | → | favonia joins (~favonia@user/favonia) |
| 2021-07-20 20:27:46 | <maerwald> | you can use deepseq |
| 2021-07-20 20:27:53 | <maerwald> | see the documentation on 'evaluate' |
All times are in UTC.