Home liberachat/#haskell: Logs Calendar

Logs on 2024-04-27 (liberachat/#haskell)

00:15:32 × Inst quits (~Inst@user/Inst) (Ping timeout: 268 seconds)
00:16:29 × zzz quits (~yin@user/zero) (Ping timeout: 256 seconds)
00:22:11 × ystael quits (~ystael@user/ystael) (Ping timeout: 264 seconds)
00:46:35 × peterbecich quits (~Thunderbi@47.229.123.186) (Ping timeout: 245 seconds)
00:55:06 zzz joins (~yin@user/zero)
00:56:16 × y04nn quits (~username@2a03:1b20:8:f011::e10d) (Ping timeout: 255 seconds)
00:56:48 Guest29 joins (~Guest29@a89-152-101-97.cpe.netcabo.pt)
01:01:50 elamite joins (~elamite@2a07-a880-4603-1035-18b5-1e9f-f698-63a6.pool6.ovpn.com)
01:07:19 × elamite quits (~elamite@2a07-a880-4603-1035-18b5-1e9f-f698-63a6.pool6.ovpn.com) (Quit: Client closed)
01:08:53 × xelxebar quits (~xelxebar@wilsonb.com) (Ping timeout: 240 seconds)
01:09:33 xelxebar joins (~xelxebar@wilsonb.com)
01:10:34 califax_ joins (~califax@user/califx)
01:11:38 × califax quits (~califax@user/califx) (Ping timeout: 260 seconds)
01:11:52 califax_ is now known as califax
01:16:12 × madeleine-sydney quits (~madeleine@c-76-155-235-153.hsd1.co.comcast.net) (Quit: Konversation terminated!)
01:17:29 × Guest29 quits (~Guest29@a89-152-101-97.cpe.netcabo.pt) (Quit: Client closed)
01:18:51 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
01:19:15 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
01:21:51 × zzz quits (~yin@user/zero) (Ping timeout: 272 seconds)
01:32:36 × otto_s quits (~user@p5b044b31.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
01:34:27 otto_s joins (~user@p4ff27de0.dip0.t-ipconnect.de)
01:42:48 zzz joins (~yin@user/zero)
01:47:21 × noumenon quits (~noumenon@113.51-175-156.customer.lyse.net) (Quit: Leaving)
01:51:55 mzschr joins (~mzschr@2a07-a880-4603-1035-18b5-1e9f-f698-63a6.pool6.ovpn.com)
01:57:00 × zzz quits (~yin@user/zero) (Ping timeout: 245 seconds)
02:09:28 × mzschr quits (~mzschr@2a07-a880-4603-1035-18b5-1e9f-f698-63a6.pool6.ovpn.com) (Quit: Client closed)
02:16:55 × waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 246 seconds)
02:32:59 × td_ quits (~td@i53870921.versanet.de) (Ping timeout: 264 seconds)
02:34:12 × Rodney_ quits (~Rodney@176.254.244.83) (Ping timeout: 252 seconds)
02:34:49 td_ joins (~td@i5387091B.versanet.de)
02:35:32 Rodney_ joins (~Rodney@176.254.244.83)
02:50:25 yin joins (~yin@user/zero)
02:50:32 madeleine-sydney joins (~madeleine@c-76-155-235-153.hsd1.co.comcast.net)
02:59:47 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
03:02:28 tri joins (~tri@ool-18bc2e74.dyn.optonline.net)
03:06:11 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
03:07:16 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
03:10:59 aforemny joins (~aforemny@i59F516DA.versanet.de)
03:11:18 × madeleine-sydney quits (~madeleine@c-76-155-235-153.hsd1.co.comcast.net) (Quit: Konversation terminated!)
03:12:31 × aforemny_ quits (~aforemny@2001:9e8:6cf4:e200:c321:623a:48be:28f1) (Ping timeout: 268 seconds)
03:34:10 <dmj`> monochrom: we need haskellton
03:36:12 y04nn joins (~username@2a03:1b20:8:f011::e10d)
03:39:35 tdlgalt^ joins (~cd@c-98-242-74-66.hsd1.ga.comcast.net)
03:44:38 <probie> As in a full program optimising compiler?
03:45:16 <probie> or just something that eats absurd amounts of RAM (which GHC seems quite capable of doing on its own)
03:45:18 <monochrom> Yeah.
03:45:26 × Pixi quits (~Pixi@user/pixi) (Quit: Leaving)
03:45:26 <monochrom> That too. :)
03:47:33 Pixi joins (~Pixi@user/pixi)
03:57:32 <dmj`> probie: if we had haskellton, we wouldn't eat as much memory
03:57:39 <dmj`> probie: and yes
04:01:06 × yin quits (~yin@user/zero) (Ping timeout: 252 seconds)
04:01:21 × tdlgalt^ quits (~cd@c-98-242-74-66.hsd1.ga.comcast.net) (Remote host closed the connection)
04:12:33 × swamp_ quits (~zmt00@user/zmt00) (Read error: Connection reset by peer)
04:25:28 zmt00 joins (~zmt00@user/zmt00)
04:58:34 takuan joins (~takuan@178-116-218-225.access.telenet.be)
04:59:31 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Read error: Connection reset by peer)
05:00:11 takuan joins (~takuan@178-116-218-225.access.telenet.be)
05:03:21 × machinedgod quits (~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 256 seconds)
05:05:09 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
05:10:48 rosco joins (~rosco@yp-146-6.tm.net.my)
05:27:20 danza joins (~francesco@151.37.225.196)
05:43:22 harveypwca joins (~harveypwc@2601:246:d080:b40:1889:d9bf:2dd8:b288)
05:49:49 robobub joins (uid248673@id-248673.uxbridge.irccloud.com)
05:57:47 Inst joins (~Inst@user/Inst)
06:04:22 × tri quits (~tri@ool-18bc2e74.dyn.optonline.net) (Remote host closed the connection)
06:10:06 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
06:16:34 <bsima> how do I find out what version of template-haskell is shipped with my ghc version?
06:16:40 <bsima> I look at the .version field in nixpkgs and its null
06:18:58 × phma quits (phma@2001:5b0:210f:2ed8:1686:9f1d:3773:c78f) (Read error: Connection reset by peer)
06:20:05 phma joins (phma@2001:5b0:210d:77f8:690d:ee85:cd6a:7031)
06:21:55 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
06:24:08 yeitrafferin joins (~user@2a04:4540:7202:7600:9288:54b5:ce2d:f3dc)
06:25:34 × bliminse quits (~bliminse@user/bliminse) (Quit: leaving)
06:28:25 <probie> `ghc-pkg latest template-haskell` probably
06:32:49 × danza quits (~francesco@151.37.225.196) (Remote host closed the connection)
06:33:13 danza joins (~francesco@151.37.225.196)
06:33:40 × Inst quits (~Inst@user/Inst) (Ping timeout: 245 seconds)
06:39:57 Inst joins (~Inst@user/Inst)
06:40:45 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
06:41:27 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
06:46:35 × philopsos quits (~caecilius@user/philopsos) (Ping timeout: 245 seconds)
06:47:20 × rosco quits (~rosco@yp-146-6.tm.net.my) (Quit: Lost terminal)
07:01:39 × danza quits (~francesco@151.37.225.196) (Ping timeout: 256 seconds)
07:03:06 yin joins (~yin@user/zero)
07:06:50 ykm joins (~ykm@user/hylisper)
07:13:32 <bsima> yeah that worked, i was looking for a webpage or something that would list it
07:18:54 _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl)
07:20:59 ykm parts (~ykm@user/hylisper) ()
07:22:53 × Inst quits (~Inst@user/Inst) (Ping timeout: 268 seconds)
07:25:24 visilii_ joins (~visilii@188.254.126.79)
07:27:30 × connrs quits (~connrs@user/connrs) (Quit: ZNC 1.8.2 - https://znc.in)
07:28:23 connrs joins (~connrs@user/connrs)
07:29:06 × visilii quits (~visilii@213.24.125.229) (Ping timeout: 255 seconds)
07:31:47 × notzmv quits (~daniel@user/notzmv) (Remote host closed the connection)
07:33:52 wootehfoot joins (~wootehfoo@user/wootehfoot)
07:36:14 acidjnk joins (~acidjnk@p200300d6e714dc03d4ff90a1ba0ea518.dip0.t-ipconnect.de)
07:43:14 × y04nn quits (~username@2a03:1b20:8:f011::e10d) (Ping timeout: 268 seconds)
07:47:45 <geekosaur> bsima, https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/version-history
07:48:44 <bsima> ah thanks geekosaur
07:50:04 sawilagar joins (~sawilagar@user/sawilagar)
07:54:28 ckname joins (~ckname@2a00:f41:18ee:7305:a70d:8cbb:bd16:2bd7)
07:55:27 × ckname quits (~ckname@2a00:f41:18ee:7305:a70d:8cbb:bd16:2bd7) (Client Quit)
08:00:10 × superbil quits (~superbil@1-34-176-171.hinet-ip.hinet.net) (Quit: WeeChat 4.2.2)
08:13:11 Tuplanolla joins (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi)
08:16:46 pera joins (~pera@user/pera)
08:21:17 × xff0x quits (~xff0x@2405:6580:b080:900:a359:eeea:f982:7525) (Ping timeout: 240 seconds)
08:24:04 gmg joins (~user@user/gehmehgeh)
08:27:50 × random-jellyfish quits (~developer@user/random-jellyfish) (Ping timeout: 256 seconds)
08:28:12 × zer0bitz quits (~zer0bitz@user/zer0bitz) (Quit: https://zer0bitz.dy.fi)
08:32:25 __monty__ joins (~toonn@user/toonn)
08:34:11 xff0x joins (~xff0x@2405:6580:b080:900:a359:eeea:f982:7525)
08:42:59 × econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
08:47:43 paotsaq joins (~paotsaq@127.209.37.188.rev.vodafone.pt)
08:48:49 × tzh quits (~tzh@c-73-164-206-160.hsd1.or.comcast.net) (Quit: zzz)
08:53:24 × euphores quits (~SASL_euph@user/euphores) (Quit: Leaving.)
08:55:11 × yin quits (~yin@user/zero) (Ping timeout: 264 seconds)
08:55:50 danza joins (~francesco@151.37.225.196)
08:56:54 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
08:57:30 ph88 joins (~ph88@ip5b403f30.dynamic.kabel-deutschland.de)
08:57:42 gmg joins (~user@user/gehmehgeh)
09:01:17 × causal quits (~eric@50.35.88.207) (Quit: WeeChat 4.1.1)
09:01:32 causal joins (~eric@50.35.88.207)
09:04:42 × Rodney_ quits (~Rodney@176.254.244.83) (Ping timeout: 252 seconds)
09:05:24 × danza quits (~francesco@151.37.225.196) (Remote host closed the connection)
09:05:35 Rodney_ joins (~Rodney@176.254.244.83)
09:05:46 danza joins (~francesco@151.37.225.196)
09:06:38 euphores joins (~SASL_euph@user/euphores)
09:08:06 <ph88> How can i see the instance implementation of Show :+: ? -ddump-deriv doesn't work because the base library is not recompiled https://hackage.haskell.org/package/base-4.19.1.0/docs/GHC-Generics.html#t:Data
09:22:28 × sawilagar quits (~sawilagar@user/sawilagar) (Quit: Leaving)
09:27:17 danza_ joins (~francesco@151.47.235.82)
09:27:25 <int-e> How about imitating it? data a ::+:: b = a ::+:: b deriving (Show)
09:27:38 <int-e> err, that's not the right declaration
09:28:10 sawilagar joins (~sawilagar@user/sawilagar)
09:28:46 × danza quits (~francesco@151.37.225.196) (Read error: Connection reset by peer)
09:29:38 × ph88 quits (~ph88@ip5b403f30.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
09:45:56 yin joins (~yin@user/zero)
09:51:24 × danza_ quits (~francesco@151.47.235.82) (Remote host closed the connection)
09:51:46 danza_ joins (~francesco@151.47.235.82)
09:53:11 <tomsmeding> I have a haskell library that, if a certain cabal flag is set (-fdebug), depends on a whole bunch of additional C++ code that is cloned into a git submodule by Setup.hs if the flag is set. The C++ files are necessary for compilation with -fdebug, so they should be in extra-source-files but only if -fdebug is set. This is impossible because top-level blocks cannot be put in a conditional.
09:54:05 × connrs quits (~connrs@user/connrs) (Read error: Connection reset by peer)
09:54:08 <tomsmeding> Now anyone who does `cabal sdist` (for example by using the library as a dependency (!)) but doesn't have -fdebug set, which is most people, will get cabal diagnostics that the extra-source-files are not found
09:54:11 <tomsmeding> What do?
09:55:36 waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se)
09:55:47 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 264 seconds)
09:56:27 euleritian joins (~euleritia@176.2.139.168)
09:57:34 <tomsmeding> (_not_ setting the extra-source-files meaning that using the library as a source-repository-package dependency with -fdebug will fail because the C++ files are not copied by cabal before building)
09:57:48 <tomsmeding> s/meaning that/means that/
10:04:11 × euleritian quits (~euleritia@176.2.139.168) (Read error: Connection reset by peer)
10:04:29 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
10:06:07 connrs joins (~connrs@user/connrs)
10:11:37 × harveypwca quits (~harveypwc@2601:246:d080:b40:1889:d9bf:2dd8:b288) (Quit: Leaving)
10:18:35 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 264 seconds)
10:22:23 euleritian joins (~euleritia@dynamic-176-002-139-168.176.2.pool.telefonica.de)
10:27:09 × euleritian quits (~euleritia@dynamic-176-002-139-168.176.2.pool.telefonica.de) (Ping timeout: 272 seconds)
10:27:23 euleritian joins (~euleritia@dynamic-176-000-161-190.176.0.pool.telefonica.de)
10:27:47 Square joins (~Square@user/square)
10:29:23 × danza_ quits (~francesco@151.47.235.82) (Ping timeout: 252 seconds)
10:29:30 × yeitrafferin quits (~user@2a04:4540:7202:7600:9288:54b5:ce2d:f3dc) (Remote host closed the connection)
10:33:09 × waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 255 seconds)
10:47:32 × euleritian quits (~euleritia@dynamic-176-000-161-190.176.0.pool.telefonica.de) (Read error: Connection reset by peer)
10:48:15 euleritian joins (~euleritia@dynamic-176-000-161-190.176.0.pool.telefonica.de)
10:48:51 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 268 seconds)
10:49:52 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
10:51:33 dispater- joins (~dispater@217.155.58.82)
10:52:03 orcus- joins (~orcus@217.155.58.82)
10:55:15 × orcus- quits (~orcus@217.155.58.82) (Remote host closed the connection)
10:55:15 × dispater- quits (~dispater@217.155.58.82) (Read error: Connection reset by peer)
11:01:24 orcus- joins (~orcus@217.155.58.82)
11:01:56 × orcus- quits (~orcus@217.155.58.82) (Remote host closed the connection)
11:04:16 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
11:04:22 orcus- joins (~orcus@217.155.58.82)
11:06:10 × orcus- quits (~orcus@217.155.58.82) (Remote host closed the connection)
11:15:12 orcus- joins (~orcus@217.155.58.82)
11:16:06 × orcus- quits (~orcus@217.155.58.82) (Remote host closed the connection)
11:18:00 × sroso quits (~sroso@user/SrOso) (Quit: Leaving :))
11:18:48 orcus- joins (~orcus@217.155.58.82)
11:19:49 dispater- joins (~dispater@217.155.58.82)
11:31:18 × orcus- quits (~orcus@217.155.58.82) (Remote host closed the connection)
11:31:18 × dispater- quits (~dispater@217.155.58.82) (Remote host closed the connection)
11:36:02 × hippoid quits (~hippoid@user/hippoid) (Quit: WeeChat 4.2.1)
11:38:25 zmt01 joins (~zmt00@user/zmt00)
11:39:31 swamp_ joins (~zmt00@user/zmt00)
11:40:07 × zmt00 quits (~zmt00@user/zmt00) (Ping timeout: 260 seconds)
11:43:23 × zmt01 quits (~zmt00@user/zmt00) (Ping timeout: 260 seconds)
11:45:48 qqq joins (~qqq@92.43.167.61)
12:07:27 mechap joins (~mechap@user/mechap)
12:10:15 × yin quits (~yin@user/zero) (Ping timeout: 268 seconds)
12:11:37 yin joins (~yin@user/zero)
12:13:44 × euleritian quits (~euleritia@dynamic-176-000-161-190.176.0.pool.telefonica.de) (Read error: Connection reset by peer)
12:14:01 euleritian joins (~euleritia@2a02:810a:b00:1568:7f37:121d:4370:f1c5)
12:17:49 greenflower joins (~greenflow@2409:4071:211c:5b29:fa93:6314:6e17:5d44)
12:18:35 × euleritian quits (~euleritia@2a02:810a:b00:1568:7f37:121d:4370:f1c5) (Ping timeout: 268 seconds)
12:19:00 × greenflower quits (~greenflow@2409:4071:211c:5b29:fa93:6314:6e17:5d44) (Client Quit)
12:19:44 euleritian joins (~euleritia@dynamic-176-000-161-190.176.0.pool.telefonica.de)
12:21:07 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
12:27:25 zetef joins (~quassel@2a02:2f00:5202:1200:2128:605:71c4:66a4)
12:32:36 × Square quits (~Square@user/square) (Ping timeout: 260 seconds)
12:35:59 waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se)
12:36:35 × kilolympus quits (~kilolympu@31.205.200.246) (Ping timeout: 245 seconds)
12:36:47 kilolympus joins (~kilolympu@31.205.200.246)
12:47:48 × euleritian quits (~euleritia@dynamic-176-000-161-190.176.0.pool.telefonica.de) (Read error: Connection reset by peer)
12:48:10 euleritian joins (~euleritia@2a02:810a:b00:1568:f2da:fe29:fe06:1289)
12:59:31 × yin quits (~yin@user/zero) (Quit: Reconnecting)
12:59:45 yin joins (~yin@user/zero)
13:01:28 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Read error: Connection reset by peer)
13:02:11 × ocra8 quits (ocra8@user/ocra8) (Quit: WeeChat 4.2.2)
13:04:27 × yin quits (~yin@user/zero) (Ping timeout: 256 seconds)
13:09:46 yin joins (~yin@user/zero)
13:10:09 ocra8 joins (ocra8@user/ocra8)
13:16:40 × yin quits (~yin@user/zero) (Quit: leaving)
13:19:45 superbil joins (~superbil@1-34-176-171.hinet-ip.hinet.net)
13:27:59 zer0bitz joins (~zer0bitz@user/zer0bitz)
13:35:44 rosco joins (~rosco@yp-146-6.tm.net.my)
13:42:10 × euleritian quits (~euleritia@2a02:810a:b00:1568:f2da:fe29:fe06:1289) (Ping timeout: 255 seconds)
13:42:48 euleritian joins (~euleritia@dynamic-176-000-161-190.176.0.pool.telefonica.de)
13:47:41 × zetef quits (~quassel@2a02:2f00:5202:1200:2128:605:71c4:66a4) (Ping timeout: 268 seconds)
13:51:04 zetef joins (~quassel@2a02:2f00:5202:1200:2128:605:71c4:66a4)
13:53:46 × causal quits (~eric@50.35.88.207) (Quit: WeeChat 4.1.1)
13:56:06 × zetef quits (~quassel@2a02:2f00:5202:1200:2128:605:71c4:66a4) (Ping timeout: 255 seconds)
14:11:53 yin joins (~yin@user/zero)
14:38:12 machinedgod joins (~machinedg@d173-183-246-216.abhsia.telus.net)
14:38:12 mima joins (~mmh@eduroam-pool4-264.wlan.uni-bremen.de)
14:49:33 <yin> hi. can someone give me a simple explanation of why 'Pattern matching on GADTs without MonoLocalBinds is fragile'?
15:00:27 × mima quits (~mmh@eduroam-pool4-264.wlan.uni-bremen.de) (Ping timeout: 268 seconds)
15:03:06 <ncf> yin: see section 4.2 of https://simon.peytonjones.org/assets/pdfs/outsideinx.pdf
15:04:55 × rosco quits (~rosco@yp-146-6.tm.net.my) (Quit: Lost terminal)
15:04:58 <ncf> (i'm not sure why this makes pattern matching "fragile", but that's the reason given in the documentation)
15:05:26 × superbil quits (~superbil@1-34-176-171.hinet-ip.hinet.net) (Quit: WeeChat 4.2.2)
15:11:19 jumper149 joins (~jumper149@base.felixspringer.xyz)
15:12:42 superbil joins (~superbil@1-34-176-171.hinet-ip.hinet.net)
15:14:22 <ncf> i also can't reproduce the issue in the paper at all... with their code snippet and NoMonoLocalBinds i get the expected "Couldn't match expected type 'Bool' with actual type 'a'"
15:14:48 <jumper149> I want to create a value-level literal from a type-level datakind. Do I need singletons or is this possible with `Typeable` or something else?
15:15:20 tri joins (~tri@ool-18bc2e74.dyn.optonline.net)
15:16:24 <jumper149> So basically I want something like `natVal` or `symbolVal` for my custom enum type.
15:19:45 × tri quits (~tri@ool-18bc2e74.dyn.optonline.net) (Ping timeout: 256 seconds)
15:19:48 <[Leary]> jumper149: Make a typeclass?
15:21:14 <jumper149> data T = A | B
15:21:27 <jumper149> class TKindToType where
15:21:54 <jumper149> toVal :: Proxy (t :: T) -> T
15:22:05 <jumper149> [Leary]: Something like this is what you mean?
15:24:48 <[Leary]> `t` Should be the parameter to the class, but yes.
15:25:10 <jumper149> Yeah, I just wrote this directly into weechat, so I forgot...
15:25:31 <jumper149> Well but that is the same thing singletons would do I think
15:26:25 <jumper149> The annoying part is you have to write all instances by hand or generate them with singletons.
15:26:39 <jumper149> But I guess dependent haskell has to wait a little more
15:27:36 someone235 joins (uid419897@id-419897.ilkley.irccloud.com)
15:29:15 <someone235> Hi, I'm getting `/usr/bin/ld.gold: error: cannot find -lgmp` when trying to run `ghc hello.hs`. Anyone has any idea what could be the cause?
15:30:55 × superbil quits (~superbil@1-34-176-171.hinet-ip.hinet.net) (Quit: WeeChat 4.2.2)
15:33:34 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
15:35:57 kupi joins (uid212005@id-212005.hampstead.irccloud.com)
15:36:26 <geekosaur> you need to install the OS gmp devel package
15:36:36 <geekosaur> haskell can't do this for you
15:37:34 <someone235> geekosaur: it's weird that it's not listed as a dependency in the instructions
15:38:15 <someone235> Anyway, it worked, so thank you!
15:38:21 <geekosaur> https://www.haskell.org/ghcup/install/#system-requirements
15:38:47 <geekosaur> I thought ghcup also output a message about this on install
15:41:25 superbil joins (~superbil@1-34-176-171.hinet-ip.hinet.net)
15:41:31 ddellacosta joins (~ddellacos@ool-44c73d29.dyn.optonline.net)
15:45:18 × euleritian quits (~euleritia@dynamic-176-000-161-190.176.0.pool.telefonica.de) (Read error: Connection reset by peer)
15:45:40 euleritian joins (~euleritia@2a02:810a:b00:1568:6c1a:bb:e9e2:e9fd)
15:47:59 × pera quits (~pera@user/pera) (Ping timeout: 264 seconds)
15:49:48 pera joins (~pera@user/pera)
16:01:12 <monochrom> It does. No one reads it.
16:02:23 × waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 264 seconds)
16:11:17 × machinedgod quits (~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 240 seconds)
16:12:13 tzh joins (~tzh@c-73-164-206-160.hsd1.or.comcast.net)
16:16:28 × yin quits (~yin@user/zero) (Ping timeout: 256 seconds)
16:16:42 pavonia joins (~user@user/siracusa)
16:22:12 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Read error: Connection reset by peer)
16:26:34 × zer0bitz quits (~zer0bitz@user/zer0bitz) (Quit: https://zer0bitz.dy.fi)
16:26:36 <haskellbridge> <J​ade> im pretty sure this is still out of date for a few distros, I meant to raise an issue about that ...
16:28:05 <geekosaur> `gmp` has always been a dependency though
16:36:09 <probie> Does ghcup support installing a GHC which uses integer-simple?
16:37:16 <geekosaur> probably does but requires extra histrionics if you're not on Alpine
16:39:51 × sawilagar quits (~sawilagar@user/sawilagar) (Quit: Leaving)
16:50:30 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
16:50:30 × stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
16:50:30 × chiselfuse quits (~chiselfus@user/chiselfuse) (Remote host closed the connection)
16:50:30 × pastly quits (~pastly@gateway/tor-sasl/pastly) (Remote host closed the connection)
16:50:33 × califax quits (~califax@user/califx) (Write error: Connection reset by peer)
16:51:10 pastly joins (~pastly@gateway/tor-sasl/pastly)
16:51:30 stiell_ joins (~stiell@gateway/tor-sasl/stiell)
16:51:49 chiselfuse joins (~chiselfus@user/chiselfuse)
16:52:51 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
16:52:52 califax joins (~califax@user/califx)
16:54:59 y04nn joins (~username@2a03:1b20:8:f011::e10d)
16:55:34 × euleritian quits (~euleritia@2a02:810a:b00:1568:6c1a:bb:e9e2:e9fd) (Ping timeout: 256 seconds)
16:57:00 euleritian joins (~euleritia@95.90.211.190)
17:03:24 <haskellbridge> <J​ade> geekosaur: this is in reference to libffi6/7 on debian
17:03:57 <haskellbridge> <J​ade> im pretty sure those are out of date, atleast last time I installed ghcup in debian I needed to use a higher version
17:04:56 × dolio quits (~dolio@130.44.134.54) (Quit: ZNC 1.8.2 - https://znc.in)
17:06:29 dolio joins (~dolio@130.44.134.54)
17:09:03 × dolio quits (~dolio@130.44.134.54) (Client Quit)
17:12:28 dolio joins (~dolio@130.44.134.54)
17:22:15 halloy4906 joins (~halloy490@broadband-5-228-80-43.ip.moscow.rt.ru)
17:22:21 halloy4906 is now known as reki
17:24:06 <reki> Hi all! I've just pushed updated version of Future Monad. It's stateful now and works the same way as IO
17:24:08 <reki> https://github.com/ibaryshnikov/future-hs
17:26:22 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
17:26:55 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
17:28:39 peterbecich joins (~Thunderbi@47.229.123.186)
17:34:11 × pera quits (~pera@user/pera) (Ping timeout: 256 seconds)
17:40:45 target_i joins (~target_i@user/target-i/x-6023099)
17:46:38 × euleritian quits (~euleritia@95.90.211.190) (Ping timeout: 252 seconds)
17:47:10 euleritian joins (~euleritia@dynamic-176-000-161-190.176.0.pool.telefonica.de)
17:49:45 × chiselfuse quits (~chiselfus@user/chiselfuse) (Remote host closed the connection)
17:50:44 chiselfuse joins (~chiselfus@user/chiselfuse)
17:52:09 Square joins (~Square@user/square)
17:58:28 <tomsmeding> jumper149: types are erased at runtime in haskell, so you have to get a value from somewhere that is not _just_ the type
17:59:00 <tomsmeding> generally that "somewhere" is some kind of singleton, be it via the 'singletons' library or otherwise, and via a typeclass or otherwise
18:04:45 waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se)
18:04:49 × sam113101 quits (~sam@24.157.253.231) (Quit: WeeChat 4.2.1)
18:08:30 sam113101 joins (~sam@24.157.253.231)
18:15:42 × kupi quits (uid212005@id-212005.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
18:18:42 × sam113101 quits (~sam@24.157.253.231) (Quit: WeeChat 4.2.2)
18:30:20 bilegeek joins (~bilegeek@2600:1008:b0ad:1165:c160:8ebf:90b8:5ca)
18:30:46 × euleritian quits (~euleritia@dynamic-176-000-161-190.176.0.pool.telefonica.de) (Ping timeout: 256 seconds)
18:36:33 michalz joins (~michalz@185.246.207.205)
18:45:48 jinsun_ joins (~jinsun@user/jinsun)
18:45:48 × jinsun quits (~jinsun@user/jinsun) (Killed (silver.libera.chat (Nickname regained by services)))
18:45:48 jinsun_ is now known as jinsun
18:45:52 sam113101 joins (~sam@24.157.253.231)
18:46:57 × someone235 quits (uid419897@id-419897.ilkley.irccloud.com) (Quit: Connection closed for inactivity)
18:47:51 × sam113101 quits (~sam@24.157.253.231) (Remote host closed the connection)
18:56:51 Sgeo joins (~Sgeo@user/sgeo)
18:57:41 × y04nn quits (~username@2a03:1b20:8:f011::e10d) (Ping timeout: 240 seconds)
18:58:17 TheOneWhoFuncts joins (~Thunderbi@104.28.233.82)
18:59:41 × TheOneWhoFuncts quits (~Thunderbi@104.28.233.82) (Client Quit)
19:09:32 sand-witch joins (~m-mzmz6l@vmi833741.contaboserver.net)
19:09:54 × ddellacosta quits (~ddellacos@ool-44c73d29.dyn.optonline.net) (Ping timeout: 268 seconds)
19:12:54 × mechap quits (~mechap@user/mechap) (Quit: WeeChat 4.2.2)
19:13:43 mechap joins (~mechap@user/mechap)
19:19:02 zer0bitz joins (~zer0bitz@user/zer0bitz)
19:38:23 × peterbecich quits (~Thunderbi@47.229.123.186) (Ping timeout: 264 seconds)
19:42:55 y04nn joins (~username@2a03:1b20:8:f011::e10d)
19:44:37 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
19:57:14 × ocra8 quits (ocra8@user/ocra8) (Quit: WeeChat 4.2.2)
20:03:12 mreh joins (~matthew@host86-160-168-68.range86-160.btcentralplus.com)
20:03:47 × mreh quits (~matthew@host86-160-168-68.range86-160.btcentralplus.com) (Client Quit)
20:04:43 mreh joins (~matthew@host86-160-168-68.range86-160.btcentralplus.com)
20:05:38 <mreh> Should stack build be failing to find the c std lib? For some reason ghci handles compiling this FFI code fine.
20:05:43 darkling parts (~darkling@2001-ba8-1f1-f0e6-0-0-0-2.autov6rev.bitfolk.space) (Summoning his cosmic powers, and glowing slightly from his toes...)
20:05:51 darkling joins (~darkling@2001-ba8-1f1-f0e6-0-0-0-2.autov6rev.bitfolk.space)
20:06:24 × pastly quits (~pastly@gateway/tor-sasl/pastly) (Quit: pastly)
20:07:17 sawilagar joins (~sawilagar@user/sawilagar)
20:09:05 × reki quits (~halloy490@broadband-5-228-80-43.ip.moscow.rt.ru) (Remote host closed the connection)
20:09:12 machinedgod joins (~machinedg@d173-183-246-216.abhsia.telus.net)
20:29:17 ocra8 joins (ocra8@user/ocra8)
20:40:27 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
20:41:28 × mreh quits (~matthew@host86-160-168-68.range86-160.btcentralplus.com) (Ping timeout: 268 seconds)
20:59:06 yin joins (~yin@user/zero)
21:01:35 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
21:04:38 orcus- joins (~orcus@host-78-146-88-32.as13285.net)
21:04:42 ChaiTRex joins (~ChaiTRex@user/chaitrex)
21:05:06 dispater- joins (~dispater@host-78-146-88-32.as13285.net)
21:05:26 × dispater- quits (~dispater@host-78-146-88-32.as13285.net) (Remote host closed the connection)
21:05:27 × orcus- quits (~orcus@host-78-146-88-32.as13285.net) (Remote host closed the connection)
21:07:59 × yin quits (~yin@user/zero) (Ping timeout: 268 seconds)
21:09:50 yin joins (~yin@user/zero)
21:13:30 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
21:14:02 × michalz quits (~michalz@185.246.207.205) (Quit: ZNC 1.8.2 - https://znc.in)
21:14:53 × _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Remote host closed the connection)
21:15:15 dispater- joins (~dispater@host-78-146-88-32.as13285.net)
21:16:15 orcus- joins (~orcus@host-78-146-88-32.as13285.net)
21:16:47 zetef joins (~quassel@2a02:2f00:5202:1200:2128:605:71c4:66a4)
21:16:57 <haskellbridge> <J​ade> what makes `unsafeInterleaveIO` unsafe?
21:18:01 <geekosaur> it tells the compiler "I promise this is actually pure", and the compiler will treat it as such and may duplicate it, reorder it, etc.
21:18:15 <geekosaur> oh, interleave, sorry
21:18:32 <geekosaur> basically it's doing unchecked I/O behind the scenes
21:18:34 peterbecich joins (~Thunderbi@47.229.123.186)
21:18:52 <ski> as unsafe as concurrency (`forkIO')
21:19:06 <EvanR> evaluating something containing unsafeInterleaveIO can have side effects
21:19:43 <haskellbridge> <J​ade> yeah but it's `IO a -> IO a`, so it can have side effects either way?
21:19:46 <EvanR> it requires extra logic beyond haskell to make sure it makes sense
21:20:07 <EvanR> nevermind me, you're right
21:20:12 <geekosaur> the problem is, you can use >>= to get at the `a`, but it is not obvious that it can continue to do I/O
21:20:14 <EvanR> that's what makes it different from unsafePerformIO
21:20:16 × dispater- quits (~dispater@host-78-146-88-32.as13285.net) (Remote host closed the connection)
21:20:16 × orcus- quits (~orcus@host-78-146-88-32.as13285.net) (Remote host closed the connection)
21:22:15 dispater- joins (~dispater@host-78-146-88-32.as13285.net)
21:22:35 <yin> what's wrong with the charts at https://ircbrowse.tomsmeding.com/lchaskell ?
21:22:45 orcus- joins (~orcus@host-78-146-88-32.as13285.net)
21:24:06 × dispater- quits (~dispater@host-78-146-88-32.as13285.net) (Remote host closed the connection)
21:24:06 × orcus- quits (~orcus@host-78-146-88-32.as13285.net) (Remote host closed the connection)
21:26:33 orcus- joins (~orcus@host-78-146-88-32.as13285.net)
21:27:04 <EvanR> "could not load the image"
21:27:25 <EvanR> it's 404ing, maybe google discontinued that API
21:27:31 × orcus- quits (~orcus@host-78-146-88-32.as13285.net) (Remote host closed the connection)
21:27:39 × machinedgod quits (~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 260 seconds)
21:29:13 × yin quits (~yin@user/zero) (Ping timeout: 256 seconds)
21:30:41 yin joins (~yin@user/zero)
21:31:35 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
21:32:26 dsrt^ joins (~cd@c-98-242-74-66.hsd1.ga.comcast.net)
21:33:48 dispater- joins (~dispater@host-78-146-88-32.as13285.net)
21:34:53 × dispater- quits (~dispater@host-78-146-88-32.as13285.net) (Remote host closed the connection)
21:36:00 sam113102 joins (~sam@24.157.253.231)
21:37:39 × sam113102 quits (~sam@24.157.253.231) (Client Quit)
21:38:10 <[Leary]> Jade: It's akin to `pure . unsafePerformIO`; the former does not actually cancel the danger of the latter. In particular, it violates referential transparency: when `unsafeInterleaveIO` is in use, you cannot replace one expression with another equal expression blindly, as one may produce observable side effects when forced, hence the substitution changes the meaning of your program.
21:38:24 <[Leary]> % traverse (unsafeInterleaveIO . putChar) "hello world" >>= print . void
21:38:24 <yahb2> [(),(),(),(),(),(),(),(),(),(),()]
21:38:52 <[Leary]> Here, we're printing a list of units, so the `void` is redundant and should be removed.
21:38:56 <[Leary]> % traverse (unsafeInterleaveIO . putChar) "hello world" >>= print
21:38:56 <yahb2> [h(),e(),l(),l(),o(), (),w(),o(),r(),l(),d()]
21:39:49 <EvanR> it's possible to think yourself out of the side effects and claim what it's doing makes sense, but normally you don't have to do that in haskell. So extra brain cycles required
21:40:06 sam113101 joins (~sam@24.157.253.231)
21:40:21 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
21:41:13 × sam113101 quits (~sam@24.157.253.231) (Client Quit)
21:45:36 sam113101 joins (~sam@24.157.253.231)
21:46:51 × target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving)
21:49:55 × Square quits (~Square@user/square) (Ping timeout: 245 seconds)
21:57:03 × phma quits (phma@2001:5b0:210d:77f8:690d:ee85:cd6a:7031) (Read error: Connection reset by peer)
21:57:48 × pavonia quits (~user@user/siracusa) (Read error: Connection reset by peer)
21:58:04 phma joins (~phma@2001:5b0:2172:cfd8:e2ba:31ce:8b83:bc5)
22:01:02 × sam113101 quits (~sam@24.157.253.231) (Quit: WeeChat 4.2.2)
22:01:22 sam113101 joins (~sam@24.157.253.231)
22:08:40 pavonia joins (~user@user/siracusa)
22:11:06 × sam113101 quits (~sam@24.157.253.231) (Quit: WeeChat 4.2.2)
22:11:39 sam113101 joins (~sam@24.157.253.231)
22:13:08 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
22:13:18 × sam113101 quits (~sam@24.157.253.231) (Client Quit)
22:13:51 sam113101 joins (~sam@24.157.253.231)
22:17:28 dispater- joins (~dispater@host-78-146-88-32.as13285.net)
22:17:59 orcus- joins (~orcus@host-78-146-88-32.as13285.net)
22:18:10 × dispater- quits (~dispater@host-78-146-88-32.as13285.net) (Remote host closed the connection)
22:18:11 × orcus- quits (~orcus@host-78-146-88-32.as13285.net) (Remote host closed the connection)
22:21:42 dispater- joins (~dispater@host-78-146-88-32.as13285.net)
22:21:58 × dispater- quits (~dispater@host-78-146-88-32.as13285.net) (Remote host closed the connection)
22:23:11 × yin quits (~yin@user/zero) (Ping timeout: 256 seconds)
22:25:10 <dolio> ski gave the right answer. :þ
22:27:17 orcus- joins (~orcus@host-78-146-88-32.as13285.net)
22:27:47 × orcus- quits (~orcus@host-78-146-88-32.as13285.net) (Remote host closed the connection)
22:36:07 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
22:37:39 yin joins (~yin@user/zero)
22:37:52 <yin> huh?
22:38:06 <yin> what is that list?
22:38:41 × peterbecich quits (~Thunderbi@47.229.123.186) (Ping timeout: 252 seconds)
22:38:48 <yin> is it just concurrent output or something else?
22:41:05 <dolio> You can think of it as concurrency where the scheduling gets informed by the lazy evaluation.
22:41:47 <dolio> When you need something, your thread gets interrupted and the one that was supposed to calculate it runs instead.
22:42:12 <yin> got it
22:45:16 <geekosaur> unprincipled coroutines
22:48:41 × stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
22:49:22 stiell_ joins (~stiell@gateway/tor-sasl/stiell)
22:57:43 × acidjnk quits (~acidjnk@p200300d6e714dc03d4ff90a1ba0ea518.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
22:57:57 <monochrom> Consider do { x <- unsafeInterleaveIO (writeIORef v 5 >> pure ()); y <- unsafeInterleaveIO (writeIORef v 6 >> pure ()) ; ... }
22:59:08 <monochrom> Now v will be 5 or 6 or unchanged at unknown future times depending on when will x or y or neither is evaluated.
23:03:56 reki joins (~halloy490@broadband-5-228-80-43.ip.moscow.rt.ru)
23:05:33 tri joins (~tri@ool-18bc2e74.dyn.optonline.net)
23:05:45 × reki quits (~halloy490@broadband-5-228-80-43.ip.moscow.rt.ru) (Remote host closed the connection)
23:10:04 × tri quits (~tri@ool-18bc2e74.dyn.optonline.net) (Ping timeout: 255 seconds)
23:12:34 philopsos joins (~caecilius@user/philopsos)
23:23:14 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Ping timeout: 252 seconds)
23:25:26 × yin quits (~yin@user/zero) (Ping timeout: 256 seconds)
23:29:41 madeleine-sydney joins (~madeleine@c-76-155-235-153.hsd1.co.comcast.net)
23:44:28 × hiredman quits (~hiredman@frontier1.downey.family) (Quit: Lost terminal)
23:49:53 smoge joins (~smoge@2603:7000:4b42:1100:d8aa:e17a:f1f9:f7b4)
23:50:07 dispater- joins (~dispater@host-78-146-88-32.as13285.net)
23:50:50 × dispater- quits (~dispater@host-78-146-88-32.as13285.net) (Remote host closed the connection)
23:51:23 × smoge quits (~smoge@2603:7000:4b42:1100:d8aa:e17a:f1f9:f7b4) (Client Quit)
23:54:02 smogeb joins (~smogeb@2603:7000:4b42:1100:d8aa:e17a:f1f9:f7b4)

All times are in UTC on 2024-04-27.