Home liberachat/#haskell: Logs Calendar

Logs on 2023-08-03 (liberachat/#haskell)

00:00:32 bilegeek joins (~bilegeek@2600:1008:b0aa:6b7:3881:3aff:a670:ed17)
00:02:02 × califax quits (~califax@user/califx) (Remote host closed the connection)
00:03:11 × oo_miguel quits (~Thunderbi@78-11-179-96.static.ip.netia.com.pl) (Ping timeout: 260 seconds)
00:03:30 califax joins (~califax@user/califx)
00:04:39 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
00:06:03 jero98772 joins (~jero98772@2800:484:1d84:300::7)
00:08:02 × Lycurgus quits (~juan@user/Lycurgus) (Quit: Tschüss)
00:11:22 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
00:16:47 × iteratee quits (~kyle@162.218.222.207) (Ping timeout: 264 seconds)
00:26:03 arahael joins (~arahael@124-149-31-4.dyn.iinet.net.au)
00:31:45 × arahael quits (~arahael@124-149-31-4.dyn.iinet.net.au) (Ping timeout: 246 seconds)
00:34:26 × califax quits (~califax@user/califx) (Remote host closed the connection)
00:34:47 califax joins (~califax@user/califx)
00:37:46 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
00:41:34 × libertyprime quits (~libertypr@203.96.203.44) (Quit: leaving)
00:42:52 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
00:49:36 × mima quits (~mmh@aftr-82-135-83-22.dynamic.mnet-online.de) (Ping timeout: 246 seconds)
00:53:42 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection)
00:53:49 iteratee joins (~kyle@162.218.222.207)
00:54:30 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
00:59:59 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 264 seconds)
01:01:21 × iteratee quits (~kyle@162.218.222.207) (Read error: Connection reset by peer)
01:04:26 × jero98772 quits (~jero98772@2800:484:1d84:300::7) (Ping timeout: 260 seconds)
01:04:49 arahael joins (~arahael@124-149-31-4.dyn.iinet.net.au)
01:05:55 iteratee joins (~kyle@162.218.222.207)
01:08:41 yangby joins (~secret@115.220.173.23)
01:09:41 × arahael quits (~arahael@124-149-31-4.dyn.iinet.net.au) (Ping timeout: 260 seconds)
01:11:16 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:12:06 razetime joins (~quassel@117.254.36.99)
01:17:22 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:17:28 jero98772 joins (~jero98772@2800:484:1d84:300::7)
01:23:12 × ft quits (~ft@p3e9bccf3.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
01:24:56 ft joins (~ft@p3e9bcfc2.dip0.t-ipconnect.de)
01:28:56 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:1c8b:d3c2:7cf7:a248) (Remote host closed the connection)
01:30:04 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
01:31:57 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 246 seconds)
01:34:45 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
01:35:22 × ft quits (~ft@p3e9bcfc2.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
01:36:47 ft joins (~ft@p4fc2a958.dip0.t-ipconnect.de)
01:38:51 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
01:38:52 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
01:38:52 wroathe joins (~wroathe@user/wroathe)
01:42:39 <shapr> Anyone else attending ICFP this year in Seattle?
01:42:46 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:4c71:241e:cb2d:450f)
01:44:36 × ft quits (~ft@p4fc2a958.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
01:46:34 ft joins (~ft@p4fc2af2e.dip0.t-ipconnect.de)
01:47:42 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
01:48:03 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 246 seconds)
01:48:18 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
01:52:09 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
01:54:00 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
02:01:28 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:4c71:241e:cb2d:450f) (Remote host closed the connection)
02:01:46 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:4c71:241e:cb2d:450f)
02:02:53 × thegeekinside quits (~thegeekin@189.141.65.87) (Remote host closed the connection)
02:06:12 × codaraxis quits (~codaraxis@user/codaraxis) (Ping timeout: 245 seconds)
02:07:08 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
02:12:09 × jmorris quits (uid604645@id-604645.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
02:12:54 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
02:13:52 × jero98772 quits (~jero98772@2800:484:1d84:300::7) (Ping timeout: 240 seconds)
02:15:26 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
02:16:03 <jackdk> shapr: one particularly annoying thing with the cursor types I've been playing with is that I don't have a "one-past-the-end" cursor
02:20:41 × hsw quits (~hsw@2001-b030-2303-0104-0172-0025-0012-0132.hinet-ip6.hinet.net) (Quit: Leaving)
02:22:46 <probie> jackdk: I'm not quite sure what you're asking re parser combinators on zippers
02:22:54 thegeekinside joins (~thegeekin@189.141.65.87)
02:23:24 × xff0x quits (~xff0x@2405:6580:b080:900:2834:8e1:175:69e4) (Ping timeout: 246 seconds)
02:23:37 <glguy> jackdk: my config-schema library has a kind of parser-combinators on trees for matching configuration values (kind of like json) to Haskell values
02:25:16 <jackdk> probie: the classic parser monad is like`newtype Parser a = Parser (String -> Maybe (String, a))`, right? And so you "move along" the input stream (except you throw away the characters you've consumed. What if instead, you made a monad like `newtype CursorParser a = CursorParser (Cursor -> Maybe (Cursor, a))`? This seems to get me a lot of what I want with `$CURRENT_WORK_PROBLEM`
02:25:57 jero98772 joins (~jero98772@2800:484:1d84:300::7)
02:26:39 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:4c71:241e:cb2d:450f) (Remote host closed the connection)
02:27:15 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
02:27:53 <jackdk> But, I can write `eof :: Parser ()` which succeeds iff the input stream is empty. But the zipper library I've been playing has cursors points at a specific node, so writing an `eof`-equivalent is more annoying.
02:28:09 <probie> And you're walking some arbitrary tree structure?
02:28:17 × thegeekinside quits (~thegeekin@189.141.65.87) (Remote host closed the connection)
02:28:55 <jackdk> yeah some slightly-more-structured-than-normal HTML
02:30:01 <jackdk> and so I want to do something like walk all the first-level children of the document and parse each.
02:30:29 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 246 seconds)
02:31:51 eggplantade joins (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net)
02:31:54 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
02:34:43 <probie> So does that mean some of your combinators are ones which "uncons" (i.e move the cursor back to a place you've already been when you're not backtracking due to failure)?
02:35:27 × flounders quits (~flounders@24.246.133.1) (Ping timeout: 260 seconds)
02:38:29 <probie> either way, I can't think of any relevant literature, I'm just curious about the problem
02:38:57 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 260 seconds)
02:39:32 × td_ quits (~td@i53870902.versanet.de) (Ping timeout: 245 seconds)
02:40:36 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
02:40:36 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
02:40:36 dibblego joins (~dibblego@haskell/developer/dibblego)
02:41:33 td_ joins (~td@i5387091A.versanet.de)
02:41:52 × waleee quits (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) (Ping timeout: 260 seconds)
02:42:29 × eggplantade quits (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
02:42:30 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
02:42:30 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
02:42:30 wroathe joins (~wroathe@user/wroathe)
02:44:57 <jackdk> The library makes the assumption that the function `current :: Cursor -> Node` exists, whereas I think i want to allow valid cursors to not point to nodes. You could also think of it as wanting to let a cursor point to child element as well as the nil at the end of the list
02:51:25 <probie> So if I've got `<foo><bar/><baz/></foo>`, how many children can I walk to from `foo`? 2 (bar and baz), 3 (bar, baz and null) or 4 (left null, bar, baz and right null)?
02:53:49 lisbeths joins (uid135845@id-135845.lymington.irccloud.com)
02:55:21 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:4c71:241e:cb2d:450f)
02:58:58 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
02:58:58 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
02:58:58 finn_elija is now known as FinnElija
03:01:24 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
03:02:05 <jackdk> the library I'm using says 2, I'd like to say 3. You also avoid the need for specific "insertBefore" vs "insertAfter" if you do this; your single "insert" can be "insertBefore" if you allow your cursor to move to one-past-the-end
03:06:19 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:4c71:241e:cb2d:450f) (Remote host closed the connection)
03:07:12 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:4c71:241e:cb2d:450f)
03:07:29 xff0x joins (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp)
03:12:04 thegeekinside joins (~thegeekin@189.141.65.87)
03:14:51 × finnekit quits (~finnekit@fsf/member/finnekit) (Quit: The Lounge - https://thelounge.chat)
03:15:56 finnekit joins (~finnekit@fsf/member/finnekit)
03:19:09 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
03:24:24 × jero98772 quits (~jero98772@2800:484:1d84:300::7) (Ping timeout: 260 seconds)
03:25:17 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
03:29:18 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
03:29:18 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
03:29:18 dibblego joins (~dibblego@haskell/developer/dibblego)
03:33:30 <shapr> jackdk: any connection to finger trees?
03:34:53 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
03:36:58 jero98772 joins (~jero98772@2800:484:1d84:300::7)
03:39:32 <jackdk> not that I've thought about
03:39:42 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
03:40:07 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 244 seconds)
03:42:56 × Square2 quits (~Square@user/square) (Ping timeout: 245 seconds)
03:45:15 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
03:45:15 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
03:45:15 dibblego joins (~dibblego@haskell/developer/dibblego)
03:48:33 codaraxis joins (~codaraxis@user/codaraxis)
03:50:04 × vglfr quits (~vglfr@cli-188-239-209-89.bbn.slav.dn.ua) (Ping timeout: 260 seconds)
03:50:23 vglfr joins (~vglfr@2a0d:3344:1450:5d00:ec71:c881:af37:28e4)
03:50:29 trev joins (~trev@user/trev)
03:51:57 × thegeekinside quits (~thegeekin@189.141.65.87) (Ping timeout: 246 seconds)
03:54:00 rnat joins (uid73555@id-73555.lymington.irccloud.com)
03:56:57 × phma quits (phma@2001:5b0:211c:3428:5de8:9713:6f88:93ce) (Read error: Connection reset by peer)
03:57:07 × vglfr quits (~vglfr@2a0d:3344:1450:5d00:ec71:c881:af37:28e4) (Ping timeout: 260 seconds)
03:57:28 phma joins (~phma@2001:5b0:211c:3428:4010:7349:818e:e0c8)
03:57:48 vglfr joins (~vglfr@cli-188-239-209-89.bbn.slav.dn.ua)
04:00:22 × ddellacosta quits (~ddellacos@146.70.168.10) (Ping timeout: 250 seconds)
04:00:28 aforemny joins (~aforemny@2001:9e8:6cd9:d700:4114:3685:1754:c122)
04:00:42 × aforemny_ quits (~aforemny@2001:9e8:6cee:8c00:a343:dfed:b4a9:34ef) (Ping timeout: 246 seconds)
04:00:58 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 240 seconds)
04:01:26 ec joins (~ec@gateway/tor-sasl/ec)
04:03:28 libertyprime joins (~libertypr@203.96.203.44)
04:08:14 _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl)
04:09:28 × razetime quits (~quassel@117.254.36.99) (Ping timeout: 250 seconds)
04:09:45 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
04:10:51 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
04:12:36 × shapr quits (~user@2600:1700:c640:3100:3ee3:4baf:9e91:b42d) (Ping timeout: 246 seconds)
04:15:11 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 260 seconds)
04:16:29 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
04:16:29 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
04:16:29 dibblego joins (~dibblego@haskell/developer/dibblego)
04:30:44 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 246 seconds)
04:34:27 × jero98772 quits (~jero98772@2800:484:1d84:300::7) (Ping timeout: 260 seconds)
04:41:28 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
04:44:11 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 245 seconds)
04:45:20 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
04:45:20 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
04:45:20 dibblego joins (~dibblego@haskell/developer/dibblego)
04:47:31 jero98772 joins (~jero98772@2800:484:1d84:300::7)
04:50:41 razetime joins (~quassel@117.254.36.99)
04:52:51 × libertyprime quits (~libertypr@203.96.203.44) (Ping timeout: 246 seconds)
04:54:33 glguy is now known as glguy[m]
04:55:05 idgaen joins (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
04:56:11 gurkenglas joins (~gurkengla@46.114.94.168)
04:58:27 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
04:59:58 × marinelli quits (~weechat@gateway/tor-sasl/marinelli) (Quit: marinelli)
05:03:54 glguy[m] is now known as glguy[i]
05:06:04 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
05:06:04 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
05:06:04 dibblego joins (~dibblego@haskell/developer/dibblego)
05:11:09 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 260 seconds)
05:13:28 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
05:13:28 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
05:13:28 dibblego joins (~dibblego@haskell/developer/dibblego)
05:16:43 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
05:20:04 bgs joins (~bgs@212-85-160-171.dynamic.telemach.net)
05:21:52 × Putonlalla quits (~Putonlall@it-cyan.it.jyu.fi) (Ping timeout: 240 seconds)
05:22:21 Putonlalla joins (~Putonlall@it-cyan.it.jyu.fi)
05:22:23 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
05:24:36 × jero98772 quits (~jero98772@2800:484:1d84:300::7) (Ping timeout: 260 seconds)
05:27:29 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 260 seconds)
05:28:07 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
05:28:52 × _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Remote host closed the connection)
05:30:58 × yangby quits (~secret@115.220.173.23) (Ping timeout: 252 seconds)
05:32:56 yangby joins (~secret@183.157.65.111)
05:34:06 arahael joins (~arahael@124-149-31-4.dyn.iinet.net.au)
05:37:41 Lycurgus joins (~juan@user/Lycurgus)
05:39:12 × arahael quits (~arahael@124-149-31-4.dyn.iinet.net.au) (Ping timeout: 260 seconds)
05:42:49 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
05:42:49 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
05:42:49 dibblego joins (~dibblego@haskell/developer/dibblego)
05:43:29 oo_miguel joins (~Thunderbi@78-11-179-96.static.ip.netia.com.pl)
05:53:28 × incertia quits (~incertia@209.122.71.127) (Ping timeout: 250 seconds)
05:55:35 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
05:56:22 incertia joins (~incertia@209.122.71.127)
05:57:49 × biberu quits (~biberu@user/biberu) (Ping timeout: 260 seconds)
05:57:57 biberu\ joins (~biberu@user/biberu)
05:59:22 biberu\ is now known as biberu
06:02:28 CiaoSen joins (~Jura@2a05:5800:2ab:9c00:664b:f0ff:fe37:9ef)
06:04:23 jespada joins (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net)
06:05:33 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
06:07:12 tornato joins (uid197568@id-197568.tinside.irccloud.com)
06:09:25 × Lycurgus quits (~juan@user/Lycurgus) (Quit: Tschüss)
06:10:46 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 258 seconds)
06:12:14 × bramhaag quits (~bramhaag@134.195.121.39) (Quit: The Lounge - https://thelounge.chat)
06:12:15 × finnekit quits (~finnekit@fsf/member/finnekit) (Quit: The Lounge - https://thelounge.chat)
06:14:28 × bgs quits (~bgs@212-85-160-171.dynamic.telemach.net) (Remote host closed the connection)
06:16:40 × gurkenglas quits (~gurkengla@46.114.94.168) (Ping timeout: 244 seconds)
06:23:01 misterfish joins (~misterfis@84-53-85-146.bbserv.nl)
06:24:00 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
06:37:36 simikando joins (~simikando@adsl-dyn-104.95-102-88.t-com.sk)
06:38:38 × azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 240 seconds)
06:41:59 × simikando quits (~simikando@adsl-dyn-104.95-102-88.t-com.sk) (Ping timeout: 246 seconds)
06:43:31 × rnat quits (uid73555@id-73555.lymington.irccloud.com) (Quit: Connection closed for inactivity)
06:48:43 takuan joins (~takuan@178-116-218-225.access.telenet.be)
06:54:36 × ph88 quits (~ph88@ip5b403cd4.dynamic.kabel-deutschland.de) (Ping timeout: 245 seconds)
06:58:49 <feetwind> has anyone done anything like make Index.hs or Mod.hs or whatever a way to specify a parent module a la es6 imports or rust? something that's always just mildly annoyed me with haskell module hierarchies
06:59:39 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
07:00:03 titibandit joins (~titibandi@user/titibandit)
07:00:21 zer0bitz_ joins (~zer0bitz@user/zer0bitz)
07:00:33 × califax quits (~califax@user/califx) (Remote host closed the connection)
07:00:56 califax joins (~califax@user/califx)
07:00:57 × misterfish quits (~misterfis@84-53-85-146.bbserv.nl) (Ping timeout: 246 seconds)
07:01:59 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Ping timeout: 260 seconds)
07:01:59 × MonsoonSecrecy quits (f78c86e960@2604:bf00:561:2000::f99) (Ping timeout: 260 seconds)
07:01:59 × shreyasminocha quits (51fdc93eda@2604:bf00:561:2000::108) (Ping timeout: 260 seconds)
07:01:59 × evanrelf quits (3addc196af@2604:bf00:561:2000::f0) (Ping timeout: 260 seconds)
07:01:59 × n1essa quits (3d621153a5@2604:bf00:561:2000::df7) (Ping timeout: 260 seconds)
07:01:59 × p3n quits (~p3n@2a00:19a0:3:7c:0:d9c6:7cf6:1) (Ping timeout: 260 seconds)
07:02:27 lortabac joins (~lortabac@2a01:e0a:50d:8d40:8216:268c:40d7:b242)
07:02:34 × filwisher quits (2e6936c793@2604:bf00:561:2000::170) (Ping timeout: 260 seconds)
07:02:34 × sm2n quits (ae95cb1267@2604:bf00:561:2000::109) (Ping timeout: 260 seconds)
07:02:34 × rselim quits (ce261f06ff@2604:bf00:561:2000::257) (Ping timeout: 260 seconds)
07:02:34 × retropikzel quits (9d1a4f9f46@2604:bf00:561:2000::ce) (Ping timeout: 260 seconds)
07:02:34 × lukec quits (9dfd4d094e@2604:bf00:561:2000::10e) (Ping timeout: 260 seconds)
07:02:52 haasn- joins (~nand@haasn.dev)
07:02:53 p3n joins (~p3n@2a00:19a0:3:7c:0:d9c6:7cf6:1)
07:02:58 glguy joins (~glguy@libera/staff-emeritus/glguy)
07:03:02 orcus- joins (~orcus@mail.brprice.uk)
07:03:09 × orcus quits (~orcus@mail.brprice.uk) (Ping timeout: 260 seconds)
07:03:09 × probie quits (cc0b34050a@user/probie) (Ping timeout: 260 seconds)
07:03:09 × jakzale quits (6291399afa@2604:bf00:561:2000::1e4) (Ping timeout: 260 seconds)
07:03:09 × Ankhers quits (e99e97ef8e@2604:bf00:561:2000::2a2) (Ping timeout: 260 seconds)
07:03:09 × chaitlatte0 quits (ea29c0bb16@2604:bf00:561:2000::1124) (Ping timeout: 260 seconds)
07:03:09 × samhh quits (7569f027cf@2604:bf00:561:2000::e4) (Ping timeout: 260 seconds)
07:03:09 × cpli quits (77fc530071@2604:bf00:561:2000::252) (Ping timeout: 260 seconds)
07:03:09 × sus quits (1b7af6299f@2604:bf00:561:2000::1087) (Ping timeout: 260 seconds)
07:03:09 × arcadewise quits (52968ed80d@2604:bf00:561:2000::3df) (Ping timeout: 260 seconds)
07:03:09 × fluffyballoon quits (45ce440a48@2604:bf00:561:2000::e2) (Ping timeout: 260 seconds)
07:03:09 × bsima1 quits (9d7e39c8ad@2604:bf00:561:2000::dd) (Ping timeout: 260 seconds)
07:03:09 × Guest8948 quits (ea769b8000@2604:bf00:561:2000::242) (Ping timeout: 260 seconds)
07:03:09 × yushyin quits (f4a8hbfH0Q@mail.karif.server-speed.net) (Ping timeout: 260 seconds)
07:03:09 × mtjm quits (~mutantmel@2604:a880:2:d0::208b:d001) (Ping timeout: 260 seconds)
07:03:44 × haasn` quits (~nand@haasn.dev) (Ping timeout: 260 seconds)
07:03:44 × whereiseveryone quits (206ba86c98@2604:bf00:561:2000::2e4) (Ping timeout: 260 seconds)
07:03:44 × hays quits (rootvegeta@fsf/member/hays) (Ping timeout: 260 seconds)
07:03:44 × zer0bitz quits (~zer0bitz@user/zer0bitz) (Ping timeout: 260 seconds)
07:03:44 × fvr quits (ef3e56ca8b@2604:bf00:561:2000::3c4) (Ping timeout: 260 seconds)
07:03:44 × jleightcap quits (7bc4014b62@2604:bf00:561:2000::2cc) (Ping timeout: 260 seconds)
07:03:44 × b0o quits (0e4a0bf4c9@2604:bf00:561:2000::1bf) (Ping timeout: 260 seconds)
07:03:44 × JoelMcCracken quits (5ea8252fbb@2604:bf00:561:2000::10e3) (Ping timeout: 260 seconds)
07:03:44 × henrytill quits (e0180937c3@2604:bf00:561:2000::e8c) (Ping timeout: 260 seconds)
07:03:44 × theesm quits (2cbdf4b38a@2604:bf00:561:2000::11c8) (Ping timeout: 260 seconds)
07:03:44 × ymherklotz quits (cb2c9cfbdd@2604:bf00:561:2000::29a) (Ping timeout: 260 seconds)
07:03:44 × jkoshy quits (99b9359beb@2604:bf00:561:2000::10f) (Ping timeout: 260 seconds)
07:03:44 × ggb quits (a62ffbaf4f@2604:bf00:561:2000::3ac) (Ping timeout: 260 seconds)
07:03:44 × glguy[i] quits (~glguy@libera/staff-emeritus/glguy) (Ping timeout: 260 seconds)
07:03:44 × Angelz quits (Angelz@angelz.oddprotocol.org) (Ping timeout: 260 seconds)
07:03:44 × heartburn quits (~gass@2a00:d880:3:1::b1e4:b241) (Ping timeout: 260 seconds)
07:04:15 Ankhers joins (e99e97ef8e@2604:bf00:561:2000::2a2)
07:04:16 sm2n joins (ae95cb1267@user/sm2n)
07:04:16 n1essa joins (3d621153a5@2604:bf00:561:2000::df7)
07:04:18 rselim joins (ce261f06ff@2604:bf00:561:2000::257)
07:04:18 shreyasminocha joins (51fdc93eda@user/shreyasminocha)
07:04:19 cpli joins (77fc530071@2604:bf00:561:2000::252)
07:04:19 MonsoonSecrecy joins (f78c86e960@2604:bf00:561:2000::f99)
07:04:19 filwisher joins (2e6936c793@2604:bf00:561:2000::170)
07:04:19 bsima1 joins (9d7e39c8ad@2604:bf00:561:2000::dd)
07:04:20 lukec joins (9dfd4d094e@2604:bf00:561:2000::10e)
07:04:20 retropikzel joins (9d1a4f9f46@2604:bf00:561:2000::ce)
07:04:24 arcadewise joins (52968ed80d@2604:bf00:561:2000::3df)
07:04:25 probie joins (cc0b34050a@user/probie)
07:04:25 sus joins (1b7af6299f@user/zeromomentum)
07:04:25 fluffyballoon joins (45ce440a48@2604:bf00:561:2000::e2)
07:04:25 jakzale joins (6291399afa@user/jakzale)
07:04:25 samhh joins (7569f027cf@2604:bf00:561:2000::e4)
07:04:26 chaitlatte0 joins (ea29c0bb16@user/chaitlatte0)
07:05:33 cheater_ joins (~Username@user/cheater)
07:05:44 heartburn joins (~gass@2a00:d880:3:1::b1e4:b241)
07:06:06 jleightcap joins (7bc4014b62@user/jleightcap)
07:06:07 theesm joins (2cbdf4b38a@2604:bf00:561:2000::11c8)
07:06:08 × thelounge793 quits (~thelounge@95.179.128.119) (Quit: Ping timeout (120 seconds))
07:06:08 mtjm joins (~mutantmel@2604:a880:2:d0::208b:d001)
07:06:08 henrytill joins (e0180937c3@2604:bf00:561:2000::e8c)
07:06:11 fvr joins (ef3e56ca8b@2604:bf00:561:2000::3c4)
07:06:14 JoelMcCracken joins (5ea8252fbb@2604:bf00:561:2000::10e3)
07:06:20 jkoshy joins (99b9359beb@user/jkoshy)
07:06:25 thelounge793 joins (~thelounge@2a05:f480:1400:24b2:5400:4ff:fe76:a8f3)
07:07:27 michalz joins (~michalz@185.246.207.197)
07:07:30 acidjnk_new joins (~acidjnk@p200300d6e7072f97d0a51586a4fa6f31.dip0.t-ipconnect.de)
07:07:49 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Ping timeout: 260 seconds)
07:07:49 × cheater quits (~Username@user/cheater) (Ping timeout: 260 seconds)
07:07:59 cheater_ is now known as cheater
07:08:23 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
07:10:03 mncheck joins (~mncheck@193.224.205.254)
07:14:29 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
07:15:04 Angelz joins (Angelz@2605:6400:30:fc15:d55b:fa6c:bd14:9973)
07:15:58 evanrelf joins (3addc196af@2604:bf00:561:2000::f0)
07:16:03 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
07:16:07 raghavgururajan joins (ea769b8000@user/raghavgururajan)
07:16:12 ggb joins (a62ffbaf4f@2604:bf00:561:2000::3ac)
07:16:12 whereiseveryone joins (206ba86c98@2604:bf00:561:2000::2e4)
07:16:13 ymherklotz joins (cb2c9cfbdd@2604:bf00:561:2000::29a)
07:16:14 b0o joins (0e4a0bf4c9@2604:bf00:561:2000::1bf)
07:16:21 × mauke quits (~mauke@user/mauke) (Ping timeout: 246 seconds)
07:16:54 yushyin joins (lalptp8DQk@mail.karif.server-speed.net)
07:17:50 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
07:17:52 × kupi quits (uid212005@id-212005.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
07:18:25 gurkenglas joins (~gurkengla@dynamic-046-114-095-165.46.114.pool.telefonica.de)
07:18:32 ubert1 joins (~Thunderbi@178.115.75.231)
07:20:06 chele joins (~chele@user/chele)
07:20:12 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 246 seconds)
07:20:54 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 246 seconds)
07:22:17 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
07:22:17 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
07:22:17 dibblego joins (~dibblego@haskell/developer/dibblego)
07:22:51 MajorBiscuit joins (~MajorBisc@c-001-028-006.client.tudelft.eduvpn.nl)
07:24:20 fendor joins (~fendor@2a02:8388:1640:be00:1f28:32b1:54ac:a932)
07:24:46 × bilegeek quits (~bilegeek@2600:1008:b0aa:6b7:3881:3aff:a670:ed17) (Quit: Leaving)
07:25:15 × MajorBiscuit quits (~MajorBisc@c-001-028-006.client.tudelft.eduvpn.nl) (Client Quit)
07:29:26 × sgarcia quits (sgarcia@swarm.znchost.com) (Quit: Hosted by www.ZNCHost.com)
07:29:40 × phileasfogg quits (~phileasfo@user/phileasfogg) (Quit: "It's the only way, then they can all forget me. I got too big, Dorium, too noisy. Time to step back into the shadows.")
07:30:25 sgarcia joins (sgarcia@swarm.znchost.com)
07:31:14 rumraisin joins (~phileasfo@user/phileasfogg)
07:31:29 rumraisin is now known as phileasfogg
07:31:31 mc47 joins (~mc47@xmonad/TheMC47)
07:32:00 × nullsh quits (nullsh@user/nexeq) (Ping timeout: 252 seconds)
07:32:23 MajorBiscuit joins (~MajorBisc@145.90.38.199)
07:32:41 mima joins (~mmh@aftr-82-135-83-150.dynamic.mnet-online.de)
07:33:06 × lottaquestions_ quits (~nick@2607:fa49:503d:b200:6257:f623:94d5:3fe3) (Remote host closed the connection)
07:34:01 lottaquestions_ joins (~nick@2607:fa49:503d:b200:3f9:96d9:976e:1fc6)
07:41:08 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
07:44:29 nullsh joins (nullsh@user/nexeq)
07:45:00 cfricke joins (~cfricke@user/cfricke)
07:49:09 × shriekingnoise quits (~shrieking@186.137.175.87) (Ping timeout: 244 seconds)
07:50:10 <dminuoso> feetwind: Can you elaborate on what you mean by "make Index.hs or Mod.hs"?
07:50:29 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
07:50:35 <dminuoso> If anything, I consider the rigid module structure of Haskell a good thiing.
07:52:09 gmg joins (~user@user/gehmehgeh)
07:53:50 × califax quits (~califax@user/califx) (Remote host closed the connection)
07:54:16 vpan joins (~0@mail.elitnet.lt)
07:54:53 califax joins (~califax@user/califx)
07:56:18 <probie> dminuoso: I think they mean someting like `module Foo (module X) where; import Foo.Bar as X; import Foo.Baz as X`
07:57:34 <feetwind> nah I just mean being able to have e.g. lib/Foo/Bar/Baz/{mod.hs,A} mean the modules Foo.Bar.Baz and Foo.Bar.Baz.A instead of needing lib/Foo/Bar/{Baz.hs,Baz/A.hs}
07:59:03 <feetwind> it's a very minor quibble, i just like the fewer redundant names in my directory structure in my rust projects
08:01:14 misterfish joins (~misterfis@87.215.131.102)
08:01:22 <feetwind> as in rust, es6, or python's mod.rs, index.js, or __init__.py files respectively
08:02:16 briandaed joins (~briandaed@185.234.210.211.r.toneticgroup.pl)
08:05:33 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:4c71:241e:cb2d:450f) (Remote host closed the connection)
08:07:11 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 264 seconds)
08:10:56 danza joins (~francesco@151.19.228.50)
08:11:31 × danza quits (~francesco@151.19.228.50) (Remote host closed the connection)
08:14:08 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
08:14:14 simikando joins (~simikando@adsl-dyn-104.95-102-88.t-com.sk)
08:18:58 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
08:20:47 × razetime quits (~quassel@117.254.36.99) (Ping timeout: 260 seconds)
08:21:27 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
08:23:20 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 252 seconds)
08:26:28 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
08:26:28 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
08:26:28 dibblego joins (~dibblego@haskell/developer/dibblego)
08:27:48 codaraxis__ joins (~codaraxis@user/codaraxis)
08:28:23 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
08:29:32 × codaraxis quits (~codaraxis@user/codaraxis) (Ping timeout: 260 seconds)
08:31:21 razetime joins (~quassel@117.254.36.99)
08:32:23 danse-nr3 joins (~francesco@151.19.228.50)
08:33:16 × danse-nr3 quits (~francesco@151.19.228.50) (Remote host closed the connection)
08:33:21 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 245 seconds)
08:34:52 danse-nr3 joins (~francesco@151.19.228.50)
08:35:36 coot joins (~coot@89-69-206-216.dynamic.chello.pl)
08:35:46 × danse-nr3 quits (~francesco@151.19.228.50) (Remote host closed the connection)
08:35:54 mmhat joins (~mmh@p200300f1c73d19d6ee086bfffe095315.dip0.t-ipconnect.de)
08:41:07 × tornato quits (uid197568@id-197568.tinside.irccloud.com) (Quit: Connection closed for inactivity)
08:44:36 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 245 seconds)
08:45:14 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 260 seconds)
08:45:17 × aforemny quits (~aforemny@2001:9e8:6cd9:d700:4114:3685:1754:c122) (Ping timeout: 260 seconds)
08:45:28 Pickchea joins (~private@user/pickchea)
08:46:26 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
08:46:29 danse-nr3 joins (~francesco@151.19.228.50)
08:47:34 × danse-nr3 quits (~francesco@151.19.228.50) (Remote host closed the connection)
08:48:12 danse-nr3 joins (~francesco@151.19.228.50)
08:48:25 aforemny joins (~aforemny@2001:9e8:6cde:900:a720:64c8:17d6:6ec3)
08:50:04 × danse-nr3 quits (~francesco@151.19.228.50) (Remote host closed the connection)
08:50:35 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
08:50:35 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
08:50:35 dibblego joins (~dibblego@haskell/developer/dibblego)
08:51:39 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 260 seconds)
08:52:51 × ubert1 quits (~Thunderbi@178.115.75.231) (Quit: ubert1)
08:53:27 × lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity)
08:53:51 bramhaag joins (~bramhaag@134.195.121.39)
08:54:11 finnekit joins (~finnekit@fsf/member/finnekit)
08:56:12 × ft quits (~ft@p4fc2af2e.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
08:58:12 __monty__ joins (~toonn@user/toonn)
08:58:18 ft joins (~ft@p3e9bc0cd.dip0.t-ipconnect.de)
09:00:05 × stites[m] quits (~stitesbee@2001:470:69fc:105::3:7bdc) (Remote host closed the connection)
09:03:22 × ft quits (~ft@p3e9bc0cd.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
09:04:22 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
09:05:20 × mmhat quits (~mmh@p200300f1c73d19d6ee086bfffe095315.dip0.t-ipconnect.de) (Quit: WeeChat 4.0.2)
09:06:02 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:4c71:241e:cb2d:450f)
09:09:07 kuribas joins (~user@ip-188-118-57-242.reverse.destiny.be)
09:09:14 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 244 seconds)
09:10:54 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:4c71:241e:cb2d:450f) (Ping timeout: 260 seconds)
09:15:11 danse-nr3 joins (~francesco@151.19.228.50)
09:22:02 × simikando quits (~simikando@adsl-dyn-104.95-102-88.t-com.sk) (Ping timeout: 260 seconds)
09:27:15 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
09:32:03 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
09:32:36 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
09:35:01 × califax quits (~califax@user/califx) (Quit: ZNC 1.8.2 - https://znc.in)
09:35:16 califax joins (~califax@user/califx)
09:37:44 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 260 seconds)
09:43:00 sayola joins (~sayola@2a00:20:b047:ebf2:edae:316a:6fef:1523)
09:43:54 <kuribas> Do you think hkd types should be avoided in production code?
09:44:05 <kuribas> Even if they help you avoid boilerplate?
09:46:30 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
09:46:31 × finnekit quits (~finnekit@fsf/member/finnekit) (Read error: Connection reset by peer)
09:46:46 simikando joins (~simikando@adsl-dyn-104.95-102-88.t-com.sk)
09:47:35 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 245 seconds)
09:48:45 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
09:48:49 finnekit joins (~finnekit@fsf/member/finnekit)
09:49:06 <danse-nr3> highly-kinded?
09:49:11 <kuribas> yes
09:49:17 Lord_of_Life_ is now known as Lord_of_Life
09:50:14 <lortabac> kuribas: the question is probably too generic to be useful
09:51:03 × simikando quits (~simikando@adsl-dyn-104.95-102-88.t-com.sk) (Ping timeout: 246 seconds)
09:51:38 <kuribas> I try to avoid to much type level magic, but I find hkd types too useful to discard.
09:53:29 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 260 seconds)
09:53:51 <Hecate> kuribas: let me ask you a counter-question: Do they adequately model your business domain?
09:54:22 <kuribas> yes
09:56:22 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
09:56:37 sm[i] joins (~sm@plaintextaccounting/sm)
09:56:51 <danse-nr3> what is your concern about highly-kinded types in production?
09:57:17 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 246 seconds)
09:57:41 <kuribas> That the entry for understanding them is too high.
09:58:32 <kuribas> https://twitter.com/jdegoes/status/1471147030680645638
09:59:43 <danse-nr3> well, that is a thing. Depending on how your team is structured (or meant to grow), you might want to keep things simple
10:00:10 <danse-nr3> that tweet is funny, by the way. "functional programming should stay away from highly-kinded types" ... sounds like a joke
10:00:22 <jackdk> be highly-kind to each other
10:00:52 <kuribas> Not much of a team now, I was allowed to write this script in haskell, but only 1 other person has shown interest.
10:01:37 <jackdk> I think a different Haskell ecosystem would make the cost:benefit of HKD quite different. Example: if we didn't have so many libraries using typeclass-based interfaces for codecs (e.g. classes FromJSON/ToJSON, etc), then having a record of encoders and converting to an encoder of records is legit cool.
10:01:49 <danse-nr3> kuribas, then i would say keep it simple, but just a shallow opinion
10:02:33 <danse-nr3> one can save a lot of boilerplate with higher-order functions already, and it is still interesting for newcomers
10:02:47 <jackdk> There are few places where I have legitimately wanted HKD in my commercial work, though occasionally we'll parameterise a couple of fields by some functor f and set `f ~ Identity` or `f ~ Proxy` to "remove" those fields
10:03:29 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
10:04:21 arahael joins (~arahael@124-149-31-4.dyn.iinet.net.au)
10:04:23 <jackdk> (also, a good `FRepresentable` is holding back the really dumb stuff I wanna do, like write`fromDMap :: (FRepresentable rep, Rep rep ~ tag) => DMap tag f a -> Maybe (rep f)`, at least I think that's what it was)
10:04:49 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
10:04:55 lisbeths joins (uid135845@id-135845.lymington.irccloud.com)
10:05:12 × smalltalkman quits (uid545680@id-545680.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
10:06:14 × sm[i] quits (~sm@plaintextaccounting/sm) (Quit: sm[i])
10:08:29 Lycurgus joins (~juan@user/Lycurgus)
10:08:33 × arahael quits (~arahael@124-149-31-4.dyn.iinet.net.au) (Ping timeout: 246 seconds)
10:08:53 <kuribas> hkd types are great for describing schemas
10:09:08 <kuribas> like database schemas, api schemas, ...
10:09:12 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 258 seconds)
10:09:17 <kuribas> configuration data...
10:11:52 danse-nr3_ joins (~francesco@151.35.234.99)
10:12:29 <kuribas> You can then adapt it to read from a source, for example environment data, json file, command line parsers.
10:13:17 × tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz)
10:13:32 <kuribas> like: MyConfig f, then f ~ CommandParser, or f ~ EnvParser, or f ~ JsonParser.
10:13:57 × xff0x quits (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 260 seconds)
10:14:13 <kuribas> https://chrispenner.ca/posts/hkd-options
10:14:29 × danse-nr3 quits (~francesco@151.19.228.50) (Ping timeout: 260 seconds)
10:14:43 × Nate[m] quits (~m52957mat@2001:470:69fc:105::1:591a) (Remote host closed the connection)
10:18:01 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 258 seconds)
10:22:04 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 260 seconds)
10:23:34 <danse-nr3_> oh right, had forgotten highly-kinded types refers just to this. It does not look that scary. I thought it was about some more complex abstraction
10:25:11 mbuf joins (~Shakthi@49.207.178.186)
10:25:54 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
10:26:24 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
10:26:24 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
10:26:24 dibblego joins (~dibblego@haskell/developer/dibblego)
10:29:52 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
10:30:01 × Lycurgus quits (~juan@user/Lycurgus) (Quit: Tschüss)
10:30:15 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
10:34:59 × danse-nr3_ quits (~francesco@151.35.234.99) (Remote host closed the connection)
10:35:22 danse-nr3_ joins (~francesco@151.35.234.99)
10:35:30 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 245 seconds)
10:37:15 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
10:42:20 dibblego joins (~dibblego@116.255.1.151)
10:42:20 × dibblego quits (~dibblego@116.255.1.151) (Changing host)
10:42:20 dibblego joins (~dibblego@haskell/developer/dibblego)
10:43:36 × econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
10:48:09 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
10:49:15 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 245 seconds)
10:54:29 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
10:54:29 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
10:54:29 dibblego joins (~dibblego@haskell/developer/dibblego)
11:00:16 × perrierjouet quits (~perrierjo@modemcable048.127-56-74.mc.videotron.ca) (Ping timeout: 250 seconds)
11:05:02 × phma quits (~phma@2001:5b0:211c:3428:4010:7349:818e:e0c8) (Read error: Connection reset by peer)
11:05:30 phma joins (~phma@host-67-44-208-191.hnremote.net)
11:06:24 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 260 seconds)
11:08:46 × vglfr quits (~vglfr@cli-188-239-209-89.bbn.slav.dn.ua) (Remote host closed the connection)
11:08:46 × mima quits (~mmh@aftr-82-135-83-150.dynamic.mnet-online.de) (Ping timeout: 245 seconds)
11:09:40 vglfr joins (~vglfr@cli-188-239-209-89.bbn.slav.dn.ua)
11:15:27 xff0x joins (~xff0x@2405:6580:b080:900:c00a:1568:1eb1:8f96)
11:17:41 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
11:17:51 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
11:19:29 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
11:22:44 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
11:23:05 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
11:23:05 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
11:23:05 dibblego joins (~dibblego@haskell/developer/dibblego)
11:24:05 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 244 seconds)
11:24:41 arahael joins (~arahael@124.149.31.4)
11:25:04 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
11:27:07 × CiaoSen quits (~Jura@2a05:5800:2ab:9c00:664b:f0ff:fe37:9ef) (Quit: CiaoSen)
11:29:09 × arahael quits (~arahael@124.149.31.4) (Ping timeout: 260 seconds)
11:29:26 CiaoSen joins (~Jura@2a05:5800:2ab:9c00:664b:f0ff:fe37:9ef)
11:29:45 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
11:32:29 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
11:34:51 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
11:34:51 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
11:34:51 dibblego joins (~dibblego@haskell/developer/dibblego)
11:37:22 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
11:37:47 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Remote host closed the connection)
11:37:54 × CiaoSen quits (~Jura@2a05:5800:2ab:9c00:664b:f0ff:fe37:9ef) (Ping timeout: 260 seconds)
11:38:09 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 246 seconds)
11:39:30 × phma quits (~phma@host-67-44-208-191.hnremote.net) (Read error: Connection reset by peer)
11:39:59 phma joins (~phma@2001:5b0:211c:3428:6fc:f199:7e0b:e846)
11:43:09 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 260 seconds)
11:43:44 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
11:48:50 × danse-nr3_ quits (~francesco@151.35.234.99) (Ping timeout: 245 seconds)
11:49:01 marinelli joins (~weechat@gateway/tor-sasl/marinelli)
11:50:19 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
11:53:31 danse-nr3_ joins (~francesco@151.35.234.99)
11:53:35 kaptch joins (~kaptch@95.10.4.214)
11:53:38 × kaptch quits (~kaptch@95.10.4.214) (Client Quit)
11:55:26 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 245 seconds)
12:00:27 eldritchcookie joins (~eldritchc@186.226.54.7)
12:02:12 codaraxis joins (~codaraxis@user/codaraxis)
12:03:15 × codaraxis quits (~codaraxis@user/codaraxis) (Remote host closed the connection)
12:03:39 codaraxis joins (~codaraxis@user/codaraxis)
12:04:35 × codaraxis quits (~codaraxis@user/codaraxis) (Max SendQ exceeded)
12:05:22 × codaraxis__ quits (~codaraxis@user/codaraxis) (Ping timeout: 260 seconds)
12:06:30 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
12:06:32 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
12:08:27 RDMengineer joins (~rdmengie@178-79-78-45.dynamic.telemach.net)
12:10:41 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
12:11:03 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
12:15:04 perrierjouet joins (~perrierjo@modemcable048.127-56-74.mc.videotron.ca)
12:15:14 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 250 seconds)
12:16:17 sm[i] joins (~sm@plaintextaccounting/sm)
12:17:33 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Read error: Connection reset by peer)
12:18:21 simikando joins (~simikando@adsl-dyn-104.95-102-88.t-com.sk)
12:18:23 RDMengineer parts (~rdmengie@178-79-78-45.dynamic.telemach.net) (The Lounge - https://thelounge.chat)
12:18:26 × simikando quits (~simikando@adsl-dyn-104.95-102-88.t-com.sk) (Client Quit)
12:19:11 × jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 246 seconds)
12:21:18 × kawen quits (~quassel@static.208.191.216.95.clients.your-server.de) (Ping timeout: 250 seconds)
12:22:15 Pickchea joins (~private@user/pickchea)
12:28:49 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
12:30:39 × sympt quits (~sympt@user/sympt) (Quit: Ping timeout (120 seconds))
12:31:37 sympt joins (~sympt@user/sympt)
12:33:19 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 260 seconds)
12:34:29 × juri_ quits (~juri@84-19-175-187.pool.ovpn.com) (Ping timeout: 260 seconds)
12:36:23 juri_ joins (~juri@84-19-175-187.pool.ovpn.com)
12:37:03 CiaoSen joins (~Jura@2a05:5800:2ab:9c00:664b:f0ff:fe37:9ef)
12:37:24 × razetime quits (~quassel@117.254.36.99) (Ping timeout: 260 seconds)
12:41:17 × idgaen quits (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 4.0.2)
12:45:22 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
12:49:51 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 244 seconds)
12:53:43 shapr joins (~user@2600:1700:c640:3100:2914:c7c5:b36d:30fe)
12:54:54 nschoe joins (~q@141.101.51.197)
12:58:27 mauke joins (~mauke@user/mauke)
13:01:53 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
13:03:07 × Pickchea quits (~private@user/pickchea) (Ping timeout: 260 seconds)
13:06:41 × sunarch quits (~sunarch@user/sunarch) (Ping timeout: 258 seconds)
13:07:02 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 245 seconds)
13:12:24 × danse-nr3_ quits (~francesco@151.35.234.99) (Ping timeout: 260 seconds)
13:18:57 danse-nr3_ joins (~francesco@151.35.234.99)
13:19:48 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
13:24:39 <eldritchcookie> hello rust has ABI stable crates what would it take to do something similar in haskell?
13:26:39 × vglfr quits (~vglfr@cli-188-239-209-89.bbn.slav.dn.ua) (Ping timeout: 246 seconds)
13:26:51 vglfr joins (~vglfr@cli-188-239-209-89.bbn.slav.dn.ua)
13:26:59 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 260 seconds)
13:27:24 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
13:29:48 × gurkenglas quits (~gurkengla@dynamic-046-114-095-165.46.114.pool.telefonica.de) (Ping timeout: 246 seconds)
13:30:27 × fendor quits (~fendor@2a02:8388:1640:be00:1f28:32b1:54ac:a932) (Remote host closed the connection)
13:30:59 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
13:31:07 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
13:31:33 arahael joins (~arahael@124-149-31-4.dyn.iinet.net.au)
13:33:10 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
13:33:38 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds)
13:36:22 × arahael quits (~arahael@124-149-31-4.dyn.iinet.net.au) (Ping timeout: 260 seconds)
13:37:12 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
13:39:14 mima joins (~mmh@dhcp-138-246-3-191.dynamic.eduroam.mwn.de)
13:41:29 sunarch joins (~sunarch@user/sunarch)
13:45:52 ph88 joins (~ph88@ip5b403cd4.dynamic.kabel-deutschland.de)
13:46:57 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 246 seconds)
13:49:17 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
13:58:24 <monochrom> Disable all optimizations.
13:59:08 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 246 seconds)
13:59:23 <monochrom> Hugs has ABI stable packages because there is no ABI.
13:59:39 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
13:59:52 razetime joins (~quassel@117.254.36.99)
14:00:03 <monochrom> Python and Javascript should too, but somehow they still manage to ruin it.
14:04:52 Sgeo joins (~Sgeo@user/sgeo)
14:05:03 cfricke joins (~cfricke@user/cfricke)
14:05:19 gurkenglas joins (~gurkengla@dynamic-046-114-095-165.46.114.pool.telefonica.de)
14:05:21 <ncf> does anyone know why Indexable doesn't have a fundep p -> i? it would make inference easier with `indexed`
14:05:21 × vpan quits (~0@mail.elitnet.lt) (Quit: Leaving.)
14:05:29 <monochrom> OK, disable optimizations or disable separate compilation (so no ABI again).
14:06:01 × 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)
14:06:44 troydm joins (~troydm@user/troydm)
14:08:27 × califax quits (~califax@user/califx) (Remote host closed the connection)
14:08:52 califax joins (~califax@user/califx)
14:10:08 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
14:10:30 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:4c71:241e:cb2d:450f)
14:10:55 × troydm quits (~troydm@user/troydm) (Client Quit)
14:11:41 troydm joins (~troydm@user/troydm)
14:11:59 danse-nr3__ joins (~francesco@151.37.248.73)
14:13:53 <dminuoso> feetwind: I cant quite make out what `lib/Foo/Bar/Baz/{mod.hs,A}` is meant to denote.
14:14:13 smalltalkman joins (uid545680@id-545680.hampstead.irccloud.com)
14:14:49 × danse-nr3_ quits (~francesco@151.35.234.99) (Ping timeout: 260 seconds)
14:15:24 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:4c71:241e:cb2d:450f) (Ping timeout: 260 seconds)
14:16:57 × 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)
14:17:06 <glguy> Instead if A/B.hs some systems allow you to have A/B/Mod.hs
14:17:44 × CiaoSen quits (~Jura@2a05:5800:2ab:9c00:664b:f0ff:fe37:9ef) (Ping timeout: 260 seconds)
14:17:53 troydm joins (~troydm@user/troydm)
14:19:03 × gurkenglas quits (~gurkengla@dynamic-046-114-095-165.46.114.pool.telefonica.de) (Read error: Connection reset by peer)
14:19:21 azimut joins (~azimut@gateway/tor-sasl/azimut)
14:20:13 <ncf> oh, duh, (->) doesn't determine i
14:22:24 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 260 seconds)
14:25:48 thegeekinside joins (~thegeekin@189.141.65.87)
14:32:49 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
14:34:15 × 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)
14:34:39 <dminuoso> glguy: Maybe Im really confusing something here, but we can have A.B.Mod?
14:34:57 troydm joins (~troydm@user/troydm)
14:35:17 <glguy> The point is those two paths would define the same module A.B
14:35:45 <glguy> It lets you put the module name exclusively into the directory structure and not the file name
14:36:23 × misterfish quits (~misterfis@87.215.131.102) (Ping timeout: 258 seconds)
14:36:25 <dminuoso> In the same sense how nix allows you to write `foo/bar` which implicitly picks up on `foo/bar/default.nix`?
14:36:34 <glguy> Sure
14:37:11 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 264 seconds)
14:37:13 Square2 joins (~Square@user/square)
14:38:03 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
14:39:12 <glguy> If you wanted to have A and A.B normally you get A.hs and A/B.hs; this would allow you to replace A.hs with A/Mod.hs . People like to use it inconsistently so there isn't a directory A as well as a file A.hs
14:39:30 × danse-nr3__ quits (~francesco@151.37.248.73) (Read error: Connection reset by peer)
14:39:46 <dminuoso> That seems to only make much sense for completely flat module structure.
14:40:05 <dminuoso> If you have more than one level of (perceived) hierarchy, then this just shifts module position
14:41:18 jero98772 joins (~jero98772@2800:484:1d84:300::7)
14:41:56 <glguy> I could see wanting it in cases where I have an important module and a couple submodules that only exist to support it.
14:41:58 tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
14:42:06 <dminuoso> Though I guess it lets you keep "entry module" and helper modules in a singular directory
14:42:07 <dminuoso> So that might be nice
14:43:53 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
14:43:53 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
14:43:53 dibblego joins (~dibblego@haskell/developer/dibblego)
14:44:29 shriekingnoise joins (~shrieking@186.137.175.87)
14:54:43 <ph88> i'm trying to use TextShow with FromGeneric, i'm getting a stackoverflow. Is it a bug in my code or is it a bug in a package? https://bpa.st/Z4HQ
14:55:37 <ph88> here same version without some unnecesarry imports https://bpa.st/LAJA
14:57:25 <geekosaur> isn't that deriving-via trying to go via itself, causing an infinite loop? I'd want to see -ddump-deriv for that
14:58:07 <ph88> ok i will try to get a ddump-deriv
14:58:11 <glguy> What does that have to do with TextShow? Isn't decodeEither from Aeson?
14:58:15 <ph88> i will put it in it's own project
14:58:16 <geekosaur> (and I think we'd need to see that anyway to answer your question)
14:58:33 <glguy> Oh, nevermind I see the show in the comment
15:00:48 × Square2 quits (~Square@user/square) (Ping timeout: 252 seconds)
15:03:49 × phma quits (~phma@2001:5b0:211c:3428:6fc:f199:7e0b:e846) (Read error: Connection reset by peer)
15:05:34 × 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)
15:06:18 troydm joins (~troydm@user/troydm)
15:09:00 phma joins (~phma@host-67-44-208-165.hnremote.net)
15:09:02 <geekosaur> okay, looking at te docs for TextShow Generic it looks like you are indeed supposed to repeat the type there
15:09:25 <geekosaur> we still need to see the dump-deriv output to try to say why it's looping
15:11:35 <ph88> i think i found it, sorry guys seems it was my mistake
15:11:57 <ph88> https://bpa.st/XFSQ line 14 and 15
15:14:40 <ph88> how would i best implement that? convert it to list first?
15:16:30 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
15:17:06 × lortabac quits (~lortabac@2a01:e0a:50d:8d40:8216:268c:40d7:b242) (Quit: WeeChat 2.8)
15:18:36 <ph88> hhmm probably not, i'll think of something to do it directly from vector
15:18:46 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
15:19:11 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
15:19:48 jpds joins (~jpds@gateway/tor-sasl/jpds)
15:23:49 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 244 seconds)
15:24:49 × MajorBiscuit quits (~MajorBisc@145.90.38.199) (Ping timeout: 260 seconds)
15:25:27 Nikopol joins (nikopol@user/astrorigin)
15:29:47 × sm[i] quits (~sm@plaintextaccounting/sm) (Quit: sm[i])
15:30:21 eggplantade joins (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net)
15:32:59 × thegeekinside quits (~thegeekin@189.141.65.87) (Ping timeout: 264 seconds)
15:38:53 econo_ joins (uid147250@id-147250.tinside.irccloud.com)
15:47:40 flounders joins (~flounders@24.246.133.1)
15:49:10 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
15:50:39 × titibandit quits (~titibandi@user/titibandit) (Read error: Connection reset by peer)
15:50:41 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 244 seconds)
15:50:50 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
15:51:32 <EvanR> converting to a list only to destroy a list for some reason has a chance of being optimized away
15:55:09 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 260 seconds)
15:56:36 titibandit joins (~titibandi@user/titibandit)
16:03:17 × Nosrep quits (~Nosrep@user/nosrep) (Remote host closed the connection)
16:04:32 × lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity)
16:05:40 Nosrep joins (~Nosrep@user/nosrep)
16:06:24 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
16:10:51 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 245 seconds)
16:13:31 <probie> EvanR: It's not exactly chance. If you consume a list with `foldr` exactly once, it won't build the list (assuming the function generating the list is sufficiently lazy and can be inlined). GHC's list fusion framework is just about turning multiple uses for `foldr` into a single use of `foldr`.
16:15:20 × mbuf quits (~Shakthi@49.207.178.186) (Quit: Leaving)
16:17:06 × titibandit quits (~titibandi@user/titibandit) (Remote host closed the connection)
16:17:46 bgs joins (~bgs@212-85-160-171.dynamic.telemach.net)
16:21:21 × trev quits (~trev@user/trev) (Quit: trev)
16:22:08 _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl)
16:23:10 thegeekinside joins (~thegeekin@189.141.65.87)
16:24:11 × vglfr quits (~vglfr@cli-188-239-209-89.bbn.slav.dn.ua) (Ping timeout: 245 seconds)
16:26:37 vglfr joins (~vglfr@145.224.100.231)
16:27:26 × cods quits (~fred@82-65-232-44.subs.proxad.net) (Ping timeout: 250 seconds)
16:30:59 × kuribas quits (~user@ip-188-118-57-242.reverse.destiny.be) (Remote host closed the connection)
16:31:44 sm[i] joins (~sm@plaintextaccounting/sm)
16:31:46 × flounders quits (~flounders@24.246.133.1) (Ping timeout: 250 seconds)
16:34:40 flounders joins (~flounders@24.246.133.1)
16:35:19 <EvanR> that's the beauty of probability, lots of interpretations xD
16:36:31 cods joins (~fred@82-65-232-44.subs.proxad.net)
16:37:44 × nschoe quits (~q@141.101.51.197) (Ping timeout: 260 seconds)
16:39:26 × oo_miguel quits (~Thunderbi@78-11-179-96.static.ip.netia.com.pl) (Quit: oo_miguel)
16:40:02 oo_miguel joins (~Thunderbi@78-11-179-96.static.ip.netia.com.pl)
16:40:31 Lycurgus joins (~juan@user/Lycurgus)
16:44:38 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
16:54:31 × sm[i] quits (~sm@plaintextaccounting/sm) (Quit: sm[i])
16:55:16 × Lycurgus quits (~juan@user/Lycurgus) (Quit: Tschüss)
17:00:47 Square2 joins (~Square@user/square)
17:04:27 jmdaemon joins (~jmdaemon@user/jmdaemon)
17:05:38 gmg joins (~user@user/gehmehgeh)
17:07:00 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
17:07:58 × jespada quits (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net) (Read error: Connection reset by peer)
17:08:24 jespada joins (~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net)
17:09:57 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
17:13:09 AlexNoo_ joins (~AlexNoo@178.34.160.198)
17:13:48 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 246 seconds)
17:15:12 × Alex_test quits (~al_test@94.233.240.229) (Ping timeout: 246 seconds)
17:15:18 ars23 joins (~ars23@109.96.49.111)
17:16:27 <ars23> can someone recommend a good haskell framework for backend? I was thinking at snap and I saw that the snap and snap-core are quite maintained. except for snaplets.
17:16:32 × AlexNoo quits (~AlexNoo@94.233.240.229) (Ping timeout: 240 seconds)
17:16:52 × AlexZenon quits (~alzenon@94.233.240.229) (Ping timeout: 260 seconds)
17:17:57 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
17:18:02 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 260 seconds)
17:18:56 idgaen joins (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
17:20:26 Alex_test joins (~al_test@178.34.160.198)
17:22:10 × hpc quits (~juzz@ip98-169-35-163.dc.dc.cox.net) (Ping timeout: 245 seconds)
17:23:46 <probie> Depending on your needs and comfort level with Haskell, perhaps servant?
17:23:59 hpc joins (~juzz@ip98-169-35-163.dc.dc.cox.net)
17:28:08 × coot quits (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot)
17:28:19 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
17:28:19 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
17:28:20 dibblego joins (~dibblego@haskell/developer/dibblego)
17:29:09 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
17:31:59 × flounders quits (~flounders@24.246.133.1) (Ping timeout: 260 seconds)
17:33:31 AlexZenon joins (~alzenon@178.34.160.198)
17:41:15 × iteratee quits (~kyle@162.218.222.207) (Ping timeout: 244 seconds)
17:42:06 × razetime quits (~quassel@117.254.36.99) (Ping timeout: 245 seconds)
17:43:00 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 245 seconds)
17:43:26 iteratee joins (~kyle@162.218.222.207)
17:48:52 × ars23 quits (~ars23@109.96.49.111) (Quit: Leaving)
17:48:56 Tuplanolla joins (~Tuplanoll@91-159-68-236.elisa-laajakaista.fi)
17:49:22 × acidjnk_new quits (~acidjnk@p200300d6e7072f97d0a51586a4fa6f31.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
17:50:39 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 260 seconds)
17:51:37 bratwurst joins (~dfadsva@2604:3d09:207f:f650::c3b)
17:58:45 acidjnk joins (~acidjnk@p200300d6e7072f97881ab3c305549a97.dip0.t-ipconnect.de)
18:03:43 sm[i] joins (~sm@plaintextaccounting/sm)
18:07:47 simikando joins (~simikando@adsl-dyn-104.95-102-88.t-com.sk)
18:08:45 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
18:10:26 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 245 seconds)
18:14:34 × bratwurst quits (~dfadsva@2604:3d09:207f:f650::c3b) (Ping timeout: 260 seconds)
18:15:09 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 260 seconds)
18:16:18 misterfish joins (~misterfis@84-53-85-146.bbserv.nl)
18:16:29 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
18:16:29 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
18:16:29 dibblego joins (~dibblego@haskell/developer/dibblego)
18:17:38 × driib quits (~driib@vmi931078.contaboserver.net) (Quit: The Lounge - https://thelounge.chat)
18:20:22 × acidjnk quits (~acidjnk@p200300d6e7072f97881ab3c305549a97.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
18:23:23 × mima quits (~mmh@dhcp-138-246-3-191.dynamic.eduroam.mwn.de) (Ping timeout: 246 seconds)
18:26:14 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 260 seconds)
18:30:51 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
18:30:51 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
18:30:51 dibblego joins (~dibblego@haskell/developer/dibblego)
18:31:38 × simikando quits (~simikando@adsl-dyn-104.95-102-88.t-com.sk) (Quit: Leaving)
18:33:21 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
18:36:52 driib joins (~driib@vmi931078.contaboserver.net)
18:38:30 × jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 246 seconds)
18:40:58 coot joins (~coot@89-69-206-216.dynamic.chello.pl)
18:46:16 ft joins (~ft@62.155.202.106)
19:00:27 merijn joins (~merijn@088-129-128-083.dynamic.caiway.nl)
19:00:38 × eggplantade quits (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
19:02:28 fendor joins (~fendor@2a02:8388:1640:be00:1f28:32b1:54ac:a932)
19:05:22 × merijn quits (~merijn@088-129-128-083.dynamic.caiway.nl) (Ping timeout: 245 seconds)
19:10:41 danse-nr3 joins (~francesco@151.57.239.6)
19:10:58 <EvanR> what do you call a type for values between 0 and 1
19:11:19 <dolio> Empty type.
19:11:56 exarkun joins (~exarkun@user/exarkun)
19:12:03 <EvanR> 0.5 exists!
19:12:13 <exarkun> GLclampf
19:12:14 <int-e> dolio values integrity
19:12:30 <jade[m]> EvanR: percent
19:12:49 <exarkun> I agree with jade[m] 200%
19:12:52 <int-e> Probability
19:13:06 <int-e> (Odds)
19:13:18 <dolio> Probabilities can include 0 and 1.
19:13:31 <int-e> "between" is ambiguous
19:13:37 <dolio> Exactly.
19:13:50 <int-e> So I'm happy to play with both interpretations.
19:13:54 <EvanR> I appreciate the ambiguous answers anyway
19:14:06 <int-e> NontrivialProbability
19:14:07 <int-e> ;)
19:14:32 <darkling> Do you mean (0, 1) or [0, 1] or [0, 1)? (Assuming over the subset of the reals implemented by your floating-point hardware)
19:14:44 <EvanR> [0, 1]
19:14:46 <int-e> PositiveNumberWithNegativeLogarithm
19:15:10 <darkling> I've got no good answer, just trying to clarify the question.
19:15:31 <Logio> I suppose they must be nonbinary
19:15:33 <int-e> EvanR: are there any semantics attached to it?
19:15:43 <EvanR> nope
19:15:47 <int-e> odd ;)
19:15:53 AlexNoo_ is now known as AlexNoo
19:16:12 <EvanR> if anyone tries to come up with semantics, I'll yell "semantics!" and win the argument
19:16:54 <int-e> You can always call the type "Something"
19:17:06 <int-e> to indicate the lack of special semantics.
19:17:17 <EvanR> a use case that comes to mind is the "value" of a knob that has a minimum and maximum setting
19:17:49 <jade[m]> that would be in the percentage direction
19:18:53 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
19:19:19 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
19:20:19 <EvanR> all the good names were ransacked by the next 700 programming languages already
19:20:42 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
19:22:32 × briandaed quits (~briandaed@185.234.210.211.r.toneticgroup.pl) (Remote host closed the connection)
19:23:24 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
19:24:53 <[Leary]> Proportion.
19:25:44 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
19:25:52 ddellacosta joins (~ddellacos@143.244.47.76)
19:26:00 <integral> UnitIntervalValue
19:26:02 × _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Quit: _ht)
19:26:30 _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl)
19:28:54 mima joins (~mmh@aftr-82-135-83-10.dynamic.mnet-online.de)
19:32:23 <EvanR> :k '[0,1]
19:32:24 <lambdabot> [GHC.Types.Nat]
19:32:52 <EvanR> :k '[0,1] -> '[0,1] -> '[0,1]
19:32:53 <lambdabot> error:
19:32:53 <lambdabot> • Expected a type, but ‘'[0, 1]’ has kind ‘[GHC.Types.Nat]’
19:32:53 <lambdabot> • In the type ‘'[0, 1] -> '[0, 1] -> '[0, 1]’
19:32:57 <EvanR> shucks
19:33:46 trev joins (~trev@user/trev)
19:34:17 <ddellacosta> is it possible to profile programs I run in ghci via cabal repl somehow?
19:34:41 <sclv> i don't think so. programs need to be compiled and linked with the profiling runtime
19:34:59 <ddellacosta> yeah that makes sense. I was hoping maybe I could profile the entire ghci session and figure things out that way somehow
19:35:54 <sclv> the runtime behavior is too different between interpreted bytecode and linked binaries as well, sadly.
19:36:22 <ddellacosta> yeah, that too makes sense. Thanks sclv
19:36:24 <sclv> there's even reasons why those modes could affect asymptotics iirc
19:40:34 qrst is now known as plomb
19:40:39 × plomb quits (~qrst@user/qrst) (Quit: leaving)
19:41:38 plomb joins (~plomb@user/qrst)
19:42:18 × plomb quits (~plomb@user/qrst) (Client Quit)
19:43:22 × trev quits (~trev@user/trev) (Quit: trev)
19:46:12 bratwurst joins (~dfadsva@2604:3d09:207f:f650::c3b)
19:50:14 × thegeekinside quits (~thegeekin@189.141.65.87) (Ping timeout: 260 seconds)
19:50:24 trev joins (~trev@user/trev)
19:50:48 × trev quits (~trev@user/trev) (Client Quit)
19:55:21 mabiola joins (~mabiola@user/mabiola)
19:55:43 × bratwurst quits (~dfadsva@2604:3d09:207f:f650::c3b) (Quit: Leaving)
19:55:54 <ph88> I have a function like `data Foo a = Foo Int [a]` i want to replace `a` (like fmap) but i want to keep the old version too (but map doesn't allow that). Normally i would use a fold, but when i fold over [a] i can't build a result in the accumulator because i don't have access to the Int. Is there any abstraction that can work here or am i better of writing custom functions for it?
19:56:39 × vglfr quits (~vglfr@145.224.100.231) (Ping timeout: 260 seconds)
19:57:06 <geekosaur> define "keep the old version too"
19:57:26 <int-e> also that's a (data) type, not a function
19:57:43 <geekosaur> seems like you could map to a list of (old,new) tuples
19:58:06 <EvanR> > map (\x -> (x, ord x)) "hello world"
19:58:08 <lambdabot> [('h',104),('e',101),('l',108),('l',108),('o',111),(' ',32),('w',119),('o',1...
19:58:14 <int-e> > let xs = [65,66,67]; ys = map chr xs in (ys {- new -}, xs {- old is still available -})
19:58:16 <lambdabot> ("ABC",[65,66,67])
19:59:08 <int-e> there's apparently also "the accumulator"
19:59:15 nick3 joins (~nick@2600:8807:9084:7800:4dd8:8c25:a0b9:d846)
20:01:07 eggplantade joins (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net)
20:02:51 waleee joins (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7)
20:03:19 <EvanR> fmap can't depend on the Int anyway because functor laws
20:03:28 × bgs quits (~bgs@212-85-160-171.dynamic.telemach.net) (Remote host closed the connection)
20:05:47 <EvanR> several types come with a mapAccum which you could implement for Foo
20:05:59 × eggplantade quits (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
20:10:06 <ph88> geekosaur, int-e , EvanR thanks for thinking along. I made a small source file that shows what i want to do https://bpa.st/TQUA
20:13:02 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
20:14:19 <danse-nr3> your doFoo function do not seems to use `int` at all. Is having data Foo a = Foo Int a an option? Then you could set `a` to `[b]` but also to `([b], [b]` to keep the old versions
20:14:45 ars23 joins (~ars23@109.96.49.111)
20:14:53 <danse-nr3> `([b], [b])`
20:15:16 <ars23> thanks! I'll try servant, then!
20:15:29 × _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Quit: _ht)
20:16:14 × Everything quits (~Everythin@static.208.206.21.65.clients.your-server.de) (Ping timeout: 250 seconds)
20:16:16 <int-e> :t partitionEithers
20:16:17 <lambdabot> [Either a b] -> ([a], [b])
20:16:32 × mncheck quits (~mncheck@193.224.205.254) (Ping timeout: 240 seconds)
20:17:39 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 260 seconds)
20:17:56 <int-e> hmm... `partitionEither` is defined in terms of `foldr` so there's a good chance it fuses nicely.
20:18:21 <ncf> list . each %%~ \ a -> maybe ([], a) (\a' -> ([a], a')) (f a)
20:18:30 <ncf> where list is a lens for your second field
20:19:41 <danse-nr3> :t list . each %%~ \ a -> maybe ([], a) (\a' -> ([a], a')) (f a)
20:19:42 <lambdabot> error:
20:19:42 <lambdabot> • Variable not in scope: list :: (s0 -> ([b], t0)) -> s -> ([b], t)
20:19:42 <lambdabot> • Perhaps you meant one of these:
20:20:57 acidjnk joins (~acidjnk@p200300d6e7072f97881ab3c305549a97.dip0.t-ipconnect.de)
20:21:03 × EvanR quits (~EvanR@user/evanr) (Remote host closed the connection)
20:21:15 <ncf> https://f.monade.li/KMLRNm.hs
20:21:19 <ncf> ([2],Foo {_int = 42, _list = [1,6,3]})
20:21:22 EvanR joins (~EvanR@user/evanr)
20:22:56 <danse-nr3> % import Control.Lens
20:22:56 <yahb2> <no location info>: error: ; Could not find module ‘Control.Lens’ ; It is not a module in the current program, or in any known package.
20:23:19 × ars23 quits (~ars23@109.96.49.111) (Quit: Leaving)
20:34:49 × mabiola quits (~mabiola@user/mabiola) (Quit: leaving)
20:35:24 jmdaemon joins (~jmdaemon@user/jmdaemon)
20:36:18 pavonia joins (~user@user/siracusa)
20:42:42 <danse-nr3> maybe we scared him
20:44:12 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
20:45:04 anselmschueler joins (~anselmsch@user/schuelermine)
20:45:56 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
20:46:21 <ph88> danse-nr3, it's using the int to rebuild the Foo on line 18
20:47:23 <ph88> ncf, how can it be done without lens ?
20:47:44 <ncf> replace (%%~) with id, each with traverse, list with \ k (Foo i l) -> Foo i <$> k l
20:47:51 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
20:48:25 <ncf> (that is literally how (%%~) is defined https://hackage.haskell.org/package/lens-5.2.2/docs/src/Control.Lens.Lens.html#%25%25~ )
20:48:34 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 260 seconds)
20:50:53 Pickchea joins (~private@user/pickchea)
20:52:49 <danse-nr3> ph88, yes, but the int is not changed nor affects any other parts of the function. You ask how to decompose doFoo in your comments. Well, if that was data Foo = Foo Int a, then it could easily become a functor
20:53:30 dcoutts joins (~duncan@host86-178-182-132.range86-178.btcentralplus.com)
20:54:10 <ncf> seems unnecessary
20:54:17 <ph88> danse-nr3, i don't know how to collect old values with functor
20:54:49 <danse-nr3> just as you would with a simple `[a]` string
20:55:02 <ph88> ncf, i don't understand your code
20:57:42 <danse-nr3> % data Foo a = Foo Int a
20:57:42 <yahb2> <no output>
20:58:16 <danse-nr3> % instance Functor (Foo Int) where fmap f (Foo i a) = Foo i (f a)
20:58:16 <yahb2> <interactive>:19:19: error: ; • Expected kind ‘* -> *’, but ‘Foo Int’ has kind ‘*’ ; • In the first argument of ‘Functor’, namely ‘(Foo Int)’ ; In the instance declaration for ‘Functo...
20:58:19 <EvanR> attaching an Int to everything sounds kind of like Barbies
20:58:21 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 245 seconds)
20:58:53 <danse-nr3> i think he (they?) wrote that as an example of a more complex case they have
20:59:33 <EvanR> ok yeah I was kind of skeptical of the literal data Foo a = Foo Int a
21:01:35 <danse-nr3> % instance Functor (Foo Int a) where fmap f (Foo i a) = Foo i (f a)
21:01:36 <yahb2> <interactive>:21:19: error: ; • Expected kind ‘k -> * -> *’, but ‘Foo Int’ has kind ‘*’ ; • In the first argument of ‘Functor’, namely ‘(Foo Int a)’ ; In the instance declaration for ...
21:02:31 <danse-nr3> % instance Functor (Foo a) where fmap f (Foo i a) = Foo i (f a)
21:02:31 <yahb2> <interactive>:23:19: error: ; • Expected kind ‘* -> *’, but ‘Foo a’ has kind ‘*’ ; • In the first argument of ‘Functor’, namely ‘(Foo a)’ ; In the instance declaration for ‘Functor (F...
21:02:52 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
21:03:21 <danse-nr3> % instance Functor Foo where fmap f (Foo i a) = Foo i (f a)
21:03:21 <yahb2> <no output>
21:03:38 <danse-nr3> sorry ph88 i should have been away from the keyboard hours ago
21:04:27 <ph88> danse-nr3, np :p
21:04:45 <danse-nr3> so with that instance you can apply your functions to the list, folds or whatever else, keeping duplicates etcetera
21:04:50 <ncf> ph88: i think it boils down to understanding traverse, so probably do that
21:05:40 × idgaen quits (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 4.0.2)
21:05:43 <ncf> you have a "small" function a -> f a that you want to apply to a bunch of targets in your data structure to get a "big" Foo Int [a] -> f (Foo Int [a])
21:05:55 <ncf> in this case f is the Writer [a] effect that records the "old" a's
21:06:17 <ncf> :t traverse
21:06:18 <lambdabot> (Traversable t, Applicative f) => (a -> f b) -> t a -> f (t b)
21:06:58 <ph88> thanks, i'll have a look if i can understand it with these hints
21:08:55 <danse-nr3> ph88, also, your doFoo seems to include some mapMaybe
21:08:59 <danse-nr3> :t mapMaybe
21:09:00 <lambdabot> (a -> Maybe b) -> [a] -> [b]
21:09:47 × fendor quits (~fendor@2a02:8388:1640:be00:1f28:32b1:54ac:a932) (Remote host closed the connection)
21:11:00 <danse-nr3> hum no ... it adds an item to the old ones only when they lead to a Just ... i thought you wanted to store the old copy in any case
21:17:37 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
21:18:22 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
21:20:24 × michalz quits (~michalz@185.246.207.197) (Remote host closed the connection)
21:21:01 <ph88> ncf, what should be the 2nd argument to traverse (t a) ? I made this function applyToFoo :: ([a] -> [b]) -> Foo a -> Foo b; applyToFoo f (Foo int list) = Foo int $ f list is it useful in this case ?
21:22:16 <danse-nr3> that seems a bit like a functor instance, but the first argument of applyToFoo would have type a -> b
21:22:26 <ncf> that's basically a Setter' Foo [a], which is strictly less useful than a Traversal
21:22:38 <ncf> because it doesn't allow you to get the effects back out of the Foo
21:23:08 <ph88> what should put to the second argument of traverse ?
21:23:26 <ncf> to do what?
21:23:56 <ncf> the second argument to traverse is the structure you want to traverse
21:25:28 <danse-nr3> ph88, the Traversable idea is closer to your original doFoo signature. It means you would make a Traversable instance for Foo. It could be more "powerful", depending on what you need, but maybe for starters you could try a Functor instance or familiarising yourself with Setter' from Lens
21:25:51 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 245 seconds)
21:26:22 <ncf> you don't need a Traversable instance for Foo...
21:27:03 <ncf> i mean you could make one if you like
21:30:04 <ph88> i don't get it https://bpa.st/4JDQ i have used traverse before but now i don't see it how it can help here
21:30:40 × anselmschueler quits (~anselmsch@user/schuelermine) (Quit: WeeChat 4.0.2)
21:35:13 <ncf> that should be ([], item) and ([item], new_item) i think
21:36:35 × acidjnk quits (~acidjnk@p200300d6e7072f97881ab3c305549a97.dip0.t-ipconnect.de) (Ping timeout: 264 seconds)
21:40:11 <ph88> o_O it worked
21:45:08 <ph88> got a little bit further https://bpa.st/C2RA
21:45:36 × chele quits (~chele@user/chele) (Quit: Leaving)
21:48:02 neuroevolutus joins (~neuroevol@2606:2e00:8007:1::a31e)
21:49:54 acidjnk joins (~acidjnk@p200300d6e7072f47c4518b621df42806.dip0.t-ipconnect.de)
21:51:11 × sm[i] quits (~sm@plaintextaccounting/sm) (Quit: sm[i])
21:58:33 × misterfish quits (~misterfis@84-53-85-146.bbserv.nl) (Ping timeout: 244 seconds)
21:59:57 Ranhir joins (~Ranhir@157.97.53.139)
22:00:17 zeenk joins (~zeenk@2a02:2f04:a007:fb00::7fe)
22:00:51 arahael joins (~arahael@124-149-31-4.dyn.iinet.net.au)
22:01:53 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
22:05:00 × arahael quits (~arahael@124-149-31-4.dyn.iinet.net.au) (Ping timeout: 246 seconds)
22:05:09 L29Ah joins (~L29Ah@wikipedia/L29Ah)
22:09:00 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
22:09:05 × danse-nr3 quits (~francesco@151.57.239.6) (Remote host closed the connection)
22:09:29 danse-nr3 joins (~francesco@151.57.239.6)
22:15:53 sm[i] joins (~sm@plaintextaccounting/sm)
22:19:24 cfricke joins (~cfricke@user/cfricke)
22:20:20 adanwan joins (~adanwan@gateway/tor-sasl/adanwan)
22:21:16 × neuroevolutus quits (~neuroevol@2606:2e00:8007:1::a31e) (Quit: Client closed)
22:21:32 × dcoutts quits (~duncan@host86-178-182-132.range86-178.btcentralplus.com) (Ping timeout: 252 seconds)
22:21:57 × ubert quits (~Thunderbi@178.115.75.231.wireless.dyn.drei.com) (Ping timeout: 260 seconds)
22:22:08 ub joins (~Thunderbi@91.141.57.75.wireless.dyn.drei.com)
22:22:54 × cfricke quits (~cfricke@user/cfricke) (Client Quit)
22:23:52 thegeekinside joins (~thegeekin@189.141.65.87)
22:24:15 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
22:24:23 ub is now known as ubert
22:26:37 × ddellacosta quits (~ddellacos@143.244.47.76) (Ping timeout: 260 seconds)
22:30:57 merijn joins (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
22:31:52 × coot quits (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot)
22:32:23 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
22:33:56 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
22:33:56 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
22:33:56 dibblego joins (~dibblego@haskell/developer/dibblego)
22:35:27 × merijn quits (~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 246 seconds)
22:38:17 × danse-nr3 quits (~francesco@151.57.239.6) (Ping timeout: 260 seconds)
22:38:17 qqq joins (~qqq@92.43.167.61)
22:45:31 × Square2 quits (~Square@user/square) (Quit: Leaving)
22:45:52 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
22:46:53 × jmdaemon quits (~jmdaemon@user/jmdaemon) (Quit: ZNC 1.8.2 - https://znc.in)
22:49:06 × acidjnk quits (~acidjnk@p200300d6e7072f47c4518b621df42806.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
22:56:49 × Inst quits (~Inst@2601:6c4:4081:2fc0:452a:b245:2efc:f3e4) (Ping timeout: 246 seconds)
22:56:58 Inst joins (~Inst@c-76-101-10-131.hsd1.fl.comcast.net)
22:57:51 × xff0x quits (~xff0x@2405:6580:b080:900:c00a:1568:1eb1:8f96) (Ping timeout: 246 seconds)
22:57:56 × Inst quits (~Inst@c-76-101-10-131.hsd1.fl.comcast.net) (Remote host closed the connection)
22:58:14 xff0x joins (~xff0x@178.255.149.135)
23:05:35 jmd_ joins (~jmdaemon@user/jmdaemon)
23:07:20 zmt01 joins (~zmt00@user/zmt00)
23:09:59 wroathe joins (~wroathe@user/wroathe)
23:10:44 × zmt00 quits (~zmt00@user/zmt00) (Ping timeout: 246 seconds)
23:12:39 × mima quits (~mmh@aftr-82-135-83-10.dynamic.mnet-online.de) (Ping timeout: 260 seconds)
23:14:18 × thegeekinside quits (~thegeekin@189.141.65.87) (Ping timeout: 246 seconds)
23:14:21 × wroathe quits (~wroathe@user/wroathe) (Client Quit)
23:15:34 × xff0x quits (~xff0x@178.255.149.135) (Ping timeout: 260 seconds)
23:15:42 wroathe joins (~wroathe@user/wroathe)
23:16:22 sayola1 joins (~sayola@2a00:20:6002:cc00:5d0a:3c6:7f6a:3652)
23:17:19 × sayola quits (~sayola@2a00:20:b047:ebf2:edae:316a:6fef:1523) (Ping timeout: 260 seconds)
23:17:25 xff0x joins (~xff0x@2405:6580:b080:900:c00a:1568:1eb1:8f96)
23:17:49 mauke_ joins (~mauke@user/mauke)
23:19:39 × mauke quits (~mauke@user/mauke) (Ping timeout: 260 seconds)
23:19:39 mauke_ is now known as mauke
23:20:52 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 260 seconds)
23:22:12 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
23:22:12 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
23:22:12 dibblego joins (~dibblego@haskell/developer/dibblego)
23:22:12 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
23:27:10 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 252 seconds)
23:27:14 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 260 seconds)
23:30:47 × cptaffe quits (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net) (Ping timeout: 260 seconds)
23:30:47 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
23:30:47 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
23:30:47 dibblego joins (~dibblego@haskell/developer/dibblego)
23:33:54 × jmd_ quits (~jmdaemon@user/jmdaemon) (Ping timeout: 246 seconds)
23:35:37 harveypwca joins (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67)
23:36:21 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Remote host closed the connection)
23:36:26 cptaffe joins (~cptaffe@99-47-99-155.lightspeed.ltrkar.sbcglobal.net)
23:38:43 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
23:39:30 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 246 seconds)
23:43:33 jmd_ joins (~jmdaemon@user/jmdaemon)
23:45:02 dibblego joins (~dibblego@116-255-1-151.ip4.superloop.au)
23:45:02 × dibblego quits (~dibblego@116-255-1-151.ip4.superloop.au) (Changing host)
23:45:02 dibblego joins (~dibblego@haskell/developer/dibblego)
23:54:39 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 260 seconds)
23:59:18 × sm[i] quits (~sm@plaintextaccounting/sm) (Quit: sm[i])

All times are in UTC on 2023-08-03.