Logs on 2024-07-06 (liberachat/#haskell)
| 00:00:11 | → | ystael joins (~ystael@user/ystael) |
| 00:00:28 | × | rdcdr quits (~rdcdr@user/rdcdr) (Ping timeout: 256 seconds) |
| 00:01:03 | → | rdcdr joins (~rdcdr@user/rdcdr) |
| 00:05:49 | <mauke> | geekosaur: that's a bit too low-level |
| 00:06:55 | <geekosaur> | I know a lot of System.Process has proved to be problematic on Windows and OS X (apparently has a very broken posix_spawn) |
| 00:18:20 | × | ystael quits (~ystael@user/ystael) (Ping timeout: 268 seconds) |
| 00:45:29 | → | bilegeek joins (~bilegeek@2600:1008:b020:db13:a3c9:729:3fa4:976b) |
| 01:01:24 | × | waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 252 seconds) |
| 01:04:16 | × | tabemann__ quits (~tabemann@2600:1700:7990:24e0:2727:c00:50bb:6a1f) (Remote host closed the connection) |
| 01:04:31 | → | tabemann__ joins (~tabemann@2600:1700:7990:24e0:bdf5:2044:ddb4:b631) |
| 01:09:23 | × | Tuplanolla quits (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.) |
| 01:15:29 | × | benjaminl quits (~benjaminl@user/benjaminl) (Remote host closed the connection) |
| 01:16:20 | → | benjaminl joins (~benjaminl@user/benjaminl) |
| 01:29:47 | × | puke quits (~puke@user/puke) (Remote host closed the connection) |
| 01:30:34 | → | puke joins (~puke@user/puke) |
| 01:52:38 | <dmj`> | geekosaur: libuv would be nice to fix that |
| 01:53:30 | <geekosaur> | I don't think ghc hq is in a big hurry to rewrite the entire I/O manager around libuv |
| 02:11:39 | × | EvanR quits (~EvanR@user/evanr) (Ping timeout: 264 seconds) |
| 02:16:23 | × | gmg quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 02:27:52 | <dmj`> | geekosaur: yea, probably not possible at this point |
| 02:37:27 | × | td_ quits (~td@i53870914.versanet.de) (Ping timeout: 264 seconds) |
| 02:38:56 | → | td_ joins (~td@i53870914.versanet.de) |
| 02:40:07 | × | nitrix quits (~nitrix@user/meow/nitrix) (Quit: ZNC 1.8.2 - https://znc.in) |
| 02:41:33 | → | nitrix joins (~nitrix@user/meow/nitrix) |
| 02:47:53 | → | EvanR joins (~EvanR@user/evanr) |
| 02:49:17 | → | Nosrep joins (~Nosrep@user/nosrep) |
| 02:58:30 | × | dysthesis quits (~dysthesis@user/dysthesis) (Ping timeout: 260 seconds) |
| 03:02:21 | <elevenkb> | (psu |
| 03:02:26 | <elevenkb> | sorry, that was a mistake |
| 03:14:24 | × | aforemny_ quits (~aforemny@i59F516DC.versanet.de) (Ping timeout: 255 seconds) |
| 03:14:43 | → | aforemny joins (~aforemny@i59F516F8.versanet.de) |
| 03:50:48 | → | joeyadams joins (~joeyadams@2603:6010:5100:2ed:1747:e0ef:9722:78b4) |
| 04:00:15 | → | machinedgod joins (~machinedg@d173-183-246-216.abhsia.telus.net) |
| 04:19:11 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 04:19:31 | → | img joins (~img@user/img) |
| 04:21:54 | × | img quits (~img@user/img) (Client Quit) |
| 04:23:13 | → | img joins (~img@user/img) |
| 04:55:09 | × | Square quits (~Square@user/square) (Ping timeout: 252 seconds) |
| 05:03:50 | → | RedFlamingos joins (~RedFlamin@user/RedFlamingos) |
| 05:06:50 | → | tcard_ joins (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) |
| 05:07:08 | × | tcard quits (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) (Read error: Connection reset by peer) |
| 05:08:38 | × | joeyadams quits (~joeyadams@2603:6010:5100:2ed:1747:e0ef:9722:78b4) (Quit: Leaving) |
| 05:37:13 | × | bilegeek quits (~bilegeek@2600:1008:b020:db13:a3c9:729:3fa4:976b) (Quit: Leaving) |
| 05:41:07 | × | machinedgod quits (~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 256 seconds) |
| 05:46:39 | × | Nosrep quits (~Nosrep@user/nosrep) (Remote host closed the connection) |
| 05:46:58 | → | Nosrep joins (~Nosrep@user/nosrep) |
| 06:08:47 | × | mikess quits (~mikess@user/mikess) (Ping timeout: 260 seconds) |
| 06:14:44 | × | Hobbyboy quits (Hobbyboy@hobbyboy.co.uk) (Quit: The BNC has broken!) |
| 06:16:24 | → | Hobbyboy joins (Hobbyboy@hobbyboy.co.uk) |
| 06:35:25 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 06:55:10 | × | Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 07:02:35 | → | rosco joins (~rosco@175.136.155.137) |
| 07:15:03 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 07:17:33 | × | euphores quits (~SASL_euph@user/euphores) (Quit: Leaving.) |
| 07:19:40 | → | cheater_ joins (~Username@user/cheater) |
| 07:20:08 | × | misterfish quits (~misterfis@84.53.85.146) (Ping timeout: 268 seconds) |
| 07:20:46 | → | peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com) |
| 07:24:10 | × | cheater quits (~Username@user/cheater) (Ping timeout: 256 seconds) |
| 07:24:46 | → | cheater__ joins (~Username@user/cheater) |
| 07:24:46 | cheater__ | is now known as cheater |
| 07:25:22 | → | euphores joins (~SASL_euph@user/euphores) |
| 07:26:03 | × | cheater_ quits (~Username@user/cheater) (Ping timeout: 264 seconds) |
| 07:27:49 | → | acidjnk_new3 joins (~acidjnk@p200300d6e72cfb095950fe712033b3ec.dip0.t-ipconnect.de) |
| 07:43:11 | × | peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 272 seconds) |
| 07:53:24 | → | asdf joins (~asdf@2001:e68:5402:cc8c:dc3e:2139:d601:c4e1) |
| 07:55:54 | × | KaitoDaumoto quits (~asdf@user/kaitodaumoto) (Ping timeout: 268 seconds) |
| 08:03:41 | × | paddymahoney quits (~paddymaho@pool-99-250-30-88.cpe.net.cable.rogers.com) (Remote host closed the connection) |
| 08:14:14 | → | paddymahoney joins (~paddymaho@pool-99-250-30-88.cpe.net.cable.rogers.com) |
| 08:27:29 | × | paddymahoney quits (~paddymaho@pool-99-250-30-88.cpe.net.cable.rogers.com) (Quit: Leaving) |
| 08:34:30 | × | tolt quits (~weechat-h@li219-154.members.linode.com) (Quit: WeeChat 4.2.2) |
| 08:34:40 | → | gmg joins (~user@user/gehmehgeh) |
| 08:34:54 | → | tolt joins (~weechat-h@li219-154.members.linode.com) |
| 08:38:05 | → | rvalue- joins (~rvalue@user/rvalue) |
| 08:38:46 | × | rvalue quits (~rvalue@user/rvalue) (Ping timeout: 268 seconds) |
| 08:42:07 | rvalue- | is now known as rvalue |
| 08:42:45 | × | kmein quits (~weechat@user/kmein) (Quit: ciao kakao) |
| 08:44:53 | → | kmein joins (~weechat@user/kmein) |
| 08:54:29 | → | dysthesis joins (~dysthesis@user/dysthesis) |
| 09:05:01 | × | L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer) |
| 09:10:50 | × | tabaqui quits (~root@87.201.238.61) (Ping timeout: 268 seconds) |
| 09:12:20 | → | Tuplanolla joins (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) |
| 09:20:30 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 09:21:50 | → | FragByte joins (~christian@user/fragbyte) |
| 09:24:51 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 264 seconds) |
| 09:25:24 | → | euleritian joins (~euleritia@dynamic-176-002-128-025.176.2.pool.telefonica.de) |
| 09:26:00 | × | comonad quits (~comonad@p200300d02713e4006c810324fa66ca70.dip0.t-ipconnect.de) (Ping timeout: 256 seconds) |
| 09:26:58 | × | FragByte quits (~christian@user/fragbyte) (Quit: Quit) |
| 09:27:35 | → | comonad joins (~comonad@p200300d027032c0082816d0f21936a9a.dip0.t-ipconnect.de) |
| 09:28:04 | → | tabaqui joins (~root@87.200.123.114) |
| 09:41:57 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 09:43:06 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 09:44:32 | → | califax joins (~califax@user/califx) |
| 09:46:37 | × | pie_ quits (~pie_bnc@user/pie/x-2818909) (Remote host closed the connection) |
| 09:54:38 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 10:06:07 | → | sawilagar joins (~sawilagar@user/sawilagar) |
| 10:10:21 | × | rosco quits (~rosco@175.136.155.137) (Quit: Lost terminal) |
| 10:10:38 | → | lxsameer joins (~lxsameer@Serene/lxsameer) |
| 10:13:03 | → | wootehfoot joins (~wootehfoo@user/wootehfoot) |
| 10:15:09 | × | wootehfoot quits (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer) |
| 10:15:35 | → | wootehfoot joins (~wootehfoo@user/wootehfoot) |
| 10:17:38 | × | wootehfoot quits (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer) |
| 10:21:21 | → | wootehfoot joins (~wootehfoo@user/wootehfoot) |
| 10:25:46 | × | wootehfoot quits (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer) |
| 10:50:11 | → | pie_ joins (~pie_bnc@user/pie/x-2818909) |
| 10:56:35 | × | pie_ quits (~pie_bnc@user/pie/x-2818909) (Remote host closed the connection) |
| 10:59:10 | → | pie_ joins (~pie_bnc@user/pie/x-2818909) |
| 11:04:12 | × | asdf quits (~asdf@2001:e68:5402:cc8c:dc3e:2139:d601:c4e1) (Remote host closed the connection) |
| 11:06:02 | → | target_i joins (~target_i@user/target-i/x-6023099) |
| 11:28:52 | × | euleritian quits (~euleritia@dynamic-176-002-128-025.176.2.pool.telefonica.de) (Read error: Connection reset by peer) |
| 11:29:09 | → | euleritian joins (~euleritia@77.22.252.56) |
| 11:35:48 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 11:36:02 | × | dysthesis quits (~dysthesis@user/dysthesis) (Ping timeout: 260 seconds) |
| 11:38:50 | × | tomboy64 quits (~tomboy64@user/tomboy64) (Ping timeout: 268 seconds) |
| 11:42:48 | → | tomboy64 joins (~tomboy64@user/tomboy64) |
| 11:42:49 | × | euleritian quits (~euleritia@77.22.252.56) (Read error: Connection reset by peer) |
| 11:43:33 | → | euleritian joins (~euleritia@77.22.252.56) |
| 11:52:48 | → | danza joins (~francesco@151.47.223.172) |
| 12:06:54 | × | euleritian quits (~euleritia@77.22.252.56) (Ping timeout: 252 seconds) |
| 12:07:12 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 12:21:15 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 12:22:11 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 12:22:24 | × | nek0 quits (~nek0@user/nek0) (Quit: The Lounge - https://thelounge.chat) |
| 12:26:37 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds) |
| 12:27:15 | × | lxsameer quits (~lxsameer@Serene/lxsameer) (Ping timeout: 264 seconds) |
| 12:28:27 | → | euleritian joins (~euleritia@77.22.252.56) |
| 12:29:45 | → | waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) |
| 12:32:51 | × | euleritian quits (~euleritia@77.22.252.56) (Ping timeout: 260 seconds) |
| 12:33:49 | → | euleritian joins (~euleritia@77.22.252.56) |
| 12:38:48 | × | rdcdr quits (~rdcdr@user/rdcdr) (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in) |
| 12:38:53 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 12:50:21 | → | rdcdr joins (~rdcdr@user/rdcdr) |
| 12:53:58 | × | waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 256 seconds) |
| 13:03:13 | × | rdcdr quits (~rdcdr@user/rdcdr) (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in) |
| 13:03:39 | → | rdcdr joins (~rdcdr@user/rdcdr) |
| 13:05:34 | → | Ashkan joins (~Ashkan@147.161.173.72) |
| 13:16:01 | × | Ashkan quits (~Ashkan@147.161.173.72) (Quit: Client closed) |
| 13:28:32 | × | euleritian quits (~euleritia@77.22.252.56) (Ping timeout: 256 seconds) |
| 13:29:27 | → | euleritian joins (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) |
| 13:34:51 | × | xdminsy quits (~xdminsy@117.147.70.231) (Quit: Konversation terminated!) |
| 13:35:23 | → | xdminsy joins (~xdminsy@117.147.70.231) |
| 13:36:38 | × | euleritian quits (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) (Read error: Connection reset by peer) |
| 13:36:56 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 13:43:54 | → | misterfish joins (~misterfis@84.53.85.146) |
| 13:47:19 | × | danza quits (~francesco@151.47.223.172) (Quit: Leaving) |
| 13:52:40 | → | cpressey joins (~weechat@176.254.71.203) |
| 13:57:54 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 255 seconds) |
| 13:58:24 | → | euleritian joins (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) |
| 14:01:35 | × | cpressey quits (~weechat@176.254.71.203) (Ping timeout: 268 seconds) |
| 14:03:31 | × | rdcdr quits (~rdcdr@user/rdcdr) (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in) |
| 14:12:27 | × | euleritian quits (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) (Read error: Connection reset by peer) |
| 14:12:49 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 14:46:23 | × | euphores quits (~SASL_euph@user/euphores) (Quit: Leaving.) |
| 14:48:46 | → | mikess joins (~mikess@user/mikess) |
| 14:52:50 | → | cpressey joins (~weechat@176.254.71.203) |
| 14:56:41 | → | euphores joins (~SASL_euph@user/euphores) |
| 15:00:15 | × | hammond quits (proscan@user/hammond2) (Remote host closed the connection) |
| 15:05:39 | × | acidjnk_new3 quits (~acidjnk@p200300d6e72cfb095950fe712033b3ec.dip0.t-ipconnect.de) (Ping timeout: 264 seconds) |
| 15:16:43 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 15:17:30 | → | euleritian joins (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) |
| 15:17:54 | × | euleritian quits (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) (Read error: Connection reset by peer) |
| 15:18:11 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 15:18:18 | → | ubert1 joins (~Thunderbi@p200300ecdf008f0f0a6872e022c3958c.dip0.t-ipconnect.de) |
| 15:18:59 | × | ubert quits (~Thunderbi@p200300ecdf008f96cbf35d83d33dbb30.dip0.t-ipconnect.de) (Ping timeout: 268 seconds) |
| 15:18:59 | ubert1 | is now known as ubert |
| 15:19:04 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 15:19:45 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 15:32:31 | <Nosrep> | what should tagToEnum# do when it receives an invalid tag (e.g. 3 for Bool)? I feel like it should crash but there's so many cases where it just doesn't and they're so common I feel like if it's not intentional someone should have noticed |
| 15:32:41 | <Nosrep> | or am I completely misunderstanding what tags do |
| 15:37:39 | × | tinjamin quits (~tinjamin@banshee.h4x0r.space) (Quit: The Lounge - https://thelounge.chat) |
| 15:38:44 | → | tinjamin joins (~tinjamin@banshee.h4x0r.space) |
| 15:40:52 | × | leah2 quits (~leah@vuxu.org) (Ping timeout: 246 seconds) |
| 15:58:05 | <monochrom> | I believe that it is just unsafe but zero-cost type coercion. |
| 15:58:13 | → | acidjnk_new3 joins (~acidjnk@p200300d6e72cfb093425c6d62513a139.dip0.t-ipconnect.de) |
| 15:58:27 | <monochrom> | I mean the very intention. |
| 16:03:40 | <Nosrep> | unsafe as in it might segfault or unsafe as in c-style undefined behavior where it might not do what you'd expect |
| 16:04:34 | <monochrom> | undefined behaviour |
| 16:06:17 | <Nosrep> | oof |
| 16:07:44 | → | machinedgod joins (~machinedg@d173-183-246-216.abhsia.telus.net) |
| 16:11:05 | × | pavonia quits (~user@user/siracusa) (Quit: Bye!) |
| 16:19:43 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds) |
| 16:20:50 | → | euleritian joins (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) |
| 16:22:09 | → | soverysour joins (~soverysou@81.196.150.219) |
| 16:22:10 | × | soverysour quits (~soverysou@81.196.150.219) (Changing host) |
| 16:22:10 | → | soverysour joins (~soverysou@user/soverysour) |
| 16:24:31 | × | euleritian quits (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) (Read error: Connection reset by peer) |
| 16:25:04 | → | euleritian joins (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) |
| 16:25:31 | <probie> | Does anyone have strong opinions on pretty printing libraries? Is there a reason to not just use use prettyprinter? |
| 16:29:59 | <haskellbridge> | <sm> I don't know prettyprinter, but the ones I've tried have/had limitations. pretty-show was easy but couldn't print Day values. pretty-simple is what I currently use, its layout is sometimes not optimal |
| 16:30:12 | → | yin joins (~yin@user/zero) |
| 16:38:01 | → | leah2 joins (~leah@vuxu.org) |
| 16:42:48 | <monochrom> | I just use prettyprinter. If it does what you want, you can just use it too. |
| 16:43:29 | <monochrom> | But evidently everyone has a strong opinion on everything, this is why there are so many alternatives for everything on hackage. |
| 16:43:58 | → | Square joins (~Square@user/square) |
| 16:44:02 | → | jjnkn joins (~jjnkn@46.150.73.156.lvv.nat.volia.net) |
| 16:44:03 | <monochrom> | Like even lenses have 3 offerings for what is supposed to be very difficult to offer. |
| 16:45:51 | <monochrom> | <--- Waiting for someone to upload a competitor to Agda to hackage to complete my point >:) |
| 16:47:11 | <probie> | Agda is the competitor, they just uploaded it to hackage instead of opam |
| 16:47:28 | <monochrom> | Sorry, what is opam? |
| 16:47:49 | <monochrom> | Ah Ocaml's. heh |
| 16:48:16 | <monochrom> | But I side with Lean. |
| 16:49:40 | × | cpressey quits (~weechat@176.254.71.203) (Ping timeout: 256 seconds) |
| 16:50:18 | × | euleritian quits (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) (Read error: Connection reset by peer) |
| 16:50:35 | → | euleritian joins (~euleritia@77.22.252.56) |
| 16:51:28 | <jjnkn> | I'm having a little trouble with quantified data constructors. Please see the attached snippet. I don't understand why `h` is universally quantified with `k1`, but not `k` which is present in the return type. https://plaster.tymoon.eu/view/4479#4479 |
| 16:54:08 | <monochrom> | Yes Haskell 2010 (and before) requires that the two k's are unrelated, just because they are in different sigs. The solution is ScopedTypeVariables (enabled by default with recent GHC versions), and you say "g :: forall k. M k => k Fun". |
| 16:57:13 | <jjnkn> | I changed the signature of `g` to what you proposed (with explicit quantification) and it compiled even without ScopedTypeVariables. That's surprising. I thought universal quantification is implicit... |
| 16:57:16 | → | econo_ joins (uid147250@id-147250.tinside.irccloud.com) |
| 16:57:51 | <monochrom> | Yes, universal quantification is implicit. That proves, not contradicts, why the two k's are unrelated. |
| 16:58:38 | → | cpressey joins (~weechat@176.254.71.203) |
| 16:58:54 | <jjnkn> | Why did explicit quantification make it compile, then? |
| 16:59:31 | <monochrom> | "g :: ∀k ... " and "h :: ∀k ..." therefore two independent k's. |
| 17:02:22 | × | euleritian quits (~euleritia@77.22.252.56) (Ping timeout: 264 seconds) |
| 17:02:23 | <jjnkn> | So there are 4 combinations of explicit/implicit quant. for `g` and `h`, but only one compiles - explicit `g` and implicit `h`. I don't see why implicit `g` doesn't. |
| 17:02:25 | × | leah2 quits (~leah@vuxu.org) (Ping timeout: 246 seconds) |
| 17:02:31 | <monochrom> | The designer of ScopedTypeVariables decided to use an explict quantifier syntax to activate scoped type variables so that there is backward compatibility with still using Haskell 2010 rules on older code. |
| 17:02:33 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 17:03:31 | <jjnkn> | As I mentioned, I did not enable ScopedTypeVariables |
| 17:03:37 | <monochrom> | I will just refer you to https://downloads.haskell.org/ghc/latest/docs/users_guide/exts/scoped_type_variables.html |
| 17:04:13 | <jjnkn> | Ah, now I see that you mentioned it's enabled by default in recent GHC versions |
| 17:05:46 | × | Tisoxin quits (~Ikosit@user/ikosit) (Quit: The Lounge - https://thelounge.chat) |
| 17:05:58 | → | Tisoxin joins (~Ikosit@user/ikosit) |
| 17:12:33 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 272 seconds) |
| 17:13:14 | → | euleritian joins (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) |
| 17:14:11 | → | lxsameer joins (~lxsameer@Serene/lxsameer) |
| 17:16:40 | × | euphores quits (~SASL_euph@user/euphores) (Quit: Leaving.) |
| 17:20:29 | × | euleritian quits (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) (Read error: Connection reset by peer) |
| 17:20:48 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 17:22:08 | ← | L29Ah parts (~L29Ah@wikipedia/L29Ah) () |
| 17:22:41 | × | cpressey quits (~weechat@176.254.71.203) (Ping timeout: 272 seconds) |
| 17:26:36 | × | puke quits (~puke@user/puke) (Remote host closed the connection) |
| 17:27:12 | → | euphores joins (~SASL_euph@user/euphores) |
| 17:27:18 | → | puke joins (~puke@user/puke) |
| 17:27:19 | × | Square quits (~Square@user/square) (Ping timeout: 260 seconds) |
| 17:27:19 | × | puke quits (~puke@user/puke) (Client Quit) |
| 17:29:04 | → | emm joins (~emm@user/edmeme) |
| 17:29:20 | → | rdcdr joins (~rdcdr@user/rdcdr) |
| 17:29:49 | × | rdcdr quits (~rdcdr@user/rdcdr) (Client Quit) |
| 17:32:29 | × | soverysour quits (~soverysou@user/soverysour) (Ping timeout: 268 seconds) |
| 17:32:39 | × | phma quits (phma@2001:5b0:210f:75d8:5712:dd76:7969:de0f) (Read error: Connection reset by peer) |
| 17:32:56 | → | rdcdr joins (~rdcdr@user/rdcdr) |
| 17:33:33 | → | phma joins (~phma@host-67-44-208-74.hnremote.net) |
| 17:34:39 | → | soverysour joins (~soverysou@user/soverysour) |
| 17:40:42 | × | emm quits (~emm@user/edmeme) (Ping timeout: 256 seconds) |
| 17:43:35 | × | TactfulCitrus quits (~al@2a02:8012:87a6:0:fbe0:6116:6e30:e047) (Ping timeout: 268 seconds) |
| 17:44:09 | × | rdcdr quits (~rdcdr@user/rdcdr) (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in) |
| 17:46:23 | → | rdcdr joins (~rdcdr@user/rdcdr) |
| 17:47:11 | → | leah2 joins (~leah@vuxu.org) |
| 17:47:11 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 17:47:49 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 17:48:38 | × | soverysour quits (~soverysou@user/soverysour) (Ping timeout: 256 seconds) |
| 17:48:59 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 17:51:37 | × | rdcdr quits (~rdcdr@user/rdcdr) (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in) |
| 17:55:50 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 17:57:21 | → | rdcdr joins (~rdcdr@user/rdcdr) |
| 18:14:26 | × | yin quits (~yin@user/zero) (Ping timeout: 268 seconds) |
| 18:17:03 | × | xerox quits (~edi@user/edi) (Ping timeout: 252 seconds) |
| 18:17:50 | → | xerox joins (~edi@user/edi) |
| 18:20:03 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 264 seconds) |
| 18:20:09 | → | cpressey joins (~weechat@176.254.71.203) |
| 18:22:26 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 18:24:34 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 264 seconds) |
| 18:25:02 | → | euleritian joins (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) |
| 18:26:04 | × | jjnkn quits (~jjnkn@46.150.73.156.lvv.nat.volia.net) (Ping timeout: 246 seconds) |
| 18:27:24 | → | emm joins (~emm@user/edmeme) |
| 18:28:54 | → | __monty__ joins (~toonn@user/toonn) |
| 18:29:01 | → | codaraxis joins (~codaraxis@user/codaraxis) |
| 18:31:19 | → | female_student_5 joins (~female_st@host-80-42-135-218.as13285.net) |
| 18:31:31 | <female_student_5> | Hi, im trying to run this haskell code |
| 18:31:36 | <female_student_5> | https://stackoverflow.com/questions/55635083/how-to-make-an-infinite-list-of-a-z-concatenated-with-1-then-2-etc |
| 18:31:43 | <female_student_5> | I literally put this into cmd |
| 18:31:49 | <female_student_5> | https://stackoverflow.com/questions/55635083/how-to-make-an-infinite-list-of-a-z-concatenated-with-1-then-2-etc |
| 18:31:51 | <female_student_5> | wait |
| 18:31:57 | <female_student_5> | this into cmd: Prelude> let variables = [l:show x | x <- [1..], l <- ['a'..'z']] |
| 18:32:02 | <female_student_5> | And it just says indentation error |
| 18:32:05 | <female_student_5> | I dont get why |
| 18:32:39 | × | codaraxis__ quits (~codaraxis@user/codaraxis) (Ping timeout: 264 seconds) |
| 18:34:32 | × | cpressey quits (~weechat@176.254.71.203) (Quit: WeeChat 4.3.0) |
| 18:34:36 | <ncf> | hopefully you didn't literally type Prelude> at the REPL |
| 18:35:33 | <__monty__> | female_student_5: Cmd as in the Windows command prompt? |
| 18:35:40 | <female_student_5> | even when I dont do Prelude> it doesnt work |
| 18:35:54 | <female_student_5> | __monty__ yes |
| 18:36:32 | <__monty__> | female_student_5: Did you install Haskell? Probably in the form of the Haskell Platform, since you're on Windows. |
| 18:36:51 | <__monty__> | Or is ghcup recommended on Windows too nowadays? |
| 18:37:09 | <female_student_5> | yes I have haskell |
| 18:37:17 | <female_student_5> | I tried it for another function in my code and it works |
| 18:37:40 | <female_student_5> | Prelude> let variables = [l:show x | x <- [1..], l <- ['a'..'z']] |
| 18:37:40 | <female_student_5> | Prelude> take 100 variables - this line just doesnt work at all |
| 18:37:48 | <female_student_5> | <interactive>:1:73: error: |
| 18:37:49 | <female_student_5> | parse error (possibly incorrect indentation or mismatched brackets) |
| 18:37:55 | <female_student_5> | I just get this same error all the time |
| 18:38:33 | <__monty__> | Oh, so in GHCi, not just on the Windows command prompt, gotcha. |
| 18:38:59 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "") |
| 18:39:01 | <__monty__> | Try `take 3 [1..]`. |
| 18:39:48 | <female_student_5> | yeah that works |
| 18:40:17 | <female_student_5> | YES THAT WORKS THANK YOU |
| 18:40:25 | × | TMA quits (tma@twin.jikos.cz) (Ping timeout: 246 seconds) |
| 18:40:41 | <__monty__> | Do you get a result if you simply enter `variables`? |
| 18:41:55 | → | soverysour joins (~soverysou@81.196.150.219) |
| 18:41:56 | × | soverysour quits (~soverysou@81.196.150.219) (Changing host) |
| 18:41:56 | → | soverysour joins (~soverysou@user/soverysour) |
| 18:42:18 | → | peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com) |
| 18:42:22 | → | TMA joins (tma@twin.jikos.cz) |
| 18:43:02 | <female_student_5> | no |
| 18:43:29 | <female_student_5> | ghci> variables |
| 18:43:29 | <female_student_5> | <interactive>:4:1: error: Variable not in scope: variables |
| 18:43:30 | <female_student_5> | ghci> take 100 variables |
| 18:43:30 | <female_student_5> | <interactive>:5:10: error: Variable not in scope: variables :: [a] |
| 18:43:47 | <__monty__> | So it hasn't been defined for some reason. |
| 18:44:13 | <__monty__> | Maybe you had a syntax error in the definition? |
| 18:47:12 | <female_student_5> | let me reload the file |
| 18:47:16 | <female_student_5> | I adjusted the code a bit |
| 18:47:54 | <female_student_5> | noe |
| 18:47:55 | <female_student_5> | nope |
| 18:47:56 | <__monty__> | If you pastebin the code it'd be a lot easier to help. |
| 18:47:58 | <female_student_5> | Still throws an error |
| 18:48:17 | <female_student_5> | its literally what is in this stckoverflow code |
| 18:48:18 | <female_student_5> | https://stackoverflow.com/questions/55635083/how-to-make-an-infinite-list-of-a-z-concatenated-with-1-then-2-etc |
| 18:48:28 | <female_student_5> | Prelude> let variables = [l:[] | l <- ['a'..'z']] ++ [l:show x | x <- [1..], l <- ['a'..'z']] |
| 18:48:28 | <female_student_5> | Prelude> take 100 variables |
| 18:50:18 | × | euleritian quits (~euleritia@dynamic-176-007-151-089.176.7.pool.telefonica.de) (Read error: Connection reset by peer) |
| 18:50:35 | <__monty__> | That code works when I enter it in GHCi. |
| 18:50:35 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 18:50:46 | <__monty__> | So the problem is likely in the file you're loading. |
| 18:50:52 | → | yin joins (~yin@user/zero) |
| 18:52:31 | → | Feuermagier joins (~Feuermagi@user/feuermagier) |
| 18:52:48 | <female_student_5> | I created a .hs file with just shows two lines |
| 18:52:49 | <female_student_5> | testing.hs:1:15: error: |
| 18:52:50 | <female_student_5> | Not in scope: type constructor or class `Var' |
| 18:52:50 | <female_student_5> | | |
| 18:52:51 | <female_student_5> | 1 | variables :: [Var] |
| 18:52:51 | <female_student_5> | | ^^^ |
| 18:52:53 | <female_student_5> | and it came out with this |
| 18:53:30 | <__monty__> | `Var` is not a predefined type. |
| 18:55:05 | <__monty__> | `variables` is a list of strings so either you replace that with `String`, or you create a type synonym `type Var = String`. Or you could define a `Var` type but then the code would have to change. |
| 18:55:58 | <AlexZenon> | �������. |
| 18:58:36 | <female_student_5> | I've done this now: |
| 18:58:38 | <female_student_5> | type Var = String |
| 18:58:38 | <female_student_5> | variables :: [Var] |
| 18:58:38 | <female_student_5> | variables = [lts:[] | lts <- ['a'..'z']] |
| 18:58:39 | <female_student_5> | ++ [lts:show ns | ns <- [1..], lts <- ['a'..'z']] |
| 18:58:53 | <female_student_5> | parse error (possibly incorrect indentation or mismatched brackets) |
| 18:58:53 | <female_student_5> | ghci> Prelude> let variables = [lts:[] | lts <- ['a'..'z']] ++ [lts:show ns | ns <- [1..], lts <- ['a'..'z']] |
| 18:58:53 | <female_student_5> | <interactive>:4:105: error: |
| 18:58:54 | <female_student_5> | parse error (possibly incorrect indentation or mismatched brackets) |
| 18:58:58 | → | tzh joins (~tzh@c-76-115-131-146.hsd1.or.comcast.net) |
| 18:58:58 | <female_student_5> | still same error |
| 18:59:41 | <__monty__> | Are you redefining `variables` after loading the file? |
| 19:00:05 | <female_student_5> | nope |
| 19:00:08 | <female_student_5> | that's all i've done |
| 19:00:25 | <female_student_5> | i'll reload |
| 19:00:26 | <female_student_5> | actually |
| 19:00:28 | <__monty__> | What did you type into GHCi and what did you not? |
| 19:00:33 | <female_student_5> | coz I did make a mistake |
| 19:01:50 | <female_student_5> | GHCi, version 9.4.8: https://www.haskell.org/ghc/ :? for help |
| 19:01:50 | <female_student_5> | ghci> :load testing.hs |
| 19:01:51 | <female_student_5> | [1 of 2] Compiling Main ( testing.hs, interpreted ) |
| 19:01:51 | <female_student_5> | Ok, one module loaded. |
| 19:01:52 | <female_student_5> | ghci> Prelude> let variables = [lts:[] | lts <- ['a'..'z']] ++ [lts:show ns | ns <- [1..], lts <- ['a'..'z']] |
| 19:01:52 | <female_student_5> | <interactive>:2:105: error: |
| 19:01:53 | <female_student_5> | parse error (possibly incorrect indentation or mismatched brackets) |
| 19:01:53 | <female_student_5> | ghci> |
| 19:01:54 | <female_student_5> | testing.hs is: |
| 19:01:57 | <female_student_5> | type Var = String |
| 19:01:58 | <female_student_5> | variables :: [Var] |
| 19:01:58 | <female_student_5> | variables = [lts:[] | lts <- ['a'..'z']] |
| 19:01:59 | <female_student_5> | ++ [lts:show ns | ns <- [1..], lts <- ['a'..'z']] |
| 19:02:14 | <mauke> | did you type the "Prelude>" part? |
| 19:02:18 | <female_student_5> | Yes |
| 19:02:19 | <__monty__> | Yeah, that's the problem. |
| 19:02:21 | <mauke> | don't |
| 19:02:23 | <female_student_5> | ok |
| 19:02:43 | <female_student_5> | yay that works now thanks |
| 19:02:45 | <__monty__> | That represents the prompt it's not something you type. |
| 19:03:06 | <__monty__> | But also, if you have the definition for `variables` in a file that you load into GHCi, you don't have to redefine it again. |
| 19:03:13 | <mauke> | wait, that was the first response you got: <ncf> hopefully you didn't literally type Prelude> at the REPL |
| 19:04:32 | <__monty__> | Also, while it worked out this time, please don't paste long (more than 3 lines) stretches of text into IRC. It's very disruptive to other conversations. (I know it's quiet here right now but just learn to use a pastebin for all pastes.) |
| 19:04:45 | <female_student_5> | ok thak you - where is the link to paste bin |
| 19:04:53 | <female_student_5> | sorry for the long code |
| 19:04:54 | <tomsmeding> | @where paste |
| 19:04:54 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 19:05:41 | <tomsmeding> | (you could also find this in the /topic of this channel, probably visible at the top of your irc client; not saying this to reprimand you, just FYI :) ) |
| 19:05:55 | <monochrom> | :( |
| 19:06:05 | <tomsmeding> | we were all here for the first time at some point |
| 19:06:11 | <female_student_5> | what is /topic |
| 19:06:26 | <tomsmeding> | it probably gets shown to you if you type "/topic" in your client |
| 19:06:36 | <tomsmeding> | it's also probably at the top of your screen (depending on the client) |
| 19:07:10 | × | soverysour quits (~soverysou@user/soverysour) (Ping timeout: 264 seconds) |
| 19:07:15 | <female_student_5> | Im sorry Im tired and I dont know what you mean |
| 19:07:23 | <tomsmeding> | what irc client are you using? |
| 19:08:06 | <female_student_5> | libera |
| 19:08:11 | <tomsmeding> | ah the web client, I see |
| 19:08:28 | <__monty__> | female_student_5: IRC channels have a "topic," which is a short description of what the channel's about that can be set by channel operators. IRC commands are prefixed with / to distinguish them from regular text. `/topic` is a command that usually repeats the topic for the current channel. Most IRC clients also display the topic somewhere for convenience, usually at the top of the chat window. |
| 19:09:10 | → | Guest77 joins (~Guest77@2001:1c02:b24:fe00:1ac0:4dff:fea1:7fda) |
| 19:09:13 | <female_student_5> | Im on this: https://web.libera.chat/ |
| 19:09:30 | <tomsmeding> | I see this when I join #haskell there https://tomsmeding.com/ss/get/tomsmeding/NKbj9Z |
| 19:09:33 | → | soverysour joins (~soverysou@user/soverysour) |
| 19:09:49 | <tomsmeding> | but indeed that web client doesn't show it to you when you just type "/topic" in the chat bar; some do |
| 19:09:50 | <female_student_5> | I see that if I click the 'i' icon |
| 19:09:55 | × | lxsameer quits (~lxsameer@Serene/lxsameer) (Ping timeout: 268 seconds) |
| 19:10:01 | × | Guest77 quits (~Guest77@2001:1c02:b24:fe00:1ac0:4dff:fea1:7fda) (Client Quit) |
| 19:11:41 | <female_student_5> | thanks all |
| 19:11:44 | <female_student_5> | Im going to have a nap |
| 19:12:12 | → | nek0 joins (~nek0@2a01:4f8:222:2b41::12) |
| 19:12:12 | × | nek0 quits (~nek0@2a01:4f8:222:2b41::12) (Changing host) |
| 19:12:12 | → | nek0 joins (~nek0@user/nek0) |
| 19:12:54 | × | misterfish quits (~misterfis@84.53.85.146) (Ping timeout: 255 seconds) |
| 19:13:52 | × | female_student_5 quits (~female_st@host-80-42-135-218.as13285.net) (Quit: Client closed) |
| 19:22:10 | × | L29Ah quits (~L29Ah@wikipedia/L29Ah) (Ping timeout: 264 seconds) |
| 19:23:03 | × | soverysour quits (~soverysou@user/soverysour) (Ping timeout: 252 seconds) |
| 19:28:35 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 19:33:23 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Remote host closed the connection) |
| 19:33:41 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 19:34:03 | × | machinedgod quits (~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 252 seconds) |
| 19:38:17 | → | soverysour joins (~soverysou@user/soverysour) |
| 19:39:08 | → | ThePenguin joins (~ThePengui@cust-95-80-24-166.csbnet.se) |
| 20:03:25 | → | TactfulCitrus joins (~al@2a02:8012:87a6:0:fbe0:6116:6e30:e047) |
| 20:04:37 | → | michalz joins (~michalz@185.246.207.197) |
| 20:06:24 | × | econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity) |
| 20:09:34 | × | yin quits (~yin@user/zero) (Ping timeout: 264 seconds) |
| 20:10:11 | <cheater> | man, web irc has always been terrible |
| 20:10:19 | <cheater> | tell me a time when it wasn't terrible |
| 20:10:25 | → | qqe joins (~qqq@92.43.167.61) |
| 20:10:30 | <cheater> | at least people aren't joining via trillian anymore |
| 20:25:51 | <mauke> | CGI:IRC, baby |
| 20:26:10 | × | TactfulCitrus quits (~al@2a02:8012:87a6:0:fbe0:6116:6e30:e047) (Ping timeout: 256 seconds) |
| 20:28:17 | <geekosaur> | it used to be worse than terrible. current kiwiirc is much better than what freenode had BITD |
| 20:28:21 | → | pavonia joins (~user@user/siracusa) |
| 20:35:57 | × | sawilagar quits (~sawilagar@user/sawilagar) (Ping timeout: 268 seconds) |
| 20:40:33 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 20:45:31 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 20:54:59 | × | hc quits (~hc@mail.hce.li) (Quit: leaving) |
| 20:55:39 | → | hc joins (~hc@sing.esp.sg) |
| 20:58:47 | × | hgolden quits (~hgolden@2603:8000:9d00:3ed1:2678:8497:aa5c:7fa9) (Remote host closed the connection) |
| 20:59:47 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 21:00:39 | → | hgolden joins (~hgolden@2603:8000:9d00:3ed1:2678:8497:aa5c:7fa9) |
| 21:05:20 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 21:15:29 | <haskellbridge> | <iqubic (she/her)> I'm using the Matrix, so I can't really comment on the IRC experience all that much. I'm using an Electron based Matrix client. |
| 21:16:28 | <hc> | Electron? Isn't that this huge codebase thing where any XSS gets potential access to the local filesystem? ;-) |
| 21:18:01 | → | nhar joins (~noah@c-73-237-54-185.hsd1.ga.comcast.net) |
| 21:19:28 | × | nhar quits (~noah@c-73-237-54-185.hsd1.ga.comcast.net) (Changing host) |
| 21:19:28 | → | nhar joins (~noah@user/nhar) |
| 21:21:15 | <geekosaur> | I'm using a KDE native app for Matrix |
| 21:21:34 | <geekosaur> | ("native" meaning it's not just an Electron webapp running in KHTML) |
| 21:22:21 | <hc> | Does this get the crypto right and complete? ;-) |
| 21:23:32 | <geekosaur> | are you claiming IRC does? 😈 |
| 21:24:06 | <hc> | Hehehe, well, it doesn't even try to I guess |
| 21:27:43 | × | emm quits (~emm@user/edmeme) (Ping timeout: 246 seconds) |
| 21:29:08 | <mauke> | is it nheko? |
| 21:29:34 | <mauke> | because that one manages to have HTML injection bugs somehow despite being written in C++ |
| 21:29:48 | <geekosaur> | yes |
| 21:30:03 | <geekosaur> | and I'm running nightlies and reporting bugs like that |
| 21:30:20 | <geekosaur> | I do note it's using openssl instead of trying to roll its own crypto |
| 21:30:36 | × | michalz quits (~michalz@185.246.207.197) (Quit: ZNC 1.9.0 - https://znc.in) |
| 21:30:57 | <geekosaur> | it doesn't fully support matrix verification but correctly falls back to the mechanisms it does support |
| 21:31:58 | <geekosaur> | I'm hoping I don't have to delve into this stuff myself as I'm not particularly conversant with either C++ or KDE |
| 21:32:04 | × | soverysour quits (~soverysou@user/soverysour) (Ping timeout: 268 seconds) |
| 21:35:52 | <mauke> | the impression I got was that it was basically just a few Qt standard components smashed together |
| 21:36:09 | × | tcard_ quits (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) (Remote host closed the connection) |
| 21:36:24 | → | tcard_ joins (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) |
| 21:36:31 | <mauke> | got something HTML-like from the network? throw it in this QHTML component and hope it renders right |
| 21:36:42 | <mauke> | oh, it doesn't? do some string mangling on the HTML first, then |
| 21:37:45 | <geekosaur> | yeh, I reported that |
| 21:38:03 | <mauke> | it feels less like a comprehensive UI vision and more like "our UI is whatever the components we use render as" |
| 21:38:22 | <mauke> | which is why different options and panes behave inconsistently |
| 21:51:34 | × | raym quits (~ray@user/raym) (Ping timeout: 264 seconds) |
| 21:51:48 | × | target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving) |
| 21:56:15 | × | nhar quits (~noah@user/nhar) (Ping timeout: 255 seconds) |
| 21:58:45 | → | dysthesis joins (~dysthesis@user/dysthesis) |
| 22:01:08 | × | gentauro quits (~gentauro@user/gentauro) (Read error: Connection reset by peer) |
| 22:06:09 | → | nhar joins (~noah@c-73-237-54-185.hsd1.ga.comcast.net) |
| 22:06:39 | → | gentauro joins (~gentauro@user/gentauro) |
| 22:08:26 | → | raym joins (~ray@user/raym) |
| 22:23:50 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
| 22:31:55 | × | Nosrep quits (~Nosrep@user/nosrep) (Remote host closed the connection) |
| 22:33:58 | <hololeap> | I'm trying to find a way to use Data to check if one constructor is an ancestor of another in a big tree-like ADT, for instance: data FooT = Bar BarT | Baz BazT; data BarT = Thing1 | Thing2; data BazT = ... |
| 22:34:44 | <hololeap> | so in that example, I might want to check if Bar is an ancestor of Thing1 |
| 22:34:48 | × | CrunchyFlakes quits (~CrunchyFl@146.52.130.128) (Read error: Connection reset by peer) |
| 22:34:57 | → | TactfulCitrus joins (~al@2a02:8012:87a6:0:bee8:7ef6:2b1b:f311) |
| 22:35:48 | <hololeap> | I'm stuck at getting the BarT DataType from the Bar Constr |
| 22:35:51 | → | joeyadams joins (~joeyadams@2603:6010:5100:2ed:e656:c92a:8e45:f003) |
| 22:37:27 | → | CrunchyFlakes joins (~CrunchyFl@146.52.130.128) |
| 22:39:59 | × | TactfulCitrus quits (~al@2a02:8012:87a6:0:bee8:7ef6:2b1b:f311) (Ping timeout: 256 seconds) |
| 22:46:19 | → | Square joins (~Square@user/square) |
| 22:59:46 | <hololeap> | is it possible to get the DataTypes of a constructor's fields with Data.Data? I'm not seeing how |
| 23:01:36 | × | arahael quits (~arahael@119-18-1-21.771201.syd.nbn.aussiebb.net) (Quit: Bye for now. Now, don't cry. Please don't cry.) |
| 23:02:12 | <monochrom> | I wonder if GHC.Generics is more suitable for your questions. |
| 23:05:08 | <hololeap> | I was under the impression that to use GHC.Generics, you have to have some instantiated data. here, I'm actually trying to build a value of this ADT using some user-supplied data |
| 23:06:17 | <hololeap> | I could do it manually of course, but thought having a way to build it automatically would cut down on boilerplate |
| 23:08:50 | <hololeap> | oh, maybe gmapM is what I'm looking for |
| 23:11:10 | <hololeap> | or gmapQ... it seems like I'm looking in the right place now |
| 23:25:02 | → | noumenon joins (~noumenon@113.51-175-156.customer.lyse.net) |
| 23:29:03 | × | acidjnk_new3 quits (~acidjnk@p200300d6e72cfb093425c6d62513a139.dip0.t-ipconnect.de) (Ping timeout: 264 seconds) |
| 23:31:14 | × | hiredman quits (~hiredman@frontier1.downey.family) (Quit: Lost terminal) |
| 23:50:58 | × | peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 264 seconds) |
All times are in UTC on 2024-07-06.