Home liberachat/#haskell: Logs Calendar

Logs on 2024-08-25 (liberachat/#haskell)

00:03:35 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
00:04:01 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
00:07:50 × mhatta quits (~mhatta@www21123ui.sakura.ne.jp) (Remote host closed the connection)
00:07:59 × dsrt^ quits (~dsrt@c-98-242-74-66.hsd1.ga.comcast.net) (Ping timeout: 252 seconds)
00:08:39 dsrt^ joins (ciwoudofon@c-98-242-74-66.hsd1.ga.comcast.net)
00:10:42 mhatta joins (~mhatta@www21123ui.sakura.ne.jp)
00:14:23 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
00:16:08 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer)
00:19:32 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
00:21:26 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 272 seconds)
00:29:49 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
00:34:23 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
00:43:22 tzh joins (~tzh@c-76-115-131-146.hsd1.or.comcast.net)
00:45:14 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
00:49:56 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
01:00:06 × finsternis quits (~X@23.226.237.192) (Read error: Connection reset by peer)
01:00:41 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
01:05:11 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
01:16:06 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
01:16:21 × troydm quits (~troydm@user/troydm) (Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset)
01:16:58 troydm joins (~troydm@user/troydm)
01:20:53 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
01:22:56 troojg joins (~troojg@user/troojg)
01:29:47 × neuroevolutus quits (~neuroevol@206.217.206.95) (Ping timeout: 256 seconds)
01:31:31 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
01:35:49 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
01:37:39 × troojg quits (~troojg@user/troojg) (Remote host closed the connection)
01:42:21 dysthesis joins (~dysthesis@user/dysthesis)
01:44:52 youthlic joins (~Thunderbi@user/youthlic)
01:46:06 × youthlic quits (~Thunderbi@user/youthlic) (Client Quit)
01:46:21 youthlic joins (~Thunderbi@user/youthlic)
01:46:57 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
01:47:55 × ZharMeny quits (~user@user/ZharMeny) (Quit: error: `impl Future<Output = ()>` is not a future)
01:50:28 youthlic1 joins (~Thunderbi@user/youthlic)
01:51:21 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
01:53:30 × youthlic quits (~Thunderbi@user/youthlic) (Ping timeout: 276 seconds)
01:53:30 youthlic1 is now known as youthlic
01:59:55 son0p joins (~ff@2800:e2:f80:ee7::1)
02:02:22 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
02:02:27 liamzy__ joins (~Inst@user/Inst)
02:05:00 × Inst_ quits (~Inst@user/Inst) (Ping timeout: 244 seconds)
02:05:02 × op_4 quits (~tslil@user/op-4/x-9116473) (Remote host closed the connection)
02:05:32 op_4 joins (~tslil@user/op-4/x-9116473)
02:06:48 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
02:09:06 × td_ quits (~td@i5387090D.versanet.de) (Ping timeout: 252 seconds)
02:10:43 td_ joins (~td@i53870916.versanet.de)
02:11:11 <liamzy__> __monty__
02:11:12 <liamzy__> sorry
02:11:14 liamzy__ is now known as Inst
02:12:01 <Inst> https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/binarytrees-ghc-8.html
02:12:03 <Inst> I mean this stuff
02:17:47 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
02:21:28 × waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 252 seconds)
02:22:09 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
02:33:12 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
02:37:05 × smalltalkman quits (uid545680@id-545680.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
02:37:33 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
02:48:40 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
02:53:09 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
02:53:11 × troydm quits (~troydm@user/troydm) (Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset)
02:53:27 troydm joins (~troydm@user/troydm)
02:55:31 × ThePenguin quits (~ThePengui@cust-95-80-24-166.csbnet.se) (Remote host closed the connection)
02:56:06 ThePenguin7 joins (~ThePengui@cust-95-80-24-166.csbnet.se)
03:03:07 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
03:04:04 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
03:09:16 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
03:19:30 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
03:20:36 × tomku quits (~tomku@user/tomku) (Ping timeout: 246 seconds)
03:20:50 tomku joins (~tomku@user/tomku)
03:20:52 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 252 seconds)
03:22:49 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
03:24:06 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
03:28:27 raehik joins (~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net)
03:33:54 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
03:38:28 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
03:42:46 aforemny_ joins (~aforemny@2001:9e8:6ce1:ca00:1cd1:13ff:d54d:eb12)
03:44:09 × aforemny quits (~aforemny@2001:9e8:6cff:500:98c4:3d3d:712d:9623) (Ping timeout: 260 seconds)
03:49:21 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
03:53:51 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
04:04:47 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
04:05:36 × bilegeek quits (~bilegeek@2600:1008:b040:4a84:4efb:c8c:bffb:a024) (Quit: Leaving)
04:09:16 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
04:09:26 × raehik quits (~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net) (Ping timeout: 272 seconds)
04:13:41 × son0p quits (~ff@2800:e2:f80:ee7::1) (Ping timeout: 248 seconds)
04:20:12 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
04:24:39 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
04:28:51 × xff0x quits (~xff0x@2405:6580:b080:900:45fd:a514:f56e:67ab) (Ping timeout: 246 seconds)
04:34:59 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
04:35:38 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
04:40:28 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
04:40:58 xff0x joins (~xff0x@2405:6580:b080:900:1a16:bbb0:6f59:723e)
04:48:20 madhavanmiui joins (~madhavanm@2409:40f4:102e:9786:8000::)
04:49:25 × madhavanmiui quits (~madhavanm@2409:40f4:102e:9786:8000::) (Client Quit)
04:51:02 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
04:54:26 × sourcetarius quits (~sourcetar@user/sourcetarius) (Quit: sourcetarius)
04:55:27 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
05:05:58 × spew quits (~spew@201.141.102.132) (Quit: spew)
05:06:29 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
05:08:03 × manwithluck quits (manwithluc@gateway/vpn/protonvpn/manwithluck) (Ping timeout: 246 seconds)
05:08:35 manwithluck joins (manwithluc@gateway/vpn/protonvpn/manwithluck)
05:11:30 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
05:21:54 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
05:26:42 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
05:34:55 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
05:35:08 neuroevolutus joins (~neuroevol@206.217.206.95)
05:39:12 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
05:49:21 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
05:50:19 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
05:54:53 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
05:55:12 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
06:05:28 smalltalkman joins (uid545680@id-545680.hampstead.irccloud.com)
06:05:46 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
06:10:29 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
06:10:33 × dysthesis quits (~dysthesis@user/dysthesis) (Quit: WeeChat 4.4.1)
06:17:49 × Feuermagier quits (~Feuermagi@user/feuermagier) (Read error: Connection reset by peer)
06:21:11 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
06:22:45 son0p joins (~ff@2800:e2:f80:ee7::1)
06:25:40 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
06:35:56 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
06:38:42 × tomku quits (~tomku@user/tomku) (Ping timeout: 246 seconds)
06:38:57 tomku joins (~tomku@user/tomku)
06:40:27 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
06:44:50 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
06:50:55 dysthesis joins (~dysthesis@user/dysthesis)
06:51:21 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
06:56:05 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
07:01:17 × dysthesis quits (~dysthesis@user/dysthesis) (Quit: WeeChat 4.4.1)
07:01:29 ash3en joins (~Thunderbi@146.70.124.138)
07:02:30 × comonad quits (~comonad@p200300d02705e800d14b563ba919432f.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
07:03:48 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 252 seconds)
07:06:36 comonad joins (~comonad@p200300d02705e800d14b563ba919432f.dip0.t-ipconnect.de)
07:06:48 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
07:10:44 × neuroevolutus quits (~neuroevol@206.217.206.95) (Quit: Client closed)
07:11:23 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
07:22:14 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
07:23:44 × Square2 quits (~Square@user/square) (Remote host closed the connection)
07:29:57 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
07:36:55 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
07:41:21 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
07:41:26 regev joins (~regev@147.236.231.210)
07:42:12 lxsameer joins (~lxsameer@Serene/lxsameer)
07:44:09 <regev> hey there, haskell newbie here, im currently learning haskell from "Learn you a Haskell" and im reading about typeclasses. I was wondering if someone has a comprehensive chart that shows the hierarcy of the default typeclasses is haskell?
07:44:45 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
07:45:11 <Franciman> hi regev maybe you can like typeclassopedia
07:45:45 <Franciman> https://wiki.haskell.org/Typeclassopedia there is a graph here
07:46:21 × regev quits (~regev@147.236.231.210) (Read error: Connection reset by peer)
07:48:38 ddellacosta joins (~ddellacos@ool-44c73b99.dyn.optonline.net)
07:50:49 regev joins (~dararam@147.236.231.210)
07:52:19 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
07:54:44 Square joins (~Square@user/square)
07:54:46 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
07:55:31 × regev quits (~dararam@147.236.231.210) (Client Quit)
07:57:05 acidjnk joins (~acidjnk@p200300d6e72cfb47c979cc4d7a117a71.dip0.t-ipconnect.de)
07:57:30 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
07:58:09 gmg joins (~user@user/gehmehgeh)
08:03:53 dysthesis joins (~dysthesis@user/dysthesis)
08:07:44 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
08:10:24 × lxsameer quits (~lxsameer@Serene/lxsameer) (Ping timeout: 246 seconds)
08:10:27 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
08:12:30 lxsameer joins (~lxsameer@Serene/lxsameer)
08:12:38 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
08:13:52 × tzh quits (~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz)
08:18:52 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
08:21:42 × dysthesis quits (~dysthesis@user/dysthesis) (Quit: WeeChat 4.4.1)
08:23:13 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
08:27:29 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
08:29:34 × ash3en quits (~Thunderbi@146.70.124.138) (Quit: ash3en)
08:30:05 × Square quits (~Square@user/square) (Remote host closed the connection)
08:30:26 Square joins (~Square@user/square)
08:37:02 × econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
08:37:55 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
08:42:35 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
08:44:15 Tuplanolla joins (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi)
08:53:21 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
08:56:45 mceresa joins (~mceresa@user/mceresa)
08:57:57 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
09:00:09 ash3en joins (~Thunderbi@146.70.124.138)
09:00:28 × ash3en quits (~Thunderbi@146.70.124.138) (Client Quit)
09:01:34 × Square quits (~Square@user/square) (Remote host closed the connection)
09:01:52 Square joins (~Square@user/square)
09:03:40 sawilagar joins (~sawilagar@user/sawilagar)
09:04:30 Guest87 joins (~Guest87@2a0c:5a81:5400:b900:4ad7:bf7c:3540:238e)
09:05:51 alexherbo2 joins (~alexherbo@2a02-8440-3405-7d01-5c9c-f2eb-3220-d75c.rev.sfr.net)
09:06:52 × Guest87 quits (~Guest87@2a0c:5a81:5400:b900:4ad7:bf7c:3540:238e) (Quit: Client closed)
09:07:15 Guest87 joins (~Guest87@2a0c:5a81:5400:b900:4ad7:bf7c:3540:238e)
09:07:33 × tomku quits (~tomku@user/tomku) (Ping timeout: 248 seconds)
09:07:47 tomku joins (~tomku@user/tomku)
09:07:58 × Guest87 quits (~Guest87@2a0c:5a81:5400:b900:4ad7:bf7c:3540:238e) (Client Quit)
09:08:46 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
09:10:38 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
09:13:33 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
09:24:12 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
09:25:58 ZharMeny joins (~user@user/ZharMeny)
09:28:11 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
09:28:37 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
09:28:49 __monty__ joins (~toonn@user/toonn)
09:38:55 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
09:43:18 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
09:45:21 × Luj9 quits (~Luj@2a01:e0a:de4:a0e1:be24:11ff:febc:b5b5) (Quit: The Lounge - https://thelounge.chat)
09:45:48 Luj9 joins (~Luj@2a01:e0a:de4:a0e1:be24:11ff:febc:b5b5)
09:48:04 orayn joins (~orayn@user/orayn)
09:48:42 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
09:49:24 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
09:54:25 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
09:58:45 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
10:02:39 × smalltalkman quits (uid545680@id-545680.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
10:03:28 × Square quits (~Square@user/square) (Ping timeout: 272 seconds)
10:09:47 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
10:12:28 × euphores quits (~SASL_euph@user/euphores) (Quit: Leaving.)
10:13:37 regev joins (~dararam@147.236.231.210)
10:14:05 <regev> hey there, haskell newbie here, im currently learning haskell from "Learn you a Haskell" and im reading about typeclasses. I was wondering if someone has a │ _d0t
10:14:05 <regev> │ | comprehensive chart that shows the hierarcy of the default typeclasses is haskell?y
10:14:10 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
10:14:59 <regev> oops, tried to copy paste :)
10:15:13 <sm> you saw Franciman's previous answer ? https://wiki.haskell.org/Typeclassopedia
10:15:27 <regev> typing again so its readable: does anyone have a comprehensive chart of all default typeclasses in haskell?
10:15:44 <regev> nope i exited, sorry
10:15:53 <sm> well there it is :)
10:16:43 <regev> thank you!
10:18:09 <sm> don't feel as a newbie you must master all of this
10:18:13 euphores joins (~SASL_euph@user/euphores)
10:20:32 × regev quits (~dararam@147.236.231.210) (Read error: Connection reset by peer)
10:24:29 regev joins (~dararam@147.236.231.210)
10:25:12 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
10:25:33 <mauke> doesn't even mention Ix
10:26:38 <mauke> as a beginner, the most important classes are probably Show, Eq, Ord, Num
10:26:47 <mauke> Enum and Functor if you want to get fancy
10:28:47 × regev quits (~dararam@147.236.231.210) (Read error: Connection reset by peer)
10:30:04 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
10:31:44 ash3en joins (~Thunderbi@2a02:3100:7da1:ca00:efa5:7b5b:f883:31c3)
10:32:51 regev joins (~dararam@147.236.231.210)
10:37:06 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
10:37:49 × regev quits (~dararam@147.236.231.210) (Read error: Connection reset by peer)
10:40:09 regev joins (~dararam@147.236.229.142)
10:44:09 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
10:47:43 Square joins (~Square@user/square)
10:50:10 × ash3en quits (~Thunderbi@2a02:3100:7da1:ca00:efa5:7b5b:f883:31c3) (Quit: ash3en)
10:55:04 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
10:57:40 ash3en joins (~Thunderbi@2a02:3100:7da1:ca00:efa5:7b5b:f883:31c3)
10:59:50 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
11:00:56 × mrmr15533434631 quits (~mrmr@user/mrmr) (Quit: Bye, See ya later!)
11:04:18 × ash3en quits (~Thunderbi@2a02:3100:7da1:ca00:efa5:7b5b:f883:31c3) (Quit: ash3en)
11:04:43 ash3en joins (~Thunderbi@2a02:3100:7da1:ca00:efa5:7b5b:f883:31c3)
11:05:33 Digitteknohippie joins (~user@user/digit)
11:06:14 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
11:06:19 × Digit quits (~user@user/digit) (Ping timeout: 260 seconds)
11:06:28 × ash3en quits (~Thunderbi@2a02:3100:7da1:ca00:efa5:7b5b:f883:31c3) (Client Quit)
11:06:46 ash3en joins (~Thunderbi@2a02:3100:7da1:ca00:efa5:7b5b:f883:31c3)
11:07:08 × ash3en quits (~Thunderbi@2a02:3100:7da1:ca00:efa5:7b5b:f883:31c3) (Client Quit)
11:10:29 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
11:11:11 × orayn quits (~orayn@user/orayn) (Ping timeout: 256 seconds)
11:11:23 orayn joins (~orayn@user/orayn)
11:14:58 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
11:14:58 × regev quits (~dararam@147.236.229.142) (Read error: Connection reset by peer)
11:18:28 mrmr155334346318 joins (~mrmr@user/mrmr)
11:18:50 × tomku quits (~tomku@user/tomku) (Ping timeout: 272 seconds)
11:19:04 tomku joins (~tomku@user/tomku)
11:19:21 <haskellbridge> <eldritchcookie> Enum and Bounded i can agree but Functor is broadly useful and easy to get an intuition for i would be more undecided on Applicative and Monad but you should still know they exist.
11:20:29 regev joins (~dararam@2a01:6502:a4c:67ea:eca2:9840:2654:bb3f)
11:21:52 × rvalue quits (~rvalue@user/rvalue) (Read error: Connection reset by peer)
11:22:23 rvalue joins (~rvalue@user/rvalue)
11:25:10 × regev quits (~dararam@2a01:6502:a4c:67ea:eca2:9840:2654:bb3f) (Ping timeout: 272 seconds)
11:25:55 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
11:26:03 regev joins (~dararam@2a01:6502:a4c:67ea:eca2:9840:2654:bb3f)
11:30:21 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
11:31:33 × regev quits (~dararam@2a01:6502:a4c:67ea:eca2:9840:2654:bb3f) (Ping timeout: 248 seconds)
11:36:28 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
11:41:20 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
11:46:09 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
11:55:13 Guest75 joins (~Guest75@2600:387:f:5919::2)
11:55:39 × tomku quits (~tomku@user/tomku) (Ping timeout: 252 seconds)
11:56:46 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
12:01:09 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
12:01:25 × Guest75 quits (~Guest75@2600:387:f:5919::2) (Quit: Client closed)
12:01:45 Guest75 joins (~Guest75@2600:387:f:5919::2)
12:04:04 Guest48 joins (~Guest75@2600:387:f:5919::2)
12:04:47 × Guest75 quits (~Guest75@2600:387:f:5919::2) (Write error: Broken pipe)
12:04:48 tomku joins (~tomku@user/tomku)
12:06:17 × Guest48 quits (~Guest75@2600:387:f:5919::2) (Client Quit)
12:09:10 Guest75 joins (~Guest75@2600:387:f:5919::2)
12:10:05 Guest61 joins (~Guest61@2a03:1b20:b:f011::d701)
12:12:12 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
12:16:47 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
12:18:16 × Guest75 quits (~Guest75@2600:387:f:5919::2) (Quit: Client closed)
12:18:36 Guest75 joins (~Guest75@2600:387:f:5919::2)
12:24:30 × Guest75 quits (~Guest75@2600:387:f:5919::2) (Quit: Client closed)
12:24:50 Guest75 joins (~Guest75@2600:387:f:5919::2)
12:26:45 × pointlessslippe1 quits (~pointless@212.82.82.3) (Ping timeout: 252 seconds)
12:27:39 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
12:30:14 Digitteknohippie is now known as Digit
12:32:17 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
12:38:30 × troydm quits (~troydm@user/troydm) (Ping timeout: 246 seconds)
12:41:44 × sawilagar quits (~sawilagar@user/sawilagar) (Quit: Leaving)
12:42:01 sawilagar joins (~sawilagar@user/sawilagar)
12:43:03 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
12:48:08 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
12:50:55 × alexherbo2 quits (~alexherbo@2a02-8440-3405-7d01-5c9c-f2eb-3220-d75c.rev.sfr.net) (Remote host closed the connection)
12:52:20 alexherbo2 joins (~alexherbo@2a02-8440-3405-7d01-8c26-f064-ddca-dec6.rev.sfr.net)
12:52:29 × Square quits (~Square@user/square) (Remote host closed the connection)
12:53:27 × Inst quits (~Inst@user/Inst) (Read error: Connection reset by peer)
12:56:41 × alexherbo2 quits (~alexherbo@2a02-8440-3405-7d01-8c26-f064-ddca-dec6.rev.sfr.net) (Remote host closed the connection)
12:58:29 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
12:58:39 alexherbo2 joins (~alexherbo@2a02-8440-3405-7d01-7c12-80f4-72ec-655d.rev.sfr.net)
13:00:49 regev joins (~dararam@2a01:6502:a4c:67ea:54d3:d8ce:37f:f610)
13:02:00 × alexherbo2 quits (~alexherbo@2a02-8440-3405-7d01-7c12-80f4-72ec-655d.rev.sfr.net) (Remote host closed the connection)
13:02:18 spew joins (~spew@201.141.102.132)
13:02:43 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
13:04:56 × Guest61 quits (~Guest61@2a03:1b20:b:f011::d701) (Quit: Client closed)
13:05:18 × regev quits (~dararam@2a01:6502:a4c:67ea:54d3:d8ce:37f:f610) (Ping timeout: 244 seconds)
13:07:05 regev joins (~dararam@2a01:6502:a4c:67ea:54d3:d8ce:37f:f610)
13:13:03 pointlessslippe1 joins (~pointless@212.82.82.3)
13:13:55 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
13:16:32 × ridcully quits (~ridcully@p508ac2b4.dip0.t-ipconnect.de) (Quit: WeeChat 4.3.5)
13:16:49 ridcully joins (~ridcully@p508ac2b4.dip0.t-ipconnect.de)
13:19:15 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
13:19:18 × Guest75 quits (~Guest75@2600:387:f:5919::2) (Quit: Client closed)
13:29:20 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
13:31:21 × tomku quits (~tomku@user/tomku) (Ping timeout: 252 seconds)
13:31:35 tomku joins (~tomku@user/tomku)
13:33:55 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
13:43:56 × td_ quits (~td@i53870916.versanet.de) (Quit: waking up from the american dream ...)
13:44:44 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
13:49:20 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
13:50:38 pavonia joins (~user@user/siracusa)
13:53:19 × regev quits (~dararam@2a01:6502:a4c:67ea:54d3:d8ce:37f:f610) (Ping timeout: 260 seconds)
13:55:00 regev joins (~dararam@147.236.229.142)
14:00:10 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
14:02:32 waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se)
14:03:33 × regev quits (~dararam@147.236.229.142) (Ping timeout: 248 seconds)
14:04:37 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
14:05:24 regev joins (~dararam@147.236.229.142)
14:07:10 Guest75 joins (~Guest75@2600:387:15:151a::8)
14:14:37 wootehfoot joins (~wootehfoo@user/wootehfoot)
14:15:36 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
14:20:07 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
14:27:27 × ddellacosta quits (~ddellacos@ool-44c73b99.dyn.optonline.net) (Ping timeout: 252 seconds)
14:31:01 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
14:36:51 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 260 seconds)
14:37:42 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
14:39:49 × regev quits (~dararam@147.236.229.142) (Read error: Connection reset by peer)
14:43:10 ash3en joins (~Thunderbi@2a02:3100:7da1:ca00:efa5:7b5b:f883:31c3)
14:43:42 Square joins (~Square@user/square)
14:44:47 × Guest75 quits (~Guest75@2600:387:15:151a::8) (Quit: Client closed)
14:45:11 Guest75 joins (~Guest75@68-251-36-232.lightspeed.wepbfl.sbcglobal.net)
14:46:31 Guest47 joins (~Guest75@68-251-36-232.lightspeed.wepbfl.sbcglobal.net)
14:48:13 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
14:48:32 td_ joins (~td@i53870916.versanet.de)
14:51:49 Guest63 joins (~Guest75@2600:387:f:a10::1)
14:52:45 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
14:54:25 Guest72 joins (~Guest75@68-251-36-232.lightspeed.wepbfl.sbcglobal.net)
14:54:43 × Guest63 quits (~Guest75@2600:387:f:a10::1) (Client Quit)
14:55:09 Guest32 joins (~Guest75@68-251-36-232.lightspeed.wepbfl.sbcglobal.net)
14:55:35 × Guest75 quits (~Guest75@68-251-36-232.lightspeed.wepbfl.sbcglobal.net) (Ping timeout: 256 seconds)
14:56:00 × ash3en quits (~Thunderbi@2a02:3100:7da1:ca00:efa5:7b5b:f883:31c3) (Quit: ash3en)
14:56:09 × Guest47 quits (~Guest75@68-251-36-232.lightspeed.wepbfl.sbcglobal.net) (Ping timeout: 256 seconds)
14:57:49 Guest75 joins (~Guest75@2600:387:15:2019::5)
14:58:59 × orayn quits (~orayn@user/orayn) (Ping timeout: 256 seconds)
15:00:20 × JamesMowery quits (~JamesMowe@ip98-167-207-182.ph.ph.cox.net) (Quit: Goodbye)
15:00:27 ddellacosta joins (~ddellacos@ool-44c73b99.dyn.optonline.net)
15:00:36 JamesMowery joins (~JamesMowe@ip98-167-207-182.ph.ph.cox.net)
15:00:41 × Guest72 quits (~Guest75@68-251-36-232.lightspeed.wepbfl.sbcglobal.net) (Ping timeout: 256 seconds)
15:01:38 troydm joins (~troydm@user/troydm)
15:03:18 Guest53 joins (~Guest75@68-251-36-232.lightspeed.wepbfl.sbcglobal.net)
15:03:31 × Guest32 quits (~Guest75@68-251-36-232.lightspeed.wepbfl.sbcglobal.net) (Ping timeout: 256 seconds)
15:03:40 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
15:03:48 × Guest75 quits (~Guest75@2600:387:15:2019::5) (Quit: Client closed)
15:04:19 × waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 264 seconds)
15:07:57 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
15:08:54 tzh joins (~tzh@c-76-115-131-146.hsd1.or.comcast.net)
15:09:05 × Guest53 quits (~Guest75@68-251-36-232.lightspeed.wepbfl.sbcglobal.net) (Quit: Client closed)
15:09:11 Guest75 joins (~Guest75@2600:387:15:2019::5)
15:09:59 youthlic1 joins (~Thunderbi@user/youthlic)
15:11:38 × Guest75 quits (~Guest75@2600:387:15:2019::5) (Write error: Broken pipe)
15:11:42 × youthlic quits (~Thunderbi@user/youthlic) (Ping timeout: 276 seconds)
15:11:42 youthlic1 is now known as youthlic
15:11:52 Guest31 joins (~Guest75@68-251-36-232.lightspeed.wepbfl.sbcglobal.net)
15:13:15 × ddellacosta quits (~ddellacos@ool-44c73b99.dyn.optonline.net) (Ping timeout: 260 seconds)
15:13:48 × Guest31 quits (~Guest75@68-251-36-232.lightspeed.wepbfl.sbcglobal.net) (Killed (ozone (No Spam)))
15:14:45 Guest75 joins (~Guest75@2600:387:15:2019::5)
15:19:05 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
15:19:08 × Guest75 quits (~Guest75@2600:387:15:2019::5) (Client Quit)
15:19:29 Guest75 joins (~Guest75@2600:387:15:2019::5)
15:20:46 × Guest75 quits (~Guest75@2600:387:15:2019::5) (K-Lined)
15:24:03 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
15:26:11 tabemann__ joins (~tabemann@2600:1700:7990:24e0:471d:6865:e425:eedb)
15:26:44 tomsmeding_ is now known as tomsmeding
15:27:49 × tabemann_ quits (~tabemann@2600:1700:7990:24e0:87b2:9ddc:bdac:f1c8) (Ping timeout: 248 seconds)
15:31:35 Inst joins (~Inst@user/Inst)
15:33:43 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
15:34:29 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
15:34:55 gdown joins (~gavin@h69-11-148-150.kndrid.broadband.dynamic.tds.net)
15:42:26 ddellacosta joins (~ddellacos@ool-44c73b99.dyn.optonline.net)
15:43:34 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
15:47:30 × ddellacosta quits (~ddellacos@ool-44c73b99.dyn.optonline.net) (Ping timeout: 246 seconds)
15:49:38 ddellacosta joins (~ddellacos@ool-44c73b99.dyn.optonline.net)
15:52:56 target_i joins (~target_i@user/target-i/x-6023099)
15:53:51 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
15:54:51 × ddellacosta quits (~ddellacos@ool-44c73b99.dyn.optonline.net) (Ping timeout: 246 seconds)
15:58:13 × gdown quits (~gavin@h69-11-148-150.kndrid.broadband.dynamic.tds.net) (Remote host closed the connection)
15:58:38 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
16:09:16 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
16:13:47 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
16:24:42 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
16:27:23 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
16:29:12 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
16:34:11 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
16:38:45 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
16:39:55 oo_miguel joins (~Thunderbi@78.10.207.45)
16:39:56 <spew> Hi all, I'm reading Hutton's "Programming in Haskell" and one of the exercises is to implement a readLine :: IO String action that reads a string but allows you to delete characters.
16:40:06 <spew> What I came up with is this: https://paste.tomsmeding.com/EJut3AMm
16:40:27 <spew> but I'm wondering if there's a way to do it with some kind of monadic fold instead of using a recursive "go" helper
16:47:19 <c_wraith> it certainly could be, but given the structure of what you're doing it wouldn't really make anything cleaner
16:47:58 <spew> c_wraith: ty
16:49:29 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
16:54:11 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
16:58:58 <monochrom> It is not a fold, it is an unfold.
17:01:49 <spew> I was trying to do something with this `takeWhile (/= '\n') <$> (sequence $ repeat getCh)` but it doesn't seem to halt at the newline
17:03:10 <monochrom> I/O is not lazy.
17:03:35 <spew> monochrom: ty
17:03:45 <spew> then I thought I could map over that thing
17:04:54 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
17:06:55 <spew> perhaps with takeWhileM from Control.Monad.Loops?
17:09:31 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
17:15:05 <EvanR> :t takeWhileM
17:15:06 <lambdabot> error:
17:15:06 <lambdabot> • Variable not in scope: takeWhileM
17:15:06 <lambdabot> • Perhaps you meant one of these:
17:15:49 <EvanR> Monad m => (a -> m Bool) -> [a] -> m [a]
17:16:16 <EvanR> doesn't seem like what you want
17:16:42 <EvanR> somethingM :: Monad m => m (Maybe a) -> m [a]
17:17:10 <EvanR> do action to get a's until it fails, return the list of a
17:19:02 <EvanR> it's called unfoldM in monad-loops
17:20:11 <spew> EvanR: thanks very much! I will check that out
17:20:19 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
17:23:08 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Read error: Connection reset by peer)
17:23:39 <c_wraith> it's not an unfold, either
17:23:52 <c_wraith> it needs to be able to edit previous results
17:23:59 <c_wraith> unfolds can't do that
17:24:36 <c_wraith> you can abuse an unfold to do the job, but it's not a natural fit
17:24:54 <EvanR> you could still do it with unfoldM, by consuming multiple characters if you encounter one to be erased
17:25:04 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
17:25:35 <EvanR> it's not natural until something is a natural transformation!
17:26:20 <c_wraith> what? unfoldM hard commits to output, and you don't recognize that you need to delete something but l you've already committed to it
17:26:41 <c_wraith> *until you've committed, that is
17:26:42 <EvanR> I don't know what with actual exercise is, I just read "allows you to delete characters"
17:26:57 <EvanR> if you know what characters to delete it would work
17:27:06 <c_wraith> read as "allows you to hit backspace"
17:27:11 <EvanR> oh lol
17:27:18 <EvanR> there be dragons
17:27:23 <EvanR> terminal control sequences
17:27:53 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
17:27:57 <c_wraith> eh, it's fine to just output ASCII control codes for an exercise at this level, which is what it's doing
17:28:32 <c_wraith> but the point is that you're out of the realm of an unfold unless you're using a reference to smuggle mutation in
17:33:00 × Square quits (~Square@user/square) (Ping timeout: 252 seconds)
17:33:14 regev joins (~dararam@2a01:6502:a4c:67ea:b432:a753:7646:1b40)
17:35:05 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
17:39:43 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
17:43:56 srazkvt joins (~sarah_@2a01:e0a:483:6900:b6d5:d9cd:2f20:2e49)
17:47:52 <haskellbridge> <Bowuigi> Yeah no recursion scheme I looked at could modify the past (or see the future, for that matter), histomorphisms see the past, futumorphisms control the future and chronomorphisms do both, but neither is entirely suitable
17:49:02 <spew> Bowuigi: thanks very much, thanks to everyone for taking a look
17:50:27 Square joins (~Square@user/square)
17:50:30 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
17:54:03 waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se)
17:54:28 <haskellbridge> <Bowuigi> On a similar topic, I wonder if any total anamorphism returning a finite structure can be turned into a catamorphism. Lean does something similar using well founded recursion and converts these functions into catas over Nat, but I don't know if there's a less "proof-y" way to do this
17:54:52 × talismanick quits (~user@2601:644:937c:ed10::ae5) (Remote host closed the connection)
17:54:59 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
17:55:28 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Quit: peterbecich)
17:55:45 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
17:56:30 <haskellbridge> <Bowuigi> I'm designing a total configuration language (in a sense, similar to dhall) that's very theory-focused while trying to remain small and efficient in implementation (in a sense, similar to smalltt)
17:57:01 × regev quits (~dararam@2a01:6502:a4c:67ea:b432:a753:7646:1b40) (Remote host closed the connection)
17:58:44 <haskellbridge> <Bowuigi> As I am using recursion schemes paired with heavily simplified recursive types, the less stuff I have to deal with, the better
18:00:42 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 276 seconds)
18:04:02 × youthlic quits (~Thunderbi@user/youthlic) (Quit: youthlic)
18:05:56 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
18:06:43 Guest75 joins (~Guest75@2600:387:15:1510::a)
18:06:53 Guest3 joins (~Guest75@2600:387:15:1510::a)
18:10:13 × Guest3 quits (~Guest75@2600:387:15:1510::a) (Client Quit)
18:10:13 × Guest75 quits (~Guest75@2600:387:15:1510::a) (Client Quit)
18:10:29 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
18:12:10 Guest75 joins (~Guest75@2600:387:15:2015::9)
18:16:14 stef204 joins (~stef204@user/stef204)
18:16:16 × srazkvt quits (~sarah_@2a01:e0a:483:6900:b6d5:d9cd:2f20:2e49) (Quit: Leaving)
18:17:22 × Guest75 quits (~Guest75@2600:387:15:2015::9) (Quit: Client closed)
18:17:53 Guest75 joins (~Guest75@2600:387:15:2015::9)
18:18:44 × Guest75 quits (~Guest75@2600:387:15:2015::9) (Client Quit)
18:18:50 Guest20 joins (~Guest75@2600:387:15:2015::9)
18:21:21 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
18:22:06 Guest75 joins (~Guest75@2600:387:15:2015::9)
18:22:11 × Guest20 quits (~Guest75@2600:387:15:2015::9) (Write error: Broken pipe)
18:24:46 Guest59 joins (~Guest75@2600:387:15:2015::9)
18:25:47 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
18:28:37 michalz joins (~michalz@185.246.207.221)
18:33:17 × Guest75 quits (~Guest75@2600:387:15:2015::9) (Quit: Client closed)
18:33:38 Guest75 joins (~Guest75@2600:387:15:2015::9)
18:34:56 Guest11 joins (~Guest75@2600:387:15:2015::9)
18:34:58 gioyik joins (~gioyik@gateway/tor-sasl/gioyik)
18:35:00 × Guest75 quits (~Guest75@2600:387:15:2015::9) (Write error: Broken pipe)
18:36:05 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
18:36:55 Guest75 joins (~Guest75@2600:387:15:2015::9)
18:37:01 × Guest11 quits (~Guest75@2600:387:15:2015::9) (Client Quit)
18:40:54 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
18:41:13 × Guest75 quits (~Guest75@2600:387:15:2015::9) (Client Quit)
18:41:34 Guest75 joins (~Guest75@2600:387:15:2015::9)
18:41:52 alexherbo2 joins (~alexherbo@2a02-8440-3217-2c1e-29a2-cb34-a0df-791f.rev.sfr.net)
18:42:12 × Guest75 quits (~Guest75@2600:387:15:2015::9) (Client Quit)
18:42:15 Guest77 joins (~Guest75@2600:387:15:2015::9)
18:49:20 JuanDaugherty joins (~juan@user/JuanDaugherty)
18:51:30 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
18:52:55 × son0p quits (~ff@2800:e2:f80:ee7::1) (Ping timeout: 252 seconds)
18:55:16 masterbuilder joins (~quassel@user/masterbuilder)
18:55:24 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
18:56:04 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
18:56:26 son0p joins (~ff@186.121.18.131)
19:00:40 × Guest77 quits (~Guest75@2600:387:15:2015::9) (Quit: Client closed)
19:01:03 Guest20 joins (~Guest75@2600:387:15:2015::9)
19:01:22 Guest25 joins (~Guest75@2600:387:15:2015::9)
19:01:27 × Guest20 quits (~Guest75@2600:387:15:2015::9) (Write error: Connection reset by peer)
19:02:06 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Ping timeout: 246 seconds)
19:03:41 Guest75 joins (~Guest75@2600:387:15:2015::9)
19:03:43 × Guest25 quits (~Guest75@2600:387:15:2015::9) (Client Quit)
19:04:08 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
19:06:56 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
19:08:04 × Guest75 quits (~Guest75@2600:387:15:2015::9) (Client Quit)
19:08:26 Guest75 joins (~Guest75@2600:387:15:2015::9)
19:08:32 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Ping timeout: 255 seconds)
19:11:21 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
19:11:37 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
19:13:32 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
19:18:17 Sgeo joins (~Sgeo@user/sgeo)
19:22:21 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
19:26:39 × Guest59 quits (~Guest75@2600:387:15:2015::9) (Quit: Client closed)
19:26:39 × Guest75 quits (~Guest75@2600:387:15:2015::9) (Quit: Client closed)
19:26:57 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
19:30:41 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Ping timeout: 252 seconds)
19:33:37 × Square quits (~Square@user/square) (Ping timeout: 252 seconds)
19:37:48 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
19:38:56 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
19:40:05 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
19:40:12 orayn joins (~orayn@user/orayn)
19:42:25 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
19:43:31 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Ping timeout: 252 seconds)
19:53:14 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
19:53:23 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
19:57:15 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
19:57:50 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
19:59:32 machinedgod joins (~machinedg@d50-99-47-73.abhsia.telus.net)
20:01:25 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Ping timeout: 248 seconds)
20:08:39 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
20:13:22 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
20:16:45 × EvanR quits (~EvanR@user/evanr) (Remote host closed the connection)
20:17:05 EvanR joins (~EvanR@user/evanr)
20:18:51 Guest75 joins (~Guest75@2600:387:15:1512::a)
20:24:05 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
20:25:23 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
20:28:55 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 264 seconds)
20:31:28 × gentauro quits (~gentauro@user/gentauro) (Read error: Connection reset by peer)
20:37:09 gentauro joins (~gentauro@user/gentauro)
20:39:30 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
20:43:12 × gioyik quits (~gioyik@gateway/tor-sasl/gioyik) (Quit: WeeChat 4.4.1)
20:43:24 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Ping timeout: 252 seconds)
20:43:44 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
20:43:56 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
20:46:59 × alexherbo2 quits (~alexherbo@2a02-8440-3217-2c1e-29a2-cb34-a0df-791f.rev.sfr.net) (Remote host closed the connection)
20:50:14 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Ping timeout: 255 seconds)
20:50:42 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
20:54:55 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
20:58:20 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Ping timeout: 272 seconds)
20:59:36 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
21:00:28 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
21:00:37 × lxsameer quits (~lxsameer@Serene/lxsameer) (Ping timeout: 248 seconds)
21:01:39 dysthesis joins (~dysthesis@user/dysthesis)
21:03:33 × spew quits (~spew@201.141.102.132) (Quit: spew)
21:04:01 × michalz quits (~michalz@185.246.207.221) (Remote host closed the connection)
21:04:52 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
21:04:55 × anpad quits (~pandeyan@user/anpad) (Quit: ZNC 1.8.2 - https://znc.in)
21:05:17 anpad joins (~pandeyan@user/anpad)
21:06:59 Guest15 joins (~Guest75@2600:387:15:1512::a)
21:07:03 × tolt quits (~weechat-h@li219-154.members.linode.com) (Ping timeout: 252 seconds)
21:07:43 tolt joins (~weechat-h@li219-154.members.linode.com)
21:10:06 × Guest15 quits (~Guest75@2600:387:15:1512::a) (K-Lined)
21:10:06 × Guest75 quits (~Guest75@2600:387:15:1512::a) (K-Lined)
21:10:08 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Read error: Connection reset by peer)
21:10:21 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
21:13:40 × AlexNoo quits (~AlexNoo@5.139.232.94) (Read error: Connection reset by peer)
21:14:57 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Ping timeout: 248 seconds)
21:15:01 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
21:15:06 × AlexZenon quits (~alzenon@5.139.232.94) (Ping timeout: 244 seconds)
21:15:49 AlexNoo joins (~AlexNoo@5.139.232.94)
21:16:42 AlexNoo_ joins (~AlexNoo@178.34.150.250)
21:19:01 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
21:19:18 × dysthesis quits (~dysthesis@user/dysthesis) (Remote host closed the connection)
21:20:17 AlexZenon joins (~alzenon@178.34.150.250)
21:20:19 × AlexNoo quits (~AlexNoo@5.139.232.94) (Ping timeout: 252 seconds)
21:21:06 bert96 joins (~bert@143.58.222.152)
21:21:17 <bert96> hi, im needing help
21:21:48 <bert96> i am wondering if there are people that are currently using the chat, that might be able to help!
21:22:16 <Rembane> bert96: Ask the question and we'll see!
21:22:18 <bert96> im not too good with haskells "do" notation, presumably because even though i understand monads very well
21:22:35 <bert96> that im not good enough to understand what im doing is what monads can do within the do notation
21:23:08 × AlexNoo_ quits (~AlexNoo@178.34.150.250) (Read error: Connection reset by peer)
21:23:10 <bert96> heres the task. i have a kind of "language" which is supposed to be based on linear types, but we can forget that bit for now. it is a "stateful" langage
21:23:23 <bert96> all functions are replaced with stateful opperators
21:23:45 <bert96> they return updated versions of themselves (the linear bit is that the original must not be referenced again, like it is deleted)
21:24:06 <bert96> so instead of having functions that return either other functions, or values
21:24:46 <bert96> ie one input one output, there is always 2 outputs, since it gives the modified "function" (its actually a mix of a function and the first argument, so just like it has 2 "outputs" it has 2 inputs)
21:24:54 <bert96> f s
21:25:06 × AlexZenon quits (~alzenon@178.34.150.250) (Ping timeout: 252 seconds)
21:25:13 <bert96> there is now also a "regularization"
21:25:28 <bert96> as well as returning output, and modified state function, it gives a "loss" which is accrued
21:25:31 <monochrom> If you are not good with "do" notation, you can always stick to >>=
21:25:46 <bert96> do notation is great for this, as it allows the new state and output to be bound into scope easily
21:25:47 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
21:25:59 <bert96> however, i dont like having to also handle the regularizing double
21:26:03 <monochrom> If you are not good with >>= either, then your claim of "I understand monads very well" is busted.
21:26:07 <bert96> i was wondering if choice of monad could do this
21:26:13 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Ping timeout: 248 seconds)
21:26:37 <bert96> i could write something like f s i >>= \ (reg,s',o) -> ...
21:26:49 <bert96> but the idea is that its a deep model, with many state functions
21:27:14 <bert96> and binding the s' and o variables into scope allows the user to put them as inputs easily
21:27:24 <bert96> however, i want all the reg :: Double, to simply be added up
21:27:28 <bert96> and not have to handle this
21:27:42 <bert96> can i do this with choice of some particular monadic behaviour?
21:28:06 <monochrom> Writer (Sum Double) is a monad that can do the addition under the hood.
21:28:14 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
21:28:17 <bert96> awesome!
21:28:49 <bert96> i could write a short example in a paste, so that it could be possible to see how this would translate with use of Writer (Sum Double) ?
21:29:29 AlexNoo joins (~AlexNoo@178.34.150.250)
21:30:39 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
21:31:00 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
21:34:21 <monochrom> % import Control.Monad.Writer ; import Data.Monoid
21:34:21 <yahb2> <no output>
21:34:43 <monochrom> % runWriter (tell (Sum 1.1) >>= \_ -> tell (Sum 2.2))
21:34:43 <yahb2> ((),Sum {getSum = 3.3000000000000003})
21:35:00 <bert96> here https://paste.tomsmeding.com/kbAbNFEZ
21:35:53 <probie> You almost definitely want `Control.Monad.Writer.Strict` if you're working with `Sum Double`
21:36:14 <monochrom> Oh oops yeah.
21:36:19 <monochrom> % :quit
21:36:19 <yahb2> <bye>
21:36:21 × sawilagar quits (~sawilagar@user/sawilagar) (Ping timeout: 248 seconds)
21:36:27 <monochrom> % import Control.Monad.Writer.Strict ; import Data.Monoid
21:36:27 <yahb2> <no output>
21:36:31 <monochrom> % runWriter (tell (Sum 1.1) >>= \_ -> tell (Sum 2.2))
21:36:31 <yahb2> ((),Sum {getSum = 3.3000000000000003})
21:36:34 <monochrom> :)
21:36:57 <monochrom> That paste doesn't type-check.
21:37:48 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Ping timeout: 276 seconds)
21:37:49 <monochrom> Today is one of those days when I join those people who insist that if a program doesn't type-check then it has no semantics.
21:38:06 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
21:38:38 <monochrom> OK fine this one is just the monomorphism restriction.
21:38:55 <bert96> its needing; go :: IO (Reg,(S1,S2),Double)
21:39:32 <bert96> i guess i need actually to have it be Sum not IO though...
21:40:42 <monochrom> use "type Reg = Sum Double" and have "Writer Reg" and use tell for each number. I showed an example.
21:41:12 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
21:42:39 × orayn quits (~orayn@user/orayn) (Quit: Client closed)
21:44:11 <bert96> i have no idea how to do this
21:44:39 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Ping timeout: 260 seconds)
21:44:48 <bert96> what do you mean, have "Writer Reg"
21:45:18 <bert96> IO (Writer Reg,(S1,S2),Double) does not make sense
21:45:37 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
21:45:38 <bert96> how does it maintain the outputs and states as output?
21:45:44 <bert96> i dont get how it typechecks?
21:45:46 <probie> bert96: https://play.haskell.org/saved/9El1Zcec perhaps something like
21:46:06 <bert96> thanks!
21:46:16 AlexZenon joins (~alzenon@178.34.150.250)
21:47:01 × machinedgod quits (~machinedg@d50-99-47-73.abhsia.telus.net) (Ping timeout: 248 seconds)
21:49:06 <bert96> is there a way to compse together the state functions?
21:49:12 <bert96> compose*
21:49:15 ash3en joins (~Thunderbi@2a02:3100:7da1:ca00:1a49:3dad:2797:7373)
21:49:54 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
21:52:06 <bert96> i was thinking of having a HList, but i guess if there is a binary composition function, i can just have a big nested set of pairs
21:52:42 <bert96> maybe its best to just do it in the do scope
21:52:47 <bert96> yeah, i think that was the idea
21:53:07 <bert96> i guess its just sugar on the types
21:53:12 <bert96> ill try and write up what i mean
21:56:38 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
21:58:49 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Read error: Connection reset by peer)
22:01:05 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
22:02:10 <bert96> i cant quite get it to typecheck
22:02:10 <bert96> https://paste.tomsmeding.com/WVRzfdJ5
22:02:52 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
22:03:48 <bert96> ah, its ok, i got it
22:03:49 <bert96> https://paste.tomsmeding.com/JrTnEeWi
22:04:12 <bert96> so yeah, im still wondering about the composition semanticx
22:04:32 <bert96> is there a way to get this looking slightly more like a DSL?
22:04:37 dysthesis joins (~dysthesis@user/dysthesis)
22:04:52 <bert96> loke, loading everything into it, processing it, and then getting it back into the form without the writer visible
22:05:10 <bert96> i guess this basically does that, but its not like, idk. general enough? can you see what im getting at?
22:05:41 <bert96> i guess 'go' kind of resembles a composition function
22:05:52 <bert96> im not sure how to handle "scope" though
22:06:02 <bert96> like, if you have this bivariate associator, thats one thing...
22:06:10 <bert96> idk, maybe you just rewrite the go function
22:06:26 <bert96> instead of trying to use it as a composition... i cant quite get my head round the difference
22:06:45 <bert96> like, because then you can have as many functions as you like, and to do scoping handles all that
22:07:00 × ash3en quits (~Thunderbi@2a02:3100:7da1:ca00:1a49:3dad:2797:7373) (Quit: ash3en)
22:07:15 ash3en joins (~Thunderbi@2a02:3100:7da1:ca00:1a49:3dad:2797:7373)
22:07:18 <bert96> but it kind of then, doesnt seem to meet the criteria of a well formulated DSL, which for some reason i think would have this bivariate composition opperator, i think is a mistaken idea
22:07:59 <bert96> the pair, extends simply to a list, but then the list of states, for example, doesnt easily handle the internal scoping of how these are interrelated
22:08:18 <bert96> i like how the 'do' version like this seems to handle the regularization though
22:08:33 <bert96> its actually one of the nicest use cases for a monad other than IO that iv seen
22:08:49 <bert96> (been coding haskell for almost decades by this point)
22:10:14 <bert96> i guess the closest i could come up with would be replacing the tuple in 'go' with a HList, but then, since it dosent change length, it might as well just be a tuple of whatever length, and the built in syntax handles it all
22:10:33 <bert96> can anyone see anything obvious thats missing from this, if it were to be presented as a "package"
22:10:51 <bert96> or alternatively, just let me know that these considerations parse sensibly
22:11:02 × ash3en quits (~Thunderbi@2a02:3100:7da1:ca00:1a49:3dad:2797:7373) (Client Quit)
22:12:03 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
22:13:19 <bert96> im kind of torn between, rewriting the addReg style do blocks for f and g with a common function
22:13:50 <monochrom> If you also have state then it's "StateT ??? (Writer (Sum Double))" or "WriterT (Sum Double) (State ???)" I don't know which.
22:13:52 <bert96> but that forces the user to put them in a specific type, and i cant tell if thats better or worse than having them have to write these addReg stanzas in
22:14:25 <bert96> monochrom: hmm... im not sure how to use the State monads semantics here
22:14:43 <monochrom> There are multitudes of tutorials on that.
22:14:44 <bert96> do you think that would handle the compositionality considerations im contending with?
22:15:09 <bert96> monochrom: right, but doing them would not result in me being able to answer that question
22:15:37 <bert96> i have about another half hour alloted to this, ill just go with the version as is if i cant figure it out before then
22:15:56 <bert96> id like to get it right though, so any help would really be appreciated
22:16:12 ash3en joins (~Thunderbi@2a02:3100:7da1:ca00:1a49:3dad:2797:7373)
22:16:38 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
22:17:09 <bert96> probie: do you know how to do both the state and the writer bit at the same time?
22:17:17 Sgeo_ joins (~Sgeo@user/sgeo)
22:17:22 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
22:20:10 <bert96> i mean, presumably it would just become more messy
22:23:52 <bert96> ok, iv read, https://wiki.haskell.org/State_Monad
22:24:04 <bert96> but literally, i have no idea how i would write the combination
22:24:35 <bert96> i basically get how the bind function works, but i really have trouble translating that through to an implementation
22:27:28 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
22:28:03 <geekosaur> have you looked at the definition of RWST?
22:28:44 <bert96> https://hackage.haskell.org/package/mtl-2.0.1.0/docs/Control-Monad-RWS-Lazy.html
22:28:47 <bert96> this?
22:28:57 <bert96> seems like it might be basically what im trying to derive?
22:29:02 <bert96> what do you think?
22:29:21 <bert96> might be good to see the example rewritten in this style...
22:29:41 <bert96> the third "reg" value seems to appear in the types of this library
22:31:58 <bert96> wow, if i type
22:31:58 <bert96> https://www.bing.com/search?q=%2bsimple+RWST+example+haskell&filters=rcrse%3a%221%22&FORM=RCRE
22:31:59 <bert96> bings AI just generates the example as the top result1
22:32:18 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
22:33:57 <bert96> im going to see if the GPT can spoonfeed me better than the canadians
22:37:34 <bert96> check this! https://paste.tomsmeding.com/jGhhv4hF
22:37:53 <bert96> chatGPT ftw; https://chatgpt.com/share/12785964-4265-4ac6-b2da-51afb2a42cdd
22:40:11 × ash3en quits (~Thunderbi@2a02:3100:7da1:ca00:1a49:3dad:2797:7373) (Remote host closed the connection)
22:40:24 ash3en joins (~Thunderbi@2a02:3100:7da1:ca00:88f6:37f6:5d31:b10c)
22:42:25 <probie> Does that typecheck?
22:42:44 × ash3en quits (~Thunderbi@2a02:3100:7da1:ca00:88f6:37f6:5d31:b10c) (Client Quit)
22:42:54 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
22:43:58 Feuermagier joins (~Feuermagi@user/feuermagier)
22:44:27 <bert96> idk... it seems to be messing up somehow
22:44:33 Guest75 joins (~Guest75@2600:387:f:a10::6)
22:44:41 Guest8 joins (~Guest75@2600:387:f:a10::6)
22:44:41 <bert96> im not sure if it has made `i' a phantom type by mistake
22:44:56 <bert96> but i cant understand the RWST formalism because of how it handles the i variable anyway
22:46:45 <bert96> yeah, i dont think it qute does it right...
22:46:45 <bert96> https://chatgpt.com/share/12785964-4265-4ac6-b2da-51afb2a42cdd
22:47:02 <bert96> can anyone that actually understands this get it into a form that doesnt confuse me!?
22:47:17 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
22:49:06 <bert96> i get screenblind pretty bad ofter a nasty head injury
22:50:30 × son0p quits (~ff@186.121.18.131) (Quit: Leaving)
22:50:41 <bert96> gona take a break now, if theres a nice typechecking paste when i get back, i will owe you internet prompts
22:53:21 × target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving)
22:56:30 × dysthesis quits (~dysthesis@user/dysthesis) (Remote host closed the connection)
22:58:20 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
23:00:17 <bert96> damn, no code paste
23:00:36 × Guest75 quits (~Guest75@2600:387:f:a10::6) (Quit: Client closed)
23:00:36 × Guest8 quits (~Guest75@2600:387:f:a10::6) (Quit: Client closed)
23:00:49 <bert96> the thing i dont think i get about the state formalism as presented by the RWST monad is how it handles (or fails to handle) composite states
23:00:59 <bert96> i think that what i was doing is different in this regard
23:01:13 <bert96> the situtation seems to use the state repeatedly
23:01:23 <bert96> eg, examples repeatedly incrament the state
23:01:41 Guest75 joins (~Guest75@2600:387:f:a10::6)
23:01:41 <bert96> in my setup, many different states are composed together, and usually only modified once
23:02:01 <bert96> for this reason, i *dont* think that what im trying to do fits into the RWST formalism
23:02:08 <bert96> and that the suggestion is basically a misnomer
23:02:33 <bert96> instead of the monad handling the composition of states, it handles the composition of state updates
23:02:34 × Guest75 quits (~Guest75@2600:387:f:a10::6) (Client Quit)
23:02:41 <bert96> this is clearly not the same
23:02:48 Guest14 joins (~Guest75@2600:387:f:a10::6)
23:02:54 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
23:03:09 <bert96> i have never thought that the state monad does anything much at all
23:03:35 <bert96> its interesting what the GPT managed to do though in terms of refactoring though
23:04:32 <bert96> so after all this deliberation, it seems like this is the accepted version;
23:04:33 <bert96> https://paste.tomsmeding.com/JrTnEeWi
23:04:47 × Guest14 quits (~Guest75@2600:387:f:a10::6) (Client Quit)
23:04:55 Guest75 joins (~Guest75@2600:387:f:a10::6)
23:05:05 <bert96> can anyone say anything before i go, about how this appears in terms of an interface for a stateful paradigm with regularizer?
23:06:01 × Guest75 quits (~Guest75@2600:387:f:a10::6) (Write error: Connection reset by peer)
23:06:30 <bert96> ok, thats me offskis then. thanks for your help this evening
23:06:33 × bert96 quits (~bert@143.58.222.152) (Quit: Connection closed)
23:09:36 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Ping timeout: 252 seconds)
23:09:57 <monochrom> I was suspecting that they were fishing for solutions instead of wanting to learn. The use of chatgpt proved it.
23:10:40 <monochrom> But the first sign was when I pointed out "there are multitudes of tutorials" they were like "but that won't answer my question".
23:11:32 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
23:13:45 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
23:15:37 <monochrom> Also one more data point for the negative correlation between understanding and claiming "I understand".
23:18:56 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
23:19:04 × Tuplanolla quits (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.)
23:20:32 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Read error: Connection reset by peer)
23:22:30 Guest75 joins (~Guest75@2600:387:f:a10::6)
23:25:03 × oo_miguel quits (~Thunderbi@78.10.207.45) (Ping timeout: 276 seconds)
23:25:51 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
23:26:47 × Guest75 quits (~Guest75@2600:387:f:a10::6) (Client Quit)
23:28:46 <jle`> i have had 0 luck with chatgpt and haskell ever
23:29:12 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
23:33:41 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
23:44:38 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
23:46:58 <probie> Sometimes I tempted to sign up so I can see what kind of garbage ChatGPT generates
23:48:20 <probie> s/I tempted/I'm tempted/
23:51:52 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
23:54:10 acidjnk_new joins (~acidjnk@p200300d6e72cfb47bd23b15f512db0bf.dip0.t-ipconnect.de)
23:57:09 × acidjnk quits (~acidjnk@p200300d6e72cfb47c979cc4d7a117a71.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
23:59:39 bilegeek joins (~bilegeek@2600:1008:b007:52b2:99e1:c3bf:c468:921)

All times are in UTC on 2024-08-25.