Home liberachat/#haskell: Logs Calendar

Logs on 2022-01-17 (liberachat/#haskell)

00:01:02 × Gurkenglas quits (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de) (Ping timeout: 240 seconds)
00:02:31 benin2 joins (~benin@183.82.179.241)
00:03:58 × burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Remote host closed the connection)
00:04:45 × benin quits (~benin@183.82.179.241) (Ping timeout: 256 seconds)
00:04:46 benin2 is now known as benin
00:05:18 burnsidesLlama joins (~burnsides@dhcp168-012.wadham.ox.ac.uk)
00:10:28 × max22- quits (~maxime@2a01cb0883359800342882a7243a01c5.ipv6.abo.wanadoo.fr) (Remote host closed the connection)
00:12:36 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 250 seconds)
00:13:36 × Constraintegic quits (~DundiDund@ppp-212-114-229-130.dynamic.mnet-online.de) (Remote host closed the connection)
00:16:04 × zmt00 quits (~zmt00@user/zmt00) (Read error: Connection reset by peer)
00:19:37 × n3rdy1 quits (~n3rdy1@2600:1700:4570:3480:1b88:50f:dae0:9293) (Ping timeout: 240 seconds)
00:19:58 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 250 seconds)
00:25:55 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
00:28:05 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
00:28:05 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
00:28:05 wroathe joins (~wroathe@user/wroathe)
00:28:11 random-jellyfish joins (~random-je@user/random-jellyfish)
00:32:32 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 240 seconds)
00:32:39 merijn joins (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl)
00:34:20 × Tuplanolla quits (~Tuplanoll@91-159-69-157.elisa-laajakaista.fi) (Quit: Leaving.)
00:37:12 × Midjak quits (~Midjak@may53-1-78-226-116-92.fbx.proxad.net) (Quit: This computer has gone to sleep)
00:38:35 × Everything quits (~Everythin@37.115.210.35) (Quit: leaving)
00:40:02 × yauhsien_ quits (~yauhsien@61-231-24-192.dynamic-ip.hinet.net) (Ping timeout: 240 seconds)
00:54:37 × jkaye quits (~jkaye@2601:281:8300:7530:4077:3f1e:888b:24b3) (Ping timeout: 240 seconds)
00:56:53 × tommd quits (~tommd@75-164-130-101.ptld.qwest.net) (Ping timeout: 256 seconds)
00:59:33 × random-jellyfish quits (~random-je@user/random-jellyfish) (Ping timeout: 256 seconds)
01:02:37 qrpnxz parts (abc4f95c31@user/qrpnxz) (Disconnected: Replaced by new connection)
01:02:43 szkl joins (uid110435@id-110435.uxbridge.irccloud.com)
01:02:48 qrpnxz joins (abc4f95c31@user/qrpnxz)
01:03:07 qrpnxz parts (abc4f95c31@user/qrpnxz) ()
01:03:22 qrpnxz joins (abc4f95c31@user/qrpnxz)
01:03:53 × califax quits (~califax@user/califx) (Remote host closed the connection)
01:06:58 califax joins (~califax@user/califx)
01:07:05 × merijn quits (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds)
01:09:06 machinedgod joins (~machinedg@24.105.81.50)
01:09:43 × little_mac quits (~little_ma@2601:410:4300:3ce0:1926:260a:1924:1e2) (Remote host closed the connection)
01:10:12 tommd joins (~tommd@75-164-130-101.ptld.qwest.net)
01:11:26 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:11:53 nautical joins (~nautical@2601:602:900:1630::7cbb)
01:13:14 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
01:16:11 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
01:16:11 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
01:16:11 wroathe joins (~wroathe@user/wroathe)
01:17:33 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:23:40 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 250 seconds)
01:31:53 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
01:31:53 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
01:31:53 wroathe joins (~wroathe@user/wroathe)
01:36:02 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 240 seconds)
01:40:21 zebrag joins (~chris@user/zebrag)
01:42:13 × nunggu quits (~q@user/nunggu) (Quit: nunggu)
01:42:53 lavaman joins (~lavaman@98.38.249.169)
01:47:45 × jackson99 quits (~bc8147f2@cerf.good1.com) (Quit: CGI:IRC (Ping timeout))
01:55:32 Inst joins (~delicacie@2601:6c4:4080:3f80:4437:11a4:119d:8219)
01:59:32 × kjak quits (~kjak@pool-108-45-56-21.washdc.fios.verizon.net) (Ping timeout: 240 seconds)
02:00:56 × h_ quits (rootvegeta@fsf/member/hays) ()
02:01:53 × pieguy128 quits (~pieguy128@bras-base-mtrlpq5031w-grc-43-67-70-144-105.dsl.bell.ca) (Ping timeout: 256 seconds)
02:03:32 hays joins (rootvegeta@fsf/member/hays)
02:06:34 × chomwitt quits (~chomwitt@2a02:587:dc0b:200:12c3:7bff:fe6d:d374) (Ping timeout: 250 seconds)
02:07:07 califax- joins (~califax@user/califx)
02:09:40 pieguy128 joins (~pieguy128@bras-base-mtrlpq5031w-grc-35-70-24-248-134.dsl.bell.ca)
02:09:54 × califax quits (~califax@user/califx) (Ping timeout: 276 seconds)
02:09:55 califax- is now known as califax
02:10:05 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
02:10:05 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
02:10:05 wroathe joins (~wroathe@user/wroathe)
02:14:32 × pieguy128 quits (~pieguy128@bras-base-mtrlpq5031w-grc-35-70-24-248-134.dsl.bell.ca) (Ping timeout: 240 seconds)
02:15:05 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
02:15:48 pieguy128 joins (~pieguy128@bras-base-mtrlpq5031w-grc-35-70-24-248-134.dsl.bell.ca)
02:19:08 × tommd quits (~tommd@75-164-130-101.ptld.qwest.net) (Ping timeout: 250 seconds)
02:23:17 × xff0x quits (~xff0x@2001:1a81:52d5:6400:be64:2647:1b3d:efbf) (Ping timeout: 240 seconds)
02:23:33 × mmhat quits (~mmh@55d4c3c9.access.ecotel.net) (Quit: WeeChat 3.4)
02:24:39 neurocyte0917093 joins (~neurocyte@92.119.9.203)
02:24:39 × neurocyte0917093 quits (~neurocyte@92.119.9.203) (Changing host)
02:24:39 neurocyte0917093 joins (~neurocyte@user/neurocyte)
02:25:29 xff0x joins (~xff0x@2001:1a81:53cb:cc00:21cb:98bd:c9ae:29cb)
02:26:56 × neurocyte091709 quits (~neurocyte@user/neurocyte) (Ping timeout: 250 seconds)
02:26:56 neurocyte0917093 is now known as neurocyte091709
02:26:59 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
02:26:59 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
02:26:59 wroathe joins (~wroathe@user/wroathe)
02:27:23 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 256 seconds)
02:40:01 × waleee quits (~waleee@h-98-128-229-110.NA.cust.bahnhof.se) (Ping timeout: 256 seconds)
02:41:48 leibniz joins (~leibniz@cpc101088-sgyl37-2-0-cust22.18-2.cable.virginm.net)
02:42:28 <leibniz> im wondering if i should open a proposal for a superclass but i cant phrase it
02:42:46 <leibniz> could anyone help?
02:43:46 zmt00 joins (~zmt00@user/zmt00)
02:43:56 <leibniz> oh, i just checked the logs, doesnt look like anyones online
02:43:59 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
02:44:52 <EvanR> netsplit?
02:45:35 <leibniz> im not sure what that is
02:46:07 <cheater> it's sunday
02:46:11 <cheater> it's normal
02:46:22 <cheater> most haskell people are around CET ish
02:46:28 <cheater> it's 4 am right now in europe
02:46:36 <leibniz> fair
02:47:03 <leibniz> does anyone know about monadic lists?
02:47:18 <cheater> not me
02:47:23 <EvanR> i.e. concatMap ?
02:47:29 <leibniz> :t concatMap
02:47:30 <lambdabot> Foldable t => (a -> [b]) -> t a -> [b]
02:47:39 <leibniz> no thats just Foldable
02:47:40 <EvanR> :t concatMap @[]
02:47:41 <lambdabot> error:
02:47:41 <lambdabot> Pattern syntax in expression context: concatMap@[]
02:47:41 <lambdabot> Did you mean to enable TypeApplications?
02:47:48 <EvanR> yes, I did
02:47:57 <EvanR> % :t concatMap @[]
02:47:57 <leibniz> oh right, no, not the list monad
02:47:57 <yahb> EvanR: (a -> [b]) -> [a] -> [b]
02:48:03 <leibniz> i mean when the tail is in a monad
02:48:19 <leibniz> eg for trees or server calls
02:48:26 × TonyStone quits (~TonyStone@cpe-74-76-51-197.nycap.res.rr.com) (Remote host closed the connection)
02:48:56 <EvanR> Not sure what you mean
02:49:03 × alx741 quits (~alx741@157.100.93.160) (Quit: alx741)
02:49:25 <leibniz> not Foldable t => t a, more like Monad m,Something t => t m a
02:49:53 <leibniz> i dont think its just Foldable (t m)
02:50:13 <EvanR> what is Something
02:50:20 <EvanR> supposed to be
02:50:21 <leibniz> idk, thats the proposal
02:50:26 <EvanR> ok, make it
02:50:28 <leibniz> specifically i think there is some interference with Traversable
02:50:33 <leibniz> :t traverse
02:50:34 <lambdabot> (Traversable t, Applicative f) => (a -> f b) -> t a -> f (t b)
02:50:54 <leibniz> that Applicative f becomes a problem for lazy evaluation
02:51:04 <leibniz> if it doesnt commute with the monad
02:51:28 <leibniz> i think this motivates some kind of superclass or something but i cant figure it out
02:52:17 <leibniz> either you need to make a constraint that the monad and the applicative commute, or you need to only use applicatives like State that commute with arbitrary monads
02:52:36 <leibniz> :t mapAccumR
02:52:37 <lambdabot> Traversable t => (a -> b -> (a, c)) -> a -> t b -> (a, t c)
02:52:49 <leibniz> such as here where StateR is being used
02:53:03 × burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Remote host closed the connection)
02:53:43 <leibniz> basically thats the proposal in its current form, but i think if i had help it could be made more precise
02:54:11 <leibniz> makes sense?
02:55:44 <leibniz> seems to only be an issue for tails wrapped in monads
02:56:32 justsomeguy joins (~justsomeg@user/justsomeguy)
02:56:41 <leibniz> seems quite central to an algebra of stream transducers, ie being able to monoidally compose mapAccumR calls
02:57:32 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 240 seconds)
02:57:46 <leibniz> i think you can call them scanners, from if the state gathers the values returned so far, and outputs them
02:58:07 <leibniz> like scan
02:58:29 <leibniz> i have to log off now, but ill check back soon to see if anyone has any input
02:58:32 × leibniz quits (~leibniz@cpc101088-sgyl37-2-0-cust22.18-2.cable.virginm.net) (Quit: Connection closed)
02:58:50 TonyStone joins (~TonyStone@2603-7080-8607-c36a-9cdb-69bc-753b-1e50.res6.spectrum.com)
03:00:02 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
03:00:21 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
03:03:38 merijn joins (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl)
03:04:46 × lemonsni- quits (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net) (Quit: ZNC 1.8.2 - https://znc.in)
03:05:52 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
03:05:52 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
03:05:52 wroathe joins (~wroathe@user/wroathe)
03:06:30 burnsidesLlama joins (~burnsides@dhcp168-012.wadham.ox.ac.uk)
03:10:32 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 240 seconds)
03:11:28 dyeplexer joins (~dyeplexer@user/dyeplexer)
03:11:56 × nautical quits (~nautical@2601:602:900:1630::7cbb) (Quit: WeeChat 3.3)
03:17:03 lemonsnicks joins (~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net)
03:31:12 × theproffesor quits (~theproffe@user/theproffesor) (Quit: Leaving)
03:33:54 theproffesor joins (~theproffe@user/theproffesor)
03:37:02 × td_ quits (~td@muedsl-82-207-238-133.citykom.de) (Ping timeout: 240 seconds)
03:37:39 × merijn quits (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds)
03:38:50 td_ joins (~td@94.134.91.126)
03:43:02 slack1256 joins (~slack1256@186.11.99.46)
03:45:25 × zmt00 quits (~zmt00@user/zmt00) (Read error: Connection reset by peer)
03:46:52 zmt00 joins (~zmt00@user/zmt00)
03:49:16 × jespada quits (~jespada@87.74.36.188) (Ping timeout: 250 seconds)
03:50:37 shapr joins (~user@50-206-240-178-static.hfc.comcastbusiness.net)
03:52:45 jespada joins (~jespada@87.74.36.188)
03:54:12 yauhsien_ joins (~yauhsien@61-231-24-192.dynamic-ip.hinet.net)
03:56:06 × juhp quits (~juhp@128.106.188.82) (Quit: juhp)
03:56:19 juhp joins (~juhp@128.106.188.82)
03:58:03 × perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.4)
03:58:47 × yauhsien_ quits (~yauhsien@61-231-24-192.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
04:03:03 stevenxl joins (~stevenxl@174.128.182.101)
04:04:00 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
04:04:00 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
04:04:00 wroathe joins (~wroathe@user/wroathe)
04:07:15 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.4)
04:08:13 × jlamothe quits (~jlamothe@198.251.61.229) (Ping timeout: 240 seconds)
04:08:52 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.3)
04:12:10 leibniz joins (~leibniz@cpc101088-sgyl37-2-0-cust22.18-2.cable.virginm.net)
04:12:43 slac29495 joins (~slack1256@191.126.227.201)
04:13:48 × leibniz quits (~leibniz@cpc101088-sgyl37-2-0-cust22.18-2.cable.virginm.net) (Client Quit)
04:14:50 × slack1256 quits (~slack1256@186.11.99.46) (Ping timeout: 250 seconds)
04:14:54 slac29495 is now known as slack1256
04:15:12 jlamothe joins (~jlamothe@198.251.61.229)
04:19:18 × rembo10 quits (~rembo10@remulis.com) (Quit: ZNC 1.8.2 - https://znc.in)
04:20:21 rembo10 joins (~rembo10@remulis.com)
04:26:43 <Axman6> > iterate cos 0.5
04:26:44 <lambdabot> [0.5,0.8775825618903728,0.6390124941652592,0.8026851006823349,0.694778026788...
04:26:53 <Axman6> > drop 100 $ iterate cos 0.5
04:26:54 <lambdabot> [0.7390851332151607,0.7390851332151607,0.7390851332151607,0.7390851332151607...
04:27:36 Akiva joins (~Akiva@user/Akiva)
04:29:33 mbuf joins (~Shakthi@223.178.78.253)
04:30:17 <jackdk> Axman6: I was watching that vid this morning too
04:31:45 stevenxl_ joins (~stevenxl@174.128.182.40)
04:33:02 × stevenxl quits (~stevenxl@174.128.182.101) (Ping timeout: 240 seconds)
04:33:55 <Axman6> ha
04:37:45 n3rdy1 joins (~n3rdy1@2600:1700:4570:3480::41)
04:38:21 × xkuru quits (~xkuru@user/xkuru) (Read error: Connection reset by peer)
04:39:33 <ephemient> fix cos -- /s
04:45:26 × slack1256 quits (~slack1256@191.126.227.201) (Remote host closed the connection)
04:46:11 bontaq joins (~user@ool-45779fe5.dyn.optonline.net)
04:52:37 × shapr quits (~user@50-206-240-178-static.hfc.comcastbusiness.net) (Ping timeout: 256 seconds)
04:59:15 <EvanR> > fix cos :: CReal
04:59:17 <lambdabot> *Exception: <<loop>>
05:00:26 <EvanR> if real numbers are so real how come you've never seen one
05:01:26 deadmarshal joins (~deadmarsh@95.38.231.124)
05:03:48 × stevenxl_ quits (~stevenxl@174.128.182.40) (Ping timeout: 250 seconds)
05:06:13 × geranim0 quits (~geranim0@modemcable242.171-178-173.mc.videotron.ca) (Ping timeout: 256 seconds)
05:15:52 stevenxl joins (~stevenxl@174.128.182.118)
05:27:57 × n3rdy1 quits (~n3rdy1@2600:1700:4570:3480::41) (Ping timeout: 240 seconds)
05:29:22 zmt01 joins (~zmt00@user/zmt00)
05:32:17 × zmt00 quits (~zmt00@user/zmt00) (Ping timeout: 240 seconds)
05:33:59 merijn joins (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl)
05:41:23 n3rdy1 joins (~n3rdy1@2600:1700:4570:3480:1b88:50f:dae0:9293)
05:44:28 jeremyn joins (~jeremyn@098-147-212-046.res.spectrum.com)
05:44:31 jeremyn_ joins (~jeremyn@098-147-212-046.res.spectrum.com)
05:46:32 × benin quits (~benin@183.82.179.241) (Quit: Ping timeout (120 seconds))
05:46:50 benin joins (~benin@183.82.179.241)
05:57:17 × emf quits (~emf@2620:10d:c090:400::5:2d26) (Ping timeout: 240 seconds)
06:00:11 emf joins (~emf@2620:10d:c090:400::5:2d26)
06:03:10 × deadmarshal quits (~deadmarsh@95.38.231.124) (Ping timeout: 250 seconds)
06:07:17 × zmt01 quits (~zmt00@user/zmt00) (Ping timeout: 240 seconds)
06:07:47 × slowButPresent quits (~slowButPr@user/slowbutpresent) (Quit: leaving)
06:08:15 <c_wraith> real numbers are one of the more misnamed mathematical constructions. :P
06:08:23 × merijn quits (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds)
06:17:01 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
06:18:06 deadmarshal joins (~deadmarsh@95.38.231.124)
06:19:45 × echoreply quits (~echoreply@45.32.163.16) (Quit: WeeChat 2.8)
06:20:14 echoreply joins (~echoreply@45.32.163.16)
06:22:21 chomwitt joins (~chomwitt@athedsl-15695.home.otenet.gr)
06:26:25 dut joins (~dut@user/dut)
06:31:28 × jeremyn quits (~jeremyn@098-147-212-046.res.spectrum.com) (Quit: Leaving)
06:31:28 × jeremyn_ quits (~jeremyn@098-147-212-046.res.spectrum.com) (Quit: Leaving)
06:31:47 × deadmarshal quits (~deadmarsh@95.38.231.124) (Ping timeout: 256 seconds)
06:33:19 <hololeap> what vid is this?
06:34:33 <jackdk> https://www.youtube.com/watch?v=qHnXE_h5c2M finding the fix point of `cos`
06:34:58 <hololeap> thanks
06:35:18 Jing joins (~hedgehog@240e:390:7c53:a7e1:fd8d:5488:d800:7443)
06:35:20 <hololeap> what is the "dependent" in the package dependent-map? is this related to dependent types?
06:35:33 <jackdk> the type of the value depends on the key
06:36:37 <EvanR> if you think of a Data.Map as a function from key to value, dependent map is a dependent function from key to value
06:37:02 <xsperry> 7
06:37:14 <jackdk> good number, I use it a lot in my work
06:37:36 takuan joins (~takuan@178-116-218-225.access.telenet.be)
06:37:47 <hololeap> but is this the same "dependent" that's in dependent types? I understand dependent-map but I haven't understood dependent types
06:38:34 <hololeap> just wondering if they're related somehow
06:39:13 <EvanR> yeah by dependent function i mean a function with a Pi type
06:39:29 <EvanR> where the type of output depends on the input value
06:41:20 <hololeap> what I understand of dependent types, is that things like finite-typelits can be expressed more naturally, and with arbitrary types (as opposed to just Nat/Integer). does this relate to what I just described, or am I mistaken?
06:42:43 <hololeap> sorry, there's a lot to unpack there. I should probably get some understanding of what dependent types are before asking ths.
06:43:01 deadmarshal joins (~deadmarsh@95.38.231.124)
06:43:02 × bollu quits (~bollu@159.65.151.13) (Ping timeout: 250 seconds)
06:43:35 bollu joins (~bollu@159.65.151.13)
06:46:11 <hololeap> as far as dependent-map goes, I am going to use it to parse key-value pairs where different keys have different representations. I'll also have a Text "key" for unmatched representations, and a () (or Comment) key for comments
06:47:20 × bollu quits (~bollu@159.65.151.13) (Client Quit)
06:47:40 bollu joins (~bollu@159.65.151.13)
06:47:41 <geekosaur> I think you're asking for the opposite of dependent-map? you want all the keys to have different types, instead of the values?
06:47:45 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Quit: Leaving)
06:48:15 <hololeap> no, I phrased that incorrectly, I meant "where different keys have different _value_ representations"
06:49:18 <geekosaur> okay, then this may be for you. it's not really dependent types although it's closely related
06:50:18 <hololeap> for instance, a key with the text "name" would yield a Name as its value, where "address" would yield an Address as its value
06:50:27 _ht joins (~quassel@2a02:a468:b619:1:a06e:65c3:1bfa:20a6)
06:50:55 <geekosaur> (I think internally it uses TypeRep and cast from Data.Typeable, so actually it's closer to dynamic typing, but to the extent that each key determines the type of a value, it's more principled than dynamic typing)
06:51:13 <hololeap> it doesn't fit very well into the traditional Map representation where all keys are one type and all values are also one type
06:52:33 <awpr> it does seem applicable here, but is there some reason this can't be just a record? I guess accepting arbitrary orderings of fields could be fiddly if not using a map to accumulate them
06:53:00 <geekosaur> also partial records are a PITA
06:53:16 <hololeap> yes, and there may be multiple lines of the same field with different values, and the values need to be appended
06:54:08 <hololeap> for instance: Address: 123 Main St -- this may be one of multiple "Address:" lines
06:54:18 <awpr> doesn't seem to be a problem for a record, especially if zero lines of a given field should be an empty value in whatever monoid
06:54:31 <geekosaur> yeh, at that point it sounds like a record oflists
06:54:37 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Ping timeout: 240 seconds)
06:55:26 <awpr> (or HKD record where you collect everything and then validate that all the required bits were set at the end)
06:56:02 <hololeap> so accumulate it into a record of Text, and then split it into different types later?
06:56:41 <geekosaur> no, you accumulate it into a record of typed fields, you just initialize all of those fields to [] or whatever before parsing
06:56:42 <awpr> `data Thing = Thing { address :: Text, phones :: [IntOrSomething] }`
06:56:58 <geekosaur> this assumes you know all the types up front; if you don't then you may be back to a dependent map
06:57:08 <geekosaur> but then if you don't it may be difficult to work with anyway
06:57:12 <awpr> also assumes finitely many fields / a fixed set of fields
06:57:27 <hololeap> ok so they all have to be monoids and are initialized with mempty
06:57:48 <hololeap> all the fields
06:57:48 <awpr> yeah, that's one option, if it makes sense for them all to be accreted monoidally from each KV entry
06:58:21 <hololeap> that's basically what I'm doing, is a mappend operation from each line that comes in
06:58:48 <hololeap> ok, that makes sense
07:00:07 × chomwitt quits (~chomwitt@athedsl-15695.home.otenet.gr) (Ping timeout: 256 seconds)
07:00:59 <hololeap> I was imagining this as one giant Map with different types, but it makes sense to create a sum of Maps, each with different types
07:01:20 <hololeap> or something like that
07:02:02 <hololeap> it doesn't even have to be a map since it already has
07:02:10 <hololeap> "keys" by being a record
07:02:28 ahammer joins (~ahammer@157.122.68.240)
07:03:34 × ahammer quits (~ahammer@157.122.68.240) (Client Quit)
07:05:45 <hololeap> is it preferable to run a parser library on individual lines, or give it the whole input and break it into lines within the library?
07:07:56 <dsal> aLine `endBy` "\n"
07:08:55 <dsal> Though, it depends, I guess. I run attoparsec on a line at a time in a line based streaming protocol.
07:09:32 × benin quits (~benin@183.82.179.241) (Ping timeout: 240 seconds)
07:09:58 mc47 joins (~mc47@xmonad/TheMC47)
07:11:41 <hololeap> with something like megaparsec, there might be context if I do the line breaks within the library
07:12:41 <hololeap> so if a parse error occurs I get more data
07:13:03 rusrushal13 joins (~rusrushal@2401:4900:5d3a:7a52:1002:e7e:5883:6105)
07:14:41 mikoto-chan joins (~mikoto-ch@213.177.151.239)
07:19:23 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 256 seconds)
07:21:00 mikoto-chan joins (~mikoto-ch@213.177.151.239)
07:21:10 chomwitt joins (~chomwitt@2a02:587:dc0b:200:12c3:7bff:fe6d:d374)
07:22:47 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
07:23:45 × deadmarshal quits (~deadmarsh@95.38.231.124) (Ping timeout: 256 seconds)
07:24:47 qrpnxz parts (abc4f95c31@user/qrpnxz) (Disconnected: closed)
07:24:56 qrpnxz joins (abc4f95c31@user/qrpnxz)
07:26:08 <jackdk> hololeap: Ed's given a couple of talks on Monoidal Parsing, and what you have to do to a language design to make it amenable to fast parsing
07:26:50 <jackdk> there's a 42 min keynote from scala world (in Haskell) and a 90min talk at Boston Haskell which I haven't watched
07:31:20 deadmarshal joins (~deadmarsh@95.38.231.124)
07:35:48 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
07:38:10 geekosaur joins (~geekosaur@xmonad/geekosaur)
07:44:34 azimut_ joins (~azimut@gateway/tor-sasl/azimut)
07:47:17 × emf quits (~emf@2620:10d:c090:400::5:2d26) (Ping timeout: 240 seconds)
07:48:10 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
07:48:33 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 276 seconds)
07:52:00 emf joins (~emf@2620:10d:c090:400::5:2d26)
07:55:47 benin joins (~benin@183.82.179.241)
07:55:57 lewisje joins (~lewisje@72.49.207.113)
07:56:43 gehmehgeh joins (~user@user/gehmehgeh)
07:57:32 × Erutuon quits (~Erutuon@user/erutuon) (Ping timeout: 240 seconds)
07:58:37 lortabac joins (~lortabac@2a01:e0a:541:b8f0:9659:19c7:2455:b4cc)
07:58:38 biog joins (~user1@static.39.160.132.142.clients.your-server.de)
07:58:54 cfricke joins (~cfricke@user/cfricke)
08:00:24 dhouthoo joins (~dhouthoo@178-117-36-167.access.telenet.be)
08:01:10 max22- joins (~maxime@lfbn-ren-1-1026-62.w92-139.abo.wanadoo.fr)
08:03:31 michalz joins (~michalz@185.246.204.107)
08:04:31 merijn joins (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl)
08:10:32 coot joins (~coot@89-64-85-93.dynamic.chello.pl)
08:12:29 chele joins (~chele@user/chele)
08:12:41 <earthy> 'do to a language' or to a grammar?
08:29:57 MajorBiscuit joins (~MajorBisc@c-001-020-016.client.tudelft.eduvpn.nl)
08:31:11 × rusrushal13 quits (~rusrushal@2401:4900:5d3a:7a52:1002:e7e:5883:6105) (Ping timeout: 256 seconds)
08:33:02 × deadmarshal quits (~deadmarsh@95.38.231.124) (Ping timeout: 240 seconds)
08:37:20 xkuru joins (~xkuru@user/xkuru)
08:38:43 × merijn quits (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds)
08:41:23 × xkuru quits (~xkuru@user/xkuru) (Remote host closed the connection)
08:45:02 Erutuon joins (~Erutuon@user/erutuon)
08:45:40 merijn joins (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl)
08:47:30 zincy_ joins (~zincy@2a00:23c8:970c:4801:911c:c4ab:2f7e:d3f1)
08:49:50 machinedgod joins (~machinedg@24.105.81.50)
08:54:44 × neurocyte091709 quits (~neurocyte@user/neurocyte) (Quit: The Lounge - https://thelounge.chat)
08:59:52 razetime joins (~quassel@49.207.203.87)
09:00:47 × shriekingnoise quits (~shrieking@201.231.16.156) (Quit: Quit)
09:01:33 neurocyte091709 joins (~neurocyte@92.119.9.203)
09:01:33 × neurocyte091709 quits (~neurocyte@92.119.9.203) (Changing host)
09:01:33 neurocyte091709 joins (~neurocyte@user/neurocyte)
09:01:48 × neurocyte091709 quits (~neurocyte@user/neurocyte) (Client Quit)
09:02:50 × zincy_ quits (~zincy@2a00:23c8:970c:4801:911c:c4ab:2f7e:d3f1) (Remote host closed the connection)
09:05:35 neurocyte091709 joins (~neurocyte@92.119.9.203)
09:05:35 × neurocyte091709 quits (~neurocyte@92.119.9.203) (Changing host)
09:05:35 neurocyte091709 joins (~neurocyte@user/neurocyte)
09:06:38 × kmein quits (~weechat@user/kmein) (Quit: ciao kakao)
09:06:57 kmein joins (~weechat@user/kmein)
09:11:47 loonycyborg_ is now known as loonycyborg
09:12:03 × loonycyborg quits (~loonycybo@chantal.wesnoth.org) (Quit: ZNC - http://znc.sourceforge.net)
09:12:22 loonycyborg joins (~loonycybo@wesnoth/developer/loonycyborg)
09:14:39 × kmein quits (~weechat@user/kmein) (Quit: ciao kakao)
09:14:57 kmein joins (~weechat@user/kmein)
09:17:39 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
09:17:40 allbery_b joins (~geekosaur@xmonad/geekosaur)
09:17:43 allbery_b is now known as geekosaur
09:19:32 × raym quits (~raym@user/raym) (Ping timeout: 240 seconds)
09:21:11 raym joins (~raym@user/raym)
09:22:59 Gurkenglas joins (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de)
09:23:27 jgeerds joins (~jgeerds@55d4090e.access.ecotel.net)
09:23:30 Neuromancer joins (~Neuromanc@user/neuromancer)
09:24:29 xb0o2 joins (~xb0o2@user/xb0o2)
09:24:32 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
09:27:24 cosimone joins (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20)
09:28:25 × bontaq quits (~user@ool-45779fe5.dyn.optonline.net) (Ping timeout: 256 seconds)
09:30:28 × `2jt quits (~jtomas@10.red-83-58-228.dynamicip.rima-tde.net) (Remote host closed the connection)
09:30:51 `2jt joins (~jtomas@10.red-83-58-228.dynamicip.rima-tde.net)
09:38:59 deadmarshal joins (~deadmarsh@95.38.231.124)
09:40:17 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
09:42:43 deadmarshal_ joins (~deadmarsh@95.38.228.70)
09:43:19 × deadmarshal quits (~deadmarsh@95.38.231.124) (Ping timeout: 256 seconds)
09:49:48 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
09:55:03 × kritzefitz quits (~kritzefit@debian/kritzefitz) (Ping timeout: 256 seconds)
09:56:34 × tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz)
09:57:58 × burnsidesLlama quits (~burnsides@dhcp168-012.wadham.ox.ac.uk) (Remote host closed the connection)
09:58:13 × EsoAlgo4 quits (~EsoAlgo@152.70.142.52) (Ping timeout: 240 seconds)
10:03:48 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
10:04:08 geekosaur joins (~geekosaur@xmonad/geekosaur)
10:05:44 DaringJoker joins (~DaringJok@2400:1a00:b030:6c6d:89a3:38d7:fce1:bcf4)
10:08:11 <DaringJoker> Hey everyone, what is a good way to learn haskell . is there is some sort of exercises that could be seen as assessments to help me in the way of learning haskell? been learning for last few months. still do not feel confident enough with the language.
10:18:30 <merijn> @where exercises
10:18:30 <lambdabot> http://www.haskell.org/haskellwiki/H-99:_Ninety-Nine_Haskell_Problems https://github.com/bitemyapp/learnhaskell http://www.reddit.com/r/dailyprogrammer/ http://www.reddit.com/r/programmingchallenges/
10:18:47 <merijn> There's also the Advent of Code of previous years, of course
10:19:12 <merijn> DaringJoker: Although I don't think any of those are really assessments of how well you understand Haskell
10:19:55 <merijn> DaringJoker: In the end "just build something, get stuck, ask for help to figure out why, repeat" is the most effective way to test understanding :)
10:21:33 <DaringJoker> thank you
10:22:30 × Sgeo_ quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
10:23:19 wmacmil joins (~wmacmil@83-233-165-97.cust.bredband2.com)
10:24:05 <DaringJoker> also which book would you suggest to beginners "learn you a haskell for greater good" or "haskell programming from first principles" ?
10:25:39 jgeerds_ joins (~jgeerds@55d4090e.access.ecotel.net)
10:25:48 × phma quits (phma@2001:5b0:2172:f858:cd4e:e80c:6117:de1e) (Read error: Connection reset by peer)
10:26:02 dut_ joins (~dut@user/dut)
10:26:08 × dut_ quits (~dut@user/dut) (Client Quit)
10:26:44 <merijn> Not the first one
10:27:09 <DaringJoker> any other than those two?
10:27:11 <merijn> Learn You a Haskell is nice as a sort of "quick overview and intro", but it doesn't really teach you a lot about actually *writing* code
10:27:17 <merijn> @where books
10:27:17 <lambdabot> https://www.extrema.is/articles/haskell-books, see also @where LYAH, RWH, YAHT, SOE, HR, PIH, TFwH, wikibook, PCPH, HPFFP, HTAC, TwT, FoP, PFAD, WYAH, non-haskell-books
10:27:23 <merijn> @where PIH
10:27:23 <lambdabot> "Programming in Haskell" by Graham Hutton in 2007-01-15,2016-09-01 at <http://www.cs.nott.ac.uk/~pszgmh/pih.html>
10:27:35 <merijn> @where TFwH
10:27:35 <lambdabot> "Thinking Functionally with Haskell" by Richard Bird in Oct 2014 at <http://www.cs.ox.ac.uk/publications/books/functional/>
10:28:29 × jgeerds quits (~jgeerds@55d4090e.access.ecotel.net) (Ping timeout: 256 seconds)
10:28:34 Midjak joins (~Midjak@may53-1-78-226-116-92.fbx.proxad.net)
10:29:13 phma joins (~phma@2001:5b0:211f:fa48:96c6:f96e:9bb9:85b2)
10:29:34 <DaringJoker> Thank you merijn
10:30:21 × dut quits (~dut@user/dut) (Ping timeout: 256 seconds)
10:32:32 × biog quits (~user1@static.39.160.132.142.clients.your-server.de) (Ping timeout: 240 seconds)
10:36:37 EsoAlgo joins (~EsoAlgo@152.70.142.52)
10:38:17 × deadmarshal_ quits (~deadmarsh@95.38.228.70) (Ping timeout: 256 seconds)
10:38:42 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
10:41:32 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 240 seconds)
10:42:20 deadmarshal joins (~deadmarsh@95.38.228.70)
10:42:43 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
10:46:37 × DaringJoker quits (~DaringJok@2400:1a00:b030:6c6d:89a3:38d7:fce1:bcf4) (Ping timeout: 256 seconds)
10:47:57 × alMalsamo quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 276 seconds)
10:50:19 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
10:55:07 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 256 seconds)
11:00:47 × coot quits (~coot@89-64-85-93.dynamic.chello.pl) (Quit: coot)
11:01:05 alx741 joins (~alx741@157.100.93.160)
11:01:18 × jinsun quits (~quassel@user/jinsun) (Ping timeout: 250 seconds)
11:02:22 jinsun joins (~quassel@user/jinsun)
11:03:05 ubert joins (~Thunderbi@p200300ecdf0994547bbbb5c3c61d0cc2.dip0.t-ipconnect.de)
11:04:53 × jinsun quits (~quassel@user/jinsun) (Client Quit)
11:05:52 jinsun joins (~quassel@user/jinsun)
11:11:27 DaringJoker joins (~DaringJok@2400:1a00:b030:763:2873:85bc:27c7:f81)
11:12:03 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
11:12:28 × DaringJoker quits (~DaringJok@2400:1a00:b030:763:2873:85bc:27c7:f81) (Client Quit)
11:12:37 × Inst quits (~delicacie@2601:6c4:4080:3f80:4437:11a4:119d:8219) (Ping timeout: 240 seconds)
11:24:13 alMalsamo joins (~alMalsamo@gateway/tor-sasl/almalsamo)
11:26:26 × Erutuon quits (~Erutuon@user/erutuon) (Ping timeout: 250 seconds)
11:31:31 L29Ah joins (~L29Ah@wikipedia/L29Ah)
11:34:02 × Akiva quits (~Akiva@user/Akiva) (Ping timeout: 240 seconds)
11:35:05 __monty__ joins (~toonn@user/toonn)
11:40:02 × jzsinatra quits (~jzsinatra@88-114-238-31.elisa-laajakaista.fi) (Quit: leaving)
11:45:16 ksqsf joins (~user@134.209.106.31)
11:49:48 cstml joins (~cstml@user/cstml)
11:50:25 Hypnosz joins (~resende@2001:8a0:e389:bb00:24da:c021:5892:f151)
11:52:07 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
11:59:19 mmhat joins (~mmh@55d4d096.access.ecotel.net)
12:05:31 × Hypnosz quits (~resende@2001:8a0:e389:bb00:24da:c021:5892:f151) (Quit: Konversation terminated!)
12:05:44 Hypnosz joins (~resende@2001:8a0:e389:bb00:24da:c021:5892:f151)
12:07:36 × ksqsf quits (~user@134.209.106.31) (Ping timeout: 250 seconds)
12:07:49 × deadmarshal quits (~deadmarsh@95.38.228.70) (Ping timeout: 256 seconds)
12:09:31 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
12:09:56 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.3)
12:10:26 deadmarshal joins (~deadmarsh@95.38.228.70)
12:12:27 × Hypnosz quits (~resende@2001:8a0:e389:bb00:24da:c021:5892:f151) (Quit: Konversation terminated!)
12:12:59 Hypnosz joins (~resende@2001:8a0:e389:bb00:24da:c021:5892:f151)
12:17:08 × MasseR quits (~MasseR@51.15.143.128) (Quit: The Lounge - https://thelounge.chat)
12:17:45 MasseR4 joins (~MasseR@51.15.143.128)
12:25:48 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
12:25:52 perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
12:30:08 × deadmarshal quits (~deadmarsh@95.38.228.70) (Ping timeout: 250 seconds)
12:32:31 ksqsf joins (~user@134.209.106.31)
12:33:49 × ProfSimm quits (~ProfSimm@87.227.196.109) (Remote host closed the connection)
12:34:08 ProfSimm joins (~ProfSimm@87.227.196.109)
12:34:23 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
12:34:28 AlexNoo_ is now known as AlexNoo
12:37:16 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
12:37:41 × ksqsf quits (~user@134.209.106.31) (Ping timeout: 256 seconds)
12:49:05 ksqsf joins (~user@134.209.106.31)
12:50:19 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
12:54:17 × ksqsf quits (~user@134.209.106.31) (Ping timeout: 256 seconds)
12:56:18 lavaman joins (~lavaman@98.38.249.169)
13:00:32 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 240 seconds)
13:05:36 × bitdex_ quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "")
13:06:48 ksqsf joins (~user@134.209.106.31)
13:06:51 ub joins (~Thunderbi@141.98.252.232)
13:11:02 × ksqsf quits (~user@134.209.106.31) (Ping timeout: 240 seconds)
13:11:08 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
13:11:48 ahammer joins (~ahammer@157.122.68.240)
13:14:05 <wmacmil> when working with a cabal executable operating on text files, i.e. /app/Main.hs, can one specify in the .cabal file the location of the text files, /text/foo.txt
13:15:23 <wmacmil> so that one merely just hast to specify foo = "foo.txt" :: FilePath
13:18:32 × ahammer quits (~ahammer@157.122.68.240) (Ping timeout: 240 seconds)
13:18:42 slack1256 joins (~slack1256@186.11.101.174)
13:20:02 × jgeerds_ quits (~jgeerds@55d4090e.access.ecotel.net) (Ping timeout: 240 seconds)
13:20:22 slac26035 joins (~slack1256@191.126.227.201)
13:21:59 × fjmorazan quits (~quassel@user/fjmorazan) (Quit: fjmorazan)
13:22:30 fjmorazan joins (~quassel@user/fjmorazan)
13:23:11 × slack1256 quits (~slack1256@186.11.101.174) (Ping timeout: 256 seconds)
13:24:19 ksqsf joins (~user@134.209.106.31)
13:24:46 × jespada quits (~jespada@87.74.36.188) (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:24:52 <merijn> wmacmil: "It Depends (TM)"
13:30:07 <wmacmil> i mean i can just append everything with text/*, but just wondering *best practices*
13:30:23 <geekosaur> wmacmil, usually one uses the (generated if referenced) Paths module for this. https://cabal.readthedocs.io/en/3.4/cabal-package.html#accessing-data-files-from-package-code
13:32:52 lavaman joins (~lavaman@98.38.249.169)
13:34:08 <wmacmil> thanks!
13:36:26 Feuermagier joins (~Feuermagi@user/feuermagier)
13:37:21 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 256 seconds)
13:38:22 geranim0 joins (~geranim0@modemcable242.171-178-173.mc.videotron.ca)
13:39:04 ahammer joins (~ahammer@157.122.68.240)
13:39:08 × wolfshappen quits (~waff@irc.furworks.de) (Quit: later)
13:41:26 CiaoSen joins (~Jura@p200300c95737a2002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
13:41:33 jinsun__ joins (~quassel@user/jinsun)
13:41:57 × xb0o2 quits (~xb0o2@user/xb0o2) (Quit: Client closed)
13:44:02 DaringJoker joins (~DaringJok@2400:1a00:b030:472b:cd73:30b0:2c02:6066)
13:45:06 × jinsun quits (~quassel@user/jinsun) (Ping timeout: 250 seconds)
13:48:11 dut joins (~dut@user/dut)
13:51:02 echoone joins (~echoone@188.74.32.13)
13:51:39 deadmarshal joins (~deadmarsh@95.38.228.70)
13:52:28 × Hypnosz quits (~resende@2001:8a0:e389:bb00:24da:c021:5892:f151) (Ping timeout: 250 seconds)
13:53:09 × DaringJoker quits (~DaringJok@2400:1a00:b030:472b:cd73:30b0:2c02:6066) (Quit: Client closed)
13:57:43 × jinsun__ quits (~quassel@user/jinsun) (Quit: No Ping reply in 180 seconds.)
13:58:38 DNH joins (~DNH@2a02:8108:1100:16d8:6155:4b1c:4cef:c11c)
13:59:00 shriekingnoise joins (~shrieking@201.231.16.156)
13:59:07 kuribas joins (~user@ptr-25vy0i9haxfrs6rwale.18120a2.ip6.access.telenet.be)
13:59:10 jinsun joins (~quassel@user/jinsun)
13:59:16 <wmacmil> is there a way to interface hoogle with Dante
13:59:30 <wmacmil> so that one never has to leave the emacs terminal
13:59:49 xb0o2 joins (~xb0o2@user/xb0o2)
14:00:00 <geekosaur> I thought dante was dead/unsupported
14:01:34 <geekosaur> "Dante offers no support for eldoc (but can show type signatures in the minibuffer by modifying the variable: dante-tap-type-time), nor Hoogle."
14:02:23 <Hecate> damn I thought we were talking about network protocols all of a sudden
14:02:59 × perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.4)
14:06:12 <wmacmil> :/
14:06:26 <wmacmil> i've been using dante and it works just fine
14:07:05 <wmacmil> but just out of curiousity, what are other ide-type development setups compatible with emacs/spacemacs?
14:07:07 <geekosaur> probably does, but it's limited. there's an lsp-mode in emacs iirc, then you can use hls as the language server
14:07:38 <geekosaur> in fact I thought spacemacs came with that setup enabled
14:11:25 × jinsun quits (~quassel@user/jinsun) (Quit: No Ping reply in 180 seconds.)
14:12:33 × echoone quits (~echoone@188.74.32.13) (Quit: Client closed)
14:12:52 jinsun joins (~quassel@user/jinsun)
14:15:47 ec joins (~ec@gateway/tor-sasl/ec)
14:16:17 × phma quits (~phma@2001:5b0:211f:fa48:96c6:f96e:9bb9:85b2) (Read error: Connection reset by peer)
14:17:04 echoone joins (~echoone@188.74.32.13)
14:18:53 perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
14:18:53 × max22- quits (~maxime@lfbn-ren-1-1026-62.w92-139.abo.wanadoo.fr) (Read error: Connection reset by peer)
14:19:14 jkaye joins (~jkaye@2601:281:8300:7530:c6d6:7de6:6176:c300)
14:19:57 max22- joins (~maxime@lfbn-ren-1-1026-62.w92-139.abo.wanadoo.fr)
14:25:22 × max22- quits (~maxime@lfbn-ren-1-1026-62.w92-139.abo.wanadoo.fr) (Remote host closed the connection)
14:25:37 × xff0x quits (~xff0x@2001:1a81:53cb:cc00:21cb:98bd:c9ae:29cb) (Ping timeout: 240 seconds)
14:26:49 xff0x joins (~xff0x@2001:1a81:53cb:cc00:be2f:4794:e7a4:33cb)
14:26:55 max22- joins (~maxime@2a01cb08833598008a0dded606ad9bd8.ipv6.abo.wanadoo.fr)
14:26:58 × perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.4)
14:27:47 × deadmarshal quits (~deadmarsh@95.38.228.70) (Ping timeout: 256 seconds)
14:28:18 × wyrd quits (~wyrd@gateway/tor-sasl/wyrd) (Ping timeout: 276 seconds)
14:28:53 <polyphem> wmacmil: thers also : https://github.com/lazamar/haskell-docs-cli
14:29:11 <polyphem> wmacmil: if it suits your environment
14:32:39 perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
14:33:37 wyrd joins (~wyrd@gateway/tor-sasl/wyrd)
14:34:17 × alMalsamo quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Remote host closed the connection)
14:34:40 alMalsamo joins (~alMalsamo@gateway/tor-sasl/almalsamo)
14:37:27 shapr joins (~user@50-206-240-178-static.hfc.comcastbusiness.net)
14:40:03 × razetime quits (~quassel@49.207.203.87) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
14:47:30 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 250 seconds)
14:49:09 Topsi joins (~Tobias@dyndsl-095-033-095-097.ewe-ip-backbone.de)
14:49:23 mikoto-chan joins (~mikoto-ch@213.177.151.239)
14:53:59 wolfshappen joins (~waff@irc.furworks.de)
14:54:25 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 256 seconds)
14:58:54 biog joins (~user1@159.224.42.85)
15:00:51 × Kaiepi quits (~Kaiepi@156.34.47.253) (Remote host closed the connection)
15:04:19 × ahammer quits (~ahammer@157.122.68.240) (Quit: Leaving)
15:05:07 × echoone quits (~echoone@188.74.32.13) (Quit: Client closed)
15:10:12 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
15:14:28 mikoto-chan joins (~mikoto-ch@ptr-4oim6bu0n4pp6j2y5oj.18120a2.ip6.access.telenet.be)
15:14:35 echoone joins (~echoone@188.74.32.13)
15:19:31 alx741 joins (~alx741@157.100.93.160)
15:20:45 chele_ joins (~chele@user/chele)
15:20:46 × chele quits (~chele@user/chele) (Read error: Connection reset by peer)
15:22:43 jgeerds_ joins (~jgeerds@55d4090e.access.ecotel.net)
15:25:52 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
15:26:56 × raym quits (~raym@user/raym) (Ping timeout: 250 seconds)
15:28:12 raym joins (~raym@user/raym)
15:31:05 × wolfshappen quits (~waff@irc.furworks.de) (Ping timeout: 256 seconds)
15:32:35 wolfshappen joins (~waff@irc.furworks.de)
15:32:54 × echoone quits (~echoone@188.74.32.13) (Quit: Client closed)
15:34:51 atwm joins (~atwm@178.197.232.144)
15:36:21 echoone joins (~echoone@188.74.32.13)
15:37:02 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
15:37:03 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
15:37:03 wroathe joins (~wroathe@user/wroathe)
15:38:38 × mikoto-chan quits (~mikoto-ch@ptr-4oim6bu0n4pp6j2y5oj.18120a2.ip6.access.telenet.be) (Ping timeout: 250 seconds)
15:39:30 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Ping timeout: 250 seconds)
15:39:45 joes joins (~joes@dyndsl-095-033-032-093.ewe-ip-backbone.de)
15:42:06 jespada joins (~jespada@87.74.36.188)
15:42:41 alx741 joins (~alx741@157.100.93.160)
15:44:37 × jgeerds_ quits (~jgeerds@55d4090e.access.ecotel.net) (Ping timeout: 240 seconds)
15:46:45 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
15:49:02 × xlei_ quits (~akans@pool-71-125-19-142.nycmny.fios.verizon.net) (Ping timeout: 240 seconds)
15:51:37 × hays quits (rootvegeta@fsf/member/hays) (Ping timeout: 240 seconds)
15:54:43 hays joins (~rootveget@fsf/member/hays)
15:58:46 <Athas> Is something wrong with 'cabal update'? It finishes very quickly and gives me an index-state from the 1st of December 2021.
16:00:08 × hughjfchen[m] quits (~hughjfche@2001:470:69fc:105::c29d) (Quit: You have been kicked for being idle)
16:00:32 × merijn quits (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl) (Ping timeout: 240 seconds)
16:00:47 <sclv> Athas: check if you're actually pointing at hackage and don't have any weird caching proxies inbetween?
16:00:55 <jkaye> Worked for me this morning
16:01:12 <sclv> just worked for me. but any proxy between you and hackage might screw up things
16:01:23 <Athas> My $HOME/.cabal.config points at http://hackage.haskell.org/.
16:01:38 <sclv> right -- but do you have any network proxies in place?
16:01:52 <Athas> I guess there might be an intermediate proxy (I'm on a university network), but it'd have to be a recent screwup. It has worked for years.
16:02:06 <sclv> you can also try passing different --http-transport args which might work around that?
16:02:31 <Athas> https://hackage.haskell.org/timestamp.json gives me something sensible (that is, recent).
16:03:16 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
16:03:17 × stevenxl quits (~stevenxl@174.128.182.118) (Quit: leaving)
16:03:23 <Athas> From what I can see, cabal downloads that file and then concludes everything is OK.
16:03:25 <geekosaur> just worked for me
16:04:27 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
16:05:13 alx741 joins (~alx741@157.100.93.160)
16:05:53 zmt01 joins (~zmt00@user/zmt00)
16:06:50 phma joins (~phma@99.sub-174-212-111.myvzw.com)
16:07:29 dyeplexer joins (~dyeplexer@user/dyeplexer)
16:10:01 <Athas> Blasting my ~/.cabal fixed it. I'm guessing some cache or state got corrupted.
16:10:02 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
16:10:26 <Athas> Or I just enabled Groundhog Day mode somehow.
16:10:42 × echoone quits (~echoone@188.74.32.13) (Quit: Client closed)
16:11:29 × hays quits (~rootveget@fsf/member/hays) (Ping timeout: 256 seconds)
16:13:47 × ProfSimm quits (~ProfSimm@87.227.196.109) (Remote host closed the connection)
16:14:06 ProfSimm joins (~ProfSimm@87.227.196.109)
16:16:46 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
16:19:02 × lechner quits (~lechner@debian/lechner) (Ping timeout: 240 seconds)
16:20:38 × nek0 quits (~nek0@nek0.eu) (Quit: The Lounge - https://thelounge.chat)
16:21:15 LukeHoersten joins (~LukeHoers@user/lukehoersten)
16:21:50 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:9659:19c7:2455:b4cc) (Quit: WeeChat 2.8)
16:22:15 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Ping timeout: 256 seconds)
16:23:50 phma_ joins (~phma@2600:1004:b113:67dc:6bd2:9395:38e4:5e62)
16:23:57 × phma quits (~phma@99.sub-174-212-111.myvzw.com) (Ping timeout: 256 seconds)
16:26:44 × ezzieyguywuf quits (~Unknown@user/ezzieyguywuf) (Ping timeout: 250 seconds)
16:27:05 × max22- quits (~maxime@2a01cb08833598008a0dded606ad9bd8.ipv6.abo.wanadoo.fr) (Remote host closed the connection)
16:27:45 alx741 joins (~alx741@157.100.93.160)
16:28:16 phma joins (phma@2001:5b0:211f:70f8:30d:c8c3:70a:f361)
16:28:26 merijn joins (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl)
16:28:37 × phma_ quits (~phma@2600:1004:b113:67dc:6bd2:9395:38e4:5e62) (Ping timeout: 240 seconds)
16:28:47 ezzieyguywuf joins (~Unknown@user/ezzieyguywuf)
16:28:49 pottsy joins (~pottsy@129.227.183.244)
16:30:27 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
16:31:23 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
16:32:06 × atwm quits (~atwm@178.197.232.144) (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:32:47 hays joins (rootvegeta@fsf/member/hays)
16:33:02 × merijn quits (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl) (Ping timeout: 240 seconds)
16:33:46 × ProfSimm quits (~ProfSimm@87.227.196.109) (Remote host closed the connection)
16:33:49 nek0 joins (~nek0@nek0.eu)
16:37:41 jackson99 joins (~bc8147f2@cerf.good1.com)
16:39:23 dyeplexer joins (~dyeplexer@user/dyeplexer)
16:41:07 lechner joins (~lechner@debian/lechner)
16:41:08 rtsn joins (~nstr@user/rtsn)
16:49:22 alx741 joins (~alx741@157.100.93.160)
16:51:06 mikoto-chan joins (~mikoto-ch@213.177.151.239)
16:51:23 <sprout> > pow
16:51:25 <lambdabot> error: Variable not in scope: pow
16:52:54 × perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.4)
16:52:55 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
16:52:57 × chele_ quits (~chele@user/chele) (Remote host closed the connection)
16:53:24 <xerox> :t (**)
16:53:25 <lambdabot> Floating a => a -> a -> a
16:53:33 <xerox> :t (^)
16:53:34 <lambdabot> (Integral b, Num a) => a -> b -> a
16:54:03 perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
16:58:27 val-host joins (~val-host@2a02:2f0f:9108:b00:6891:37fc:a7bd:3738)
17:00:54 <geekosaur> :t (^^)
17:00:55 <lambdabot> (Fractional a, Integral b) => a -> b -> a
17:01:22 <val-host> :t (id)
17:01:23 <lambdabot> a -> a
17:01:40 <jackson99> @src id
17:01:40 <lambdabot> id x = x
17:02:06 × LukeHoersten quits (~LukeHoers@user/lukehoersten) (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:04:02 × perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.4)
17:04:17 perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
17:06:16 megeve joins (sid523379@id-523379.hampstead.irccloud.com)
17:07:38 <sprout> > 0 ** 0
17:07:39 <lambdabot> 1.0
17:08:29 LukeHoersten joins (~LukeHoers@user/lukehoersten)
17:08:50 × dut quits (~dut@user/dut) (Quit: Leaving)
17:09:23 alx741 joins (~alx741@157.100.93.160)
17:10:55 xlei joins (~akans@pool-71-125-19-142.nycmny.fios.verizon.net)
17:11:05 × joes quits (~joes@dyndsl-095-033-032-093.ewe-ip-backbone.de) (Changing host)
17:11:05 joes joins (~joes@hardfought/member/joes)
17:11:14 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
17:11:51 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
17:14:44 fef joins (~thedawn@user/thedawn)
17:17:19 max22- joins (~maxime@2a01cb0883359800879c6e536325f87b.ipv6.abo.wanadoo.fr)
17:19:00 <xerox> is this a bug in my own installation or is it the same for you all? you install a ghc, open the local copy of the ghc user guide from the installed docs, then search anything—it just hangs, without ever returning search results
17:20:17 econo joins (uid147250@user/econo)
17:20:23 <monochrom> No. GHC 8.10.7. I searched "forall", got fairly good results too.
17:21:11 <geekosaur> hm. I tried 9.2.1 as installed from ghcup and there was no user's guide :(
17:21:28 <monochrom> Yeah I can't test 9.2.1 because of that :)
17:21:51 <monochrom> But "vacuously no problem" is true :)
17:22:09 slack1256 joins (~slack1256@186.11.99.46)
17:22:12 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 250 seconds)
17:22:34 <geekosaur> search works fine for me in 8.10.7 though
17:23:32 <geekosaur> 9.0.2 also missing user's guide
17:24:10 qrpnxz parts (abc4f95c31@user/qrpnxz) (Disconnected: closed)
17:24:23 × slac26035 quits (~slack1256@191.126.227.201) (Ping timeout: 250 seconds)
17:24:23 qrpnxz joins (abc4f95c31@user/qrpnxz)
17:26:24 delYsid joins (~user@84-115-55-45.cable.dynamic.surfer.at)
17:27:11 kaph joins (~kaph@net-2-47-208-144.cust.vodafonedsl.it)
17:27:35 <delYsid> I wrote my first data structure (ok, sort of) with instances and stuff :-) It was a really neat learning experience, but I am fully aware this likely already exists. I havent found it yet though. Anyone care to tell me what package this is isomorphic to? https://blind.guru/ListMap.hs
17:27:44 Guest16 joins (~Guest16@2400:1a00:b030:a6c:c94f:12dc:44b9:6422)
17:28:30 alx741 joins (~alx741@157.100.93.160)
17:29:06 × Guest16 quits (~Guest16@2400:1a00:b030:a6c:c94f:12dc:44b9:6422) (Client Quit)
17:30:23 <xerox> delYsid: nice, what do you use it for?
17:30:35 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
17:30:35 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
17:30:35 wroathe joins (~wroathe@user/wroathe)
17:30:48 <delYsid> xerox: I'd like to use it to do key sequences in Brick.
17:31:11 <delYsid> Basically an imitation of how Emacs keymaps work.
17:31:12 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
17:32:05 <xerox> deeper levels are for stuff like C-M-x ?
17:32:16 <sshine> delYsid, I don't think I've seen that before.
17:32:30 <geekosaur> more like C-x v, I think
17:32:36 <sshine> delYsid, it resembles a trie.
17:32:57 <delYsid> interesting, it looks so obvious once its implemented, I would be surprised if it hadn't been invented yet.
17:33:35 <sshine> delYsid, there might be reasons why you'd wish to nest ListMaps in a very explicit way as you do, i.e., you nest your configuration in a modular way, and you can load configurations and embed them into nested key-combination scopes, if that's what they're used for.
17:33:38 <delYsid> xerox: C-h v, or any kind of sequence of keystrokes.
17:34:05 <sshine> delYsid, but you could also flatten a ListMap, either into a plain Map, or into a trie.
17:34:29 lavaman joins (~lavaman@98.38.249.169)
17:34:37 × CiaoSen quits (~Jura@p200300c95737a2002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
17:34:40 <geekosaur> I should have used C-x v v as my example, since it's an actual emacs command :)
17:35:00 × LukeHoersten quits (~LukeHoers@user/lukehoersten) (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:35:05 Tuplanolla joins (~Tuplanoll@91-159-68-166.elisa-laajakaista.fi)
17:35:11 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
17:36:18 <sshine> do any of you use kmonad?
17:36:37 <geekosaur> no, although I'm aware of it
17:38:40 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 250 seconds)
17:40:45 deadmarshal joins (~deadmarsh@95.38.228.70)
17:47:47 × joes quits (~joes@hardfought/member/joes) (Quit: Leaving)
17:49:13 alx741 joins (~alx741@157.100.93.160)
17:53:01 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
17:56:22 xkuru joins (~xkuru@user/xkuru)
18:00:09 × lechner quits (~lechner@debian/lechner) (Quit: WeeChat 3.0)
18:00:26 benin5 joins (benin@gateway/vpn/protonvpn/benin)
18:01:27 Inst joins (~delicacie@c-98-208-218-119.hsd1.fl.comcast.net)
18:01:36 lechner joins (~lechner@debian/lechner)
18:01:41 <slack1256> Does a function exist that maps from a 6-tuple of (years, months, days, hours, minutes, seconds) to a `NominalDiffTime`? I can do it myself but I wonder if that already exists somewhere in `time`?
18:02:23 × benin quits (~benin@183.82.179.241) (Ping timeout: 256 seconds)
18:02:23 benin5 is now known as benin
18:03:48 <jkaye> slack1256, that would be a little weird since NominalDiffTime is a length of time and not a point in time
18:04:09 <slack1256> Exactly, it is an interval.
18:04:52 <slack1256> That 6-tuple is an interval of time
18:04:55 <monochrom> "1 year" may be 365 days or 366 days. Would you like the average?
18:05:00 <jkaye> How does it know about leap days/seconds?
18:05:15 <jkaye> I think you are falling prey to https://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time
18:05:39 <monochrom> "1 month" is even more interesting...
18:06:01 <jkaye> monochrom, when you're right, you're right :)
18:06:02 <slack1256> I got this representation of the postgres Interval type. The graphql query generates the the 6-tuple.
18:06:39 <slack1256> Even if I am falling prey or whatever, I just wanted to know if somebody had done this work so I don't duplicate the logic.
18:07:03 <jkaye> I don't think you're understanding
18:07:14 <monochrom> I don't know whether someone has done this. I bet no.
18:07:23 <jkaye> That 6-tuple does not map to a NominalDiffTime without making some serious (probably wrong) assumptions
18:07:33 <monochrom> But even if yes, I bet you will not be duplicating. Everyone resolves my questions differently.
18:07:55 <monochrom> (All are wrong, but *shrug*)
18:09:06 <monochrom> (We're now in the territory of "since a famous FOSS program does it, so I'll do it", so every reason why they're doing it wrong will fall on deaf ears.)
18:09:10 × Jing quits (~hedgehog@240e:390:7c53:a7e1:fd8d:5488:d800:7443) (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:09:26 × Neuromancer quits (~Neuromanc@user/neuromancer) (Ping timeout: 250 seconds)
18:09:32 × DNH quits (~DNH@2a02:8108:1100:16d8:6155:4b1c:4cef:c11c) (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:09:58 <jkaye> The issue isn't the Interval, it's trying to convert the Interval to a number of seconds, which is impossible without knowing what you're comparing the Interval to
18:10:19 <jkaye> (impossible in the general case, without assumptions etc.)
18:10:20 <monochrom> (Recall also in the corporate world, if you buy from Microsoft or IBM, you "can't go wrong", in the sense that when it's wrong, no one will blame you, "IBM and MS can't be wrong".)
18:10:50 alx741 joins (~alx741@157.100.93.160)
18:10:52 <monochrom> (See how the altruistic FOSS people and the greedy capitalists think alike?)
18:10:56 benin7 joins (~benin@183.82.179.241)
18:11:36 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
18:11:46 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
18:12:45 idk joins (~idk@2804:29b8:505a:f33d:8187:1eee:9f1b:78aa)
18:12:45 × benin quits (benin@gateway/vpn/protonvpn/benin) (Ping timeout: 256 seconds)
18:12:46 benin7 is now known as benin
18:13:00 justsomeguy joins (~justsomeg@user/justsomeguy)
18:13:48 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
18:13:48 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
18:13:48 wroathe joins (~wroathe@user/wroathe)
18:15:39 Erutuon joins (~Erutuon@user/erutuon)
18:16:17 bontaq joins (~user@ool-45779fe5.dyn.optonline.net)
18:16:22 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 250 seconds)
18:16:27 ProfSimm joins (~ProfSimm@176-12-60-137.pon.spectrumnet.bg)
18:16:38 <monochrom> Oh haha, CalenderDiffDays and CalenderDiffTime exist.
18:17:01 <monochrom> Perhaps just use those instead of NominalDiffTime.
18:18:06 <hpc> i bet that's probably why NominalDiffTime isn't just called DiffTime
18:18:06 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
18:18:32 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 240 seconds)
18:19:07 <monochrom> Oh, that one is just about leap seconds.
18:19:26 <jkaye> Yep, I think the ISO8601 instance for CalendarDiffTime would map to the postgres interval type
18:19:47 CiaoSen joins (~Jura@p200300c95737a2002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
18:20:09 <hpc> oh huh, DiffTime exists too
18:20:28 <hpc> shows what i know, i try and avoid timekeeping as much as i possibly can
18:21:39 <sprout> https://egel-language.blogspot.com/2022/01/hindley-milner-inference-is-not-that.html
18:21:49 <sprout> ^ a small critique. maybe of interest to Haskellers
18:22:57 × MajorBiscuit quits (~MajorBisc@c-001-020-016.client.tudelft.eduvpn.nl) (Ping timeout: 240 seconds)
18:23:32 <jkaye> For me at least, that doesn't explain quite enough. I'd be interested in understanding it better, but I didn't come away with much from reading that
18:23:34 <monochrom> It is an ignorant critique. Probably also barking up the wrong tree.
18:24:45 × dsrt^ quits (~dsrt@wsip-98-188-242-61.mc.at.cox.net) (Remote host closed the connection)
18:24:51 <sprout> that must be it!
18:25:21 DNH joins (~DNH@2a02:8108:1100:16d8:6155:4b1c:4cef:c11c)
18:25:26 kjak joins (~kjak@pool-108-45-56-21.washdc.fios.verizon.net)
18:28:11 <monochrom> The example rule T-Lam is among the rules for checking, not inference. You have to hand-annotated everything, and then the rules prove that you are right/wrong.
18:29:15 Neuromancer joins (~Neuromanc@user/neuromancer)
18:29:15 <monochrom> Type inference is an entirely different algorithm. How to invent that algorithm in the first place is not helped by merely having inductive-style rules.
18:29:17 merijn joins (~merijn@c-001-002-002.client.esciencecenter.eduvpn.nl)
18:29:32 × cstml quits (~cstml@user/cstml) (Ping timeout: 240 seconds)
18:30:07 <monochrom> Dependent typing proves that just because you have inductive proof rules doesn't mean an inference algorithm even exists, let alone inventing one.
18:30:57 zebrag joins (~chris@user/zebrag)
18:31:14 <monochrom> I believe that the author also misunderstands at least one of: bisimulation proofs, Algol type checking.
18:32:18 <monochrom> I think that Algol type checking needs only the inductive-style checking that the author is so sick of.
18:34:11 kojo5551 joins (~kojo5551@fep.grid.pub.ro)
18:34:51 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Ping timeout: 256 seconds)
18:35:42 <sprout> no way
18:36:32 alx741 joins (~alx741@157.100.93.160)
18:37:42 slowButPresent joins (~slowButPr@user/slowbutpresent)
18:38:47 otulp joins (~otulp@ti0187q162-3172.bb.online.no)
18:40:24 Sgeo joins (~Sgeo@user/sgeo)
18:40:41 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
18:40:58 <monochrom> Hell, Algol type checking is definitely by induction not bisimulation.
18:41:11 × val-host quits (~val-host@2a02:2f0f:9108:b00:6891:37fc:a7bd:3738) (Quit: Leaving)
18:41:14 × phma quits (phma@2001:5b0:211f:70f8:30d:c8c3:70a:f361) (Read error: Connection reset by peer)
18:41:38 <monochrom> Bisimulation is inappropriate for: 1. finite things; 2. trees
18:41:48 <monochrom> An Algol AST is both.
18:41:57 <dolio> The description of "bisimulation" sounds like the difference between checking and inference, really.
18:42:29 <sprout> 'postulate' comes straight from Algol vernacular. the K-algorithm
18:42:36 phma joins (~phma@2001:5b0:211f:70f8:30d:c8c3:70a:f361)
18:42:37 <dolio> Like, when you see `f x` you make an additional assumption about the type of `f`, even if it wasn't inductively derivable from the term.
18:43:17 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
18:47:41 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.3)
18:47:59 × lechner quits (~lechner@debian/lechner) (Quit: WeeChat 3.0)
18:49:31 lechner joins (~lechner@debian/lechner)
18:56:13 × ProfSimm quits (~ProfSimm@176-12-60-137.pon.spectrumnet.bg) (Remote host closed the connection)
18:56:31 ProfSimm joins (~ProfSimm@176-12-60-137.pon.spectrumnet.bg)
18:57:22 <qrpnxz> is there a way to slice a Data.Array zero-copy?
18:57:32 × texasmynsted quits (~texasmyns@99.96.221.112) (Ping timeout: 250 seconds)
18:57:42 alx741 joins (~alx741@157.100.93.160)
18:57:53 <c_wraith> how would that even work with (Int, Int) as an index type?
18:59:20 <monochrom> Perhaps ixmap does not copy (or whatever overhead you're trying to avoid). But I haven't checked.
18:59:24 <qrpnxz> translating indices
18:59:39 <qrpnxz> i thought ixmap didn't copy, but it calls `array` so i think it does
18:59:48 <monochrom> OK yeah.
18:59:58 <qrpnxz> ixmap might not be a simple index shift, so it makes sense
19:00:31 <qrpnxz> even so, i did expect it to just get wrapped in something, or use Array internal details to not copy
19:00:35 <qrpnxz> but i guess not
19:00:49 × mbuf quits (~Shakthi@223.178.78.253) (Quit: Leaving)
19:01:13 Akiva joins (~Akiva@user/Akiva)
19:01:26 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
19:02:37 × deadmarshal quits (~deadmarsh@95.38.228.70) (Ping timeout: 256 seconds)
19:04:32 × merijn quits (~merijn@c-001-002-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 240 seconds)
19:10:00 dhwohrom^ joins (~dhwohrom@wsip-98-188-242-61.mc.at.cox.net)
19:10:26 × Topsi quits (~Tobias@dyndsl-095-033-095-097.ewe-ip-backbone.de) (Read error: Connection reset by peer)
19:10:36 <qrpnxz> i suppose a drop + take is the next best thing
19:12:35 × pottsy quits (~pottsy@129.227.183.244) (Quit: Leaving)
19:13:54 × idk quits (~idk@2804:29b8:505a:f33d:8187:1eee:9f1b:78aa) (Remote host closed the connection)
19:13:58 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
19:13:58 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
19:13:58 wroathe joins (~wroathe@user/wroathe)
19:14:13 idk joins (~idk@ec2-54-87-145-249.compute-1.amazonaws.com)
19:15:53 dut joins (~dut@user/dut)
19:17:40 × phma quits (~phma@2001:5b0:211f:70f8:30d:c8c3:70a:f361) (Read error: Connection reset by peer)
19:18:20 × shapr quits (~user@50-206-240-178-static.hfc.comcastbusiness.net) (Ping timeout: 250 seconds)
19:19:03 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
19:19:19 alx741 joins (~alx741@157.100.93.160)
19:19:19 phma joins (~phma@host-67-44-209-29.hnremote.net)
19:20:51 × idk quits (~idk@ec2-54-87-145-249.compute-1.amazonaws.com) (Remote host closed the connection)
19:21:17 jkachmar parts (~jkachmar@2001:470:69fc:105::c72d) ()
19:22:08 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
19:24:00 romesrf joins (~romes@44.190.189.46.rev.vodafone.pt)
19:24:12 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
19:29:11 zincy_ joins (~zincy@host86-151-99-97.range86-151.btcentralplus.com)
19:29:52 × perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.4)
19:30:46 × ProfSimm quits (~ProfSimm@176-12-60-137.pon.spectrumnet.bg) (Remote host closed the connection)
19:31:05 ProfSimm joins (~ProfSimm@176-12-60-137.pon.spectrumnet.bg)
19:31:56 perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
19:32:35 merijn joins (~merijn@c-001-002-002.client.esciencecenter.eduvpn.nl)
19:33:04 <qrpnxz> or i should just use data.vector already
19:34:15 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
19:34:22 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 250 seconds)
19:35:32 × ksqsf quits (~user@134.209.106.31) (Ping timeout: 240 seconds)
19:37:09 mikoto-chan joins (~mikoto-ch@213.177.151.239)
19:37:35 × merijn quits (~merijn@c-001-002-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds)
19:37:35 × kaph quits (~kaph@net-2-47-208-144.cust.vodafonedsl.it) (Ping timeout: 256 seconds)
19:39:26 whatsupdoc joins (uid509081@id-509081.hampstead.irccloud.com)
19:39:48 alx741 joins (~alx741@157.100.93.160)
19:40:46 × max22- quits (~maxime@2a01cb0883359800879c6e536325f87b.ipv6.abo.wanadoo.fr) (Remote host closed the connection)
19:41:33 × Inst quits (~delicacie@c-98-208-218-119.hsd1.fl.comcast.net) (Ping timeout: 256 seconds)
19:41:59 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
19:46:52 max22- joins (~maxime@2a01cb088335980049128fa85ccac36b.ipv6.abo.wanadoo.fr)
19:47:55 × dhwohrom^ quits (~dhwohrom@wsip-98-188-242-61.mc.at.cox.net) (Remote host closed the connection)
19:49:51 × max22- quits (~maxime@2a01cb088335980049128fa85ccac36b.ipv6.abo.wanadoo.fr) (Remote host closed the connection)
19:50:13 <qrpnxz> ooooh, i always thought of applicative as pure and <*>, but liftA2 is cool too! Lifting a two argument function gets you thinking about general pairwise combination, where application is a special case. `id` being able to type (a -> b -> c) into ((b -> c) -> b -> c) hence giving you `<*>` is pretty neat too. Currying super power strickes again. Similar trick occurs with `fix`.
19:50:19 burnsidesLlama joins (~burnsides@dhcp168-045.wadham.ox.ac.uk)
19:53:18 kaph joins (~kaph@net-2-47-208-144.cust.vodafonedsl.it)
19:53:29 <[exa]> qrpnxz: try `drop<>take` btw
19:54:33 × ProfSimm quits (~ProfSimm@176-12-60-137.pon.spectrumnet.bg) (Remote host closed the connection)
19:54:52 ProfSimm joins (~ProfSimm@176-12-60-137.pon.spectrumnet.bg)
19:55:22 polyphem_ joins (~rod@2a02:810d:840:8754:e450:3ca3:b389:687a)
19:55:54 × alMalsamo quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 276 seconds)
19:56:02 × polyphem quits (~rod@2a02:810d:840:8754:e450:3ca3:b389:687a) (Ping timeout: 250 seconds)
19:59:55 × dhouthoo quits (~dhouthoo@178-117-36-167.access.telenet.be) (Quit: WeeChat 3.4)
19:59:59 × ProfSimm quits (~ProfSimm@176-12-60-137.pon.spectrumnet.bg) (Remote host closed the connection)
20:00:17 alx741 joins (~alx741@157.100.93.160)
20:00:18 ProfSimm joins (~ProfSimm@176-12-60-137.pon.spectrumnet.bg)
20:00:34 lavaman joins (~lavaman@98.38.249.169)
20:00:50 jgeerds_ joins (~jgeerds@55d4090e.access.ecotel.net)
20:00:50 × jgeerds_ quits (~jgeerds@55d4090e.access.ecotel.net) (Remote host closed the connection)
20:01:08 Hildegunst joins (~luc@80.248.12.109.rev.sfr.net)
20:01:11 ksqsf joins (~user@134.209.106.31)
20:03:02 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
20:04:34 <qrpnxz> doing `take a . drop b`
20:04:35 Shiranai joins (~Shiranai@190.237.13.17)
20:04:47 × ProfSimm quits (~ProfSimm@176-12-60-137.pon.spectrumnet.bg) (Ping timeout: 256 seconds)
20:05:08 × juhp quits (~juhp@128.106.188.82) (Ping timeout: 250 seconds)
20:06:10 <Shiranai> hello, how would you guys compute the list of all substring of a string? i.e. `substrs "abc" == ["a","b","c","ab","bc","abc"]`
20:06:26 × ksqsf quits (~user@134.209.106.31) (Ping timeout: 250 seconds)
20:06:50 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
20:06:50 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
20:06:50 wroathe joins (~wroathe@user/wroathe)
20:07:51 <monochrom> Something about inits and tails
20:08:10 <monochrom> > (map inits . tails) "abc"
20:08:11 <lambdabot> [["","a","ab","abc"],["","b","bc"],["","c"],[""]]
20:08:32 <monochrom> ah need a concat
20:09:23 <Shiranai> > (filter (not null) . concat . map inits . tails) "abcd"
20:09:24 <lambdabot> error:
20:09:24 <lambdabot> • Couldn't match expected type ‘[Char] -> Bool’
20:09:24 <lambdabot> with actual type ‘Bool’
20:09:50 <tomsmeding> > (([] :) . concat . map (tail . inits) . tails) "abc"
20:09:51 briandaed joins (~root@185.234.208.208.r.toneticgroup.pl)
20:09:51 <lambdabot> ["","a","ab","abc","b","bc","c"]
20:10:09 juhp joins (~juhp@128.106.188.82)
20:10:35 <tomsmeding> > (filter (not . null) . concat . map inits . tails) "abc"
20:10:37 <lambdabot> ["a","ab","abc","b","bc","c"]
20:10:42 <tomsmeding> heh misses the []
20:11:13 <Shiranai> beautiful! Thanks guys
20:12:40 Kaiepi joins (~Kaiepi@156.34.47.253)
20:12:43 <tomsmeding> > (([] :) <$> fmap concat (fmap (fmap tail inits) <$> tails)) "abc"
20:12:44 <lambdabot> ["","a","ab","abc","b","bc","c"]
20:13:10 <geekosaur> isn't there a map [False,True] thing? I mean, this looks like a powerset
20:13:31 <tomsmeding> > subsequences "abc"
20:13:32 <lambdabot> ["","a","b","ab","c","ac","bc","abc"]
20:13:33 <tomsmeding> not the same thing
20:14:45 × fef quits (~thedawn@user/thedawn) (Ping timeout: 276 seconds)
20:16:15 roboguy22 joins (~roboguy@2605:a601:ac65:3600:f1f8:6a51:ba00:46c)
20:17:05 max22- joins (~maxime@2a01cb088335980081b93665fb35a9cb.ipv6.abo.wanadoo.fr)
20:18:04 Neuromancer_ joins (~Neuromanc@user/neuromancer)
20:18:37 yauhsien joins (~yauhsien@61-231-62-246.dynamic-ip.hinet.net)
20:19:06 ksqsf joins (~user@134.209.106.31)
20:19:27 alx741 joins (~alx741@157.100.93.160)
20:19:56 × zincy_ quits (~zincy@host86-151-99-97.range86-151.btcentralplus.com) (Remote host closed the connection)
20:20:32 × `2jt quits (~jtomas@10.red-83-58-228.dynamicip.rima-tde.net) (Ping timeout: 240 seconds)
20:20:44 × Neuromancer quits (~Neuromanc@user/neuromancer) (Ping timeout: 250 seconds)
20:20:49 Neuromancer_ is now known as Neuromancer
20:20:50 × xb0o2 quits (~xb0o2@user/xb0o2) (Quit: Client closed)
20:21:22 vglfr joins (~vglfr@46.96.179.132)
20:22:21 × xsperry quits (~xs@user/xsperry) (Ping timeout: 256 seconds)
20:23:02 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
20:23:29 × yauhsien quits (~yauhsien@61-231-62-246.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
20:27:40 xb0o2 joins (~xb0o2@user/xb0o2)
20:27:54 slac45828 joins (~slack1256@191.125.227.201)
20:30:06 × niko quits (~niko@libera/staff/niko) (Ping timeout: 633 seconds)
20:30:17 × slack1256 quits (~slack1256@186.11.99.46) (Ping timeout: 256 seconds)
20:30:18 waleee joins (~waleee@2001:9b0:21d:fc00:398f:b003:b90d:acf4)
20:31:33 slack1256 joins (~slack1256@186.11.99.46)
20:32:32 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 240 seconds)
20:32:43 × slac45828 quits (~slack1256@191.125.227.201) (Ping timeout: 256 seconds)
20:33:25 <sshine> can I write (\x -> f x && g x) in a point-free but short-circuiting way?
20:34:17 <maerwald> why
20:34:22 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
20:34:29 <sshine> because I'm curious :)
20:34:31 <Yehoshua> Arrow's `&&&`
20:34:31 <Yehoshua> Might be a starting point.
20:35:23 × ksqsf quits (~user@134.209.106.31) (Ping timeout: 256 seconds)
20:35:29 <Yehoshua> (f &&& g) x
20:35:29 <Yehoshua> Is the same as (in this case)
20:35:29 <Yehoshua> (f x, g x)
20:35:30 <monochrom> liftA2 (&&) f g expands to (\x -> f x && g x) using the (->)e Applicative instance.
20:35:44 <awpr> :t getAll (All . even <> All . odd)
20:35:45 <lambdabot> error:
20:35:45 <lambdabot> • Couldn't match expected type ‘All’ with actual type ‘a0 -> All’
20:35:45 <lambdabot> • Probable cause: ‘(<>)’ is applied to too few arguments
20:35:49 <awpr> :t getAll . (All . even <> All . odd)
20:35:50 <lambdabot> Integral a => a -> Bool
20:36:25 martinmch joins (~martinmch@127-0-0-1.dk)
20:36:37 <Yehoshua> :t liftA2 (&&)
20:36:38 <lambdabot> Applicative f => f Bool -> f Bool -> f Bool
20:36:40 zincy_ joins (~zincy@2a00:23c8:970c:4801:911c:c4ab:2f7e:d3f1)
20:36:50 <roboguy22> > liftA2 (&&) even undefined 3
20:36:52 <lambdabot> False
20:36:57 <roboguy22> > liftA2 (&&) even undefined 2
20:36:59 <lambdabot> *Exception: Prelude.undefined
20:39:32 ProfSimm joins (~ProfSimm@87.227.196.109)
20:39:59 × Shiranai quits (~Shiranai@190.237.13.17) (Quit: Connection closed)
20:41:01 alx741 joins (~alx741@157.100.93.160)
20:43:55 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
20:44:53 <lechner> that (inits . tails) thing for substrings is very elegant
20:44:57 dsrt^ joins (~dsrt@wsip-98-188-242-61.mc.at.cox.net)
20:47:58 ksqsf joins (~user@134.209.106.31)
20:50:38 yassernasc joins (~yassernas@ec2-54-87-145-249.compute-1.amazonaws.com)
20:52:21 alMalsamo joins (~alMalsamo@gateway/tor-sasl/almalsamo)
20:52:32 × ksqsf quits (~user@134.209.106.31) (Ping timeout: 240 seconds)
20:52:58 <lechner> why isn't it ... map inits (tails "abc") ?
20:53:16 coot joins (~coot@2a02:a310:e03f:8500:5cc8:47c:8ec0:b827)
20:55:03 <geekosaur> those do different things, don't they? tails only happens once with yours but on each element with the other
20:55:36 <tomsmeding> lechner: but it is, right? (map inits . tails) "abc" = (\x -> map inits (tails x)) "abc" = map inits (tails "abc")
20:55:43 <Yehoshua> > inits <$> (tails "abc")
20:55:44 <lambdabot> [["","a","ab","abc"],["","b","bc"],["","c"],[""]]
20:56:24 <geekosaur> but that's (map inits . tails), not map (inits . tails)
20:56:55 <tomsmeding> indeed, but the correct solution had 'map inits . tails' -- I assumed lechner meant that
20:57:26 <geekosaur> in that case it's just being pointfree
20:57:34 <geekosaur> some people prefer that, some the other
20:57:44 <Yehoshua> > map (inits . tails) "abc"
20:57:45 <lambdabot> error:
20:57:45 <lambdabot> • Couldn't match type ‘Char’ with ‘[a]’
20:57:45 <lambdabot> Expected type: [[a]]
20:57:57 <Yehoshua> lambdabot: Thought so.
20:58:02 × Hildegunst quits (~luc@80.248.12.109.rev.sfr.net) (Ping timeout: 240 seconds)
20:58:13 <geekosaur> yeh, I wondered about that one briefly as well "wouldn't thst have to be a list of lists?"
20:59:07 <tomsmeding> lechner: exercise, write my first version without (.)
20:59:32 <Yehoshua> > map (map inits . tails) "abc"
20:59:33 <lambdabot> error:
20:59:33 <lambdabot> • Couldn't match type ‘Char’ with ‘[a]’
20:59:33 <lambdabot> Expected type: [[a]]
20:59:58 <Yehoshua> (map inits . tails) "abc"
21:00:08 alx741 joins (~alx741@157.100.93.160)
21:00:09 <Yehoshua> > (map inits . tails) "abc"
21:00:10 <lambdabot> [["","a","ab","abc"],["","b","bc"],["","c"],[""]]
21:00:41 <Yehoshua> Which is already exactly the previous thing.
21:00:48 <Yehoshua> <Yehoshua> "> inits <$> (tails "abc")" <- .
21:01:02 × acidsys quits (~LSD@2.lsd.systems) (Excess Flood)
21:02:24 acidsys joins (~LSD@2.lsd.systems)
21:02:55 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
21:04:14 Hildegunst joins (~luc@80.248.12.109.rev.sfr.net)
21:04:17 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 256 seconds)
21:04:28 × _ht quits (~quassel@2a02:a468:b619:1:a06e:65c3:1bfa:20a6) (Remote host closed the connection)
21:04:56 ksqsf joins (~user@134.209.106.31)
21:05:38 paddymahoney joins (~paddymaho@cpe9050ca207f83-cm9050ca207f80.cpe.net.cable.rogers.com)
21:05:55 × paddymahoney quits (~paddymaho@cpe9050ca207f83-cm9050ca207f80.cpe.net.cable.rogers.com) (Read error: Connection reset by peer)
21:06:13 × azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection)
21:06:35 azimut joins (~azimut@gateway/tor-sasl/azimut)
21:06:50 trccc joins (~trccc@2-104-60-169-cable.dk.customer.tdc.net)
21:08:24 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 250 seconds)
21:08:57 merijn joins (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl)
21:09:42 × ksqsf quits (~user@134.209.106.31) (Ping timeout: 250 seconds)
21:10:15 <trccc> I would like to do some Haskell development whenever I have time, which is not too often unfortunately. Any ideas on where to find “exercises” to do? I am between beginner and intermediate and I need to get a handle on making “production” applications that considers details such as e.g. logging. The end goal is to introduce Haskell at my
21:10:16 <trccc> workplace
21:10:25 × trccc quits (~trccc@2-104-60-169-cable.dk.customer.tdc.net) (Client Quit)
21:11:02 <geekosaur> didn't stick around for an answer…
21:12:30 × xb0o2 quits (~xb0o2@user/xb0o2) (Quit: Client closed)
21:13:08 trccc joins (~trccc@2-104-60-169-cable.dk.customer.tdc.net)
21:13:22 <maerwald> "introduce Haskell at my workplace" <-- makes me shiver :p
21:13:53 <trccc> In a bad or good way? 🙂 have a lot of non-critical services
21:14:26 <sm> ha! the old you thought I left trick!
21:14:35 <maerwald> It usually means people need a new toy at work. My opinion is that you shouldn't toy around at work.
21:15:03 <geekosaur> they rejoined 3 minutes later. odd thing to do after asking a question
21:15:05 <sm> trccc there's a lot of such things online now
21:15:23 <trccc> Geekosaur yes sorry bout that
21:15:50 <geekosaur> of course I sometimes do that because my router decided to fall over yet again
21:15:58 <sm> and don't let the #haskell channel talk you out of it :)
21:16:02 × Hildegunst quits (~luc@80.248.12.109.rev.sfr.net) (Ping timeout: 240 seconds)
21:16:05 <trccc> Hehe
21:16:45 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
21:16:56 <trccc> am any in particular? The ones I tried before (couple of years ago) sort of ignored the packages out there that one needs to get something done
21:17:04 <trccc> sm*
21:18:02 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds)
21:18:05 × kuribas quits (~user@ptr-25vy0i9haxfrs6rwale.18120a2.ip6.access.telenet.be) (Quit: ERC (IRC client for Emacs 26.3))
21:18:15 <Yehoshua> I didn't actually do it myself, but found for someone else:
21:18:15 <Yehoshua> https://exercism.org/tracks/haskell
21:18:25 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
21:18:46 <Yehoshua> I have no idea if it gets out of the core language however
21:19:08 <trccc> Yehoshua I Will check it out. Thanks. That is exactly my concern
21:19:31 <sm> trccc, no none in particular, I would to a very wide skim of blogs and books
21:19:38 <sm> @where books
21:19:38 <lambdabot> https://www.extrema.is/articles/haskell-books, see also @where LYAH, RWH, YAHT, SOE, HR, PIH, TFwH, wikibook, PCPH, HPFFP, HTAC, TwT, FoP, PFAD, WYAH, non-haskell-books
21:19:40 × zebrag quits (~chris@user/zebrag) (Ping timeout: 250 seconds)
21:19:50 × zincy_ quits (~zincy@2a00:23c8:970c:4801:911c:c4ab:2f7e:d3f1) (Remote host closed the connection)
21:19:57 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
21:19:58 <sm> https://planet.haskell.org
21:20:19 <Yehoshua> https://exercism.org/tracks/haskell/exercises/lens-person
21:20:19 <Yehoshua> Seems to have at least lens (did a quick look)
21:20:24 <sm> I'm partial to
21:20:24 <sm> @where HTAC
21:20:24 <lambdabot> "Haskell Tutorial and Cookbook" by Mark Watson in 2017-09-04 at <https://leanpub.com/haskell-cookbook>
21:20:26 <Yehoshua> Maybe others too
21:20:37 alx741 joins (~alx741@157.100.93.160)
21:20:40 <EvanR> marches in to your work area with two nasty looking goons, "we will be instituting er introducing haskell at your workplace"
21:20:40 Pickchea joins (~private@user/pickchea)
21:20:59 × romesrf quits (~romes@44.190.189.46.rev.vodafone.pt) (Quit: WeeChat 3.4)
21:21:01 <trccc> Hehe
21:22:11 xsperry joins (~xs@user/xsperry)
21:22:20 Hildegunst joins (~luc@80.248.12.109.rev.sfr.net)
21:22:37 × johnw quits (~johnw@2607:f6f0:3004:1:c8b4:50ff:fef8:6bf0) (Ping timeout: 240 seconds)
21:22:38 <trccc> Thank you. Think I had enough ideas to get startes from.
21:22:40 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
21:22:40 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
21:22:40 wroathe joins (~wroathe@user/wroathe)
21:23:08 × jackson99 quits (~bc8147f2@cerf.good1.com) (Quit: CGI:IRC (Ping timeout))
21:23:22 ksqsf joins (~user@134.209.106.31)
21:23:32 × trccc quits (~trccc@2-104-60-169-cable.dk.customer.tdc.net) (Quit: Client closed)
21:25:02 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
21:27:40 × TonyStone quits (~TonyStone@2603-7080-8607-c36a-9cdb-69bc-753b-1e50.res6.spectrum.com) (Quit: Leaving)
21:27:41 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
21:27:46 alp joins (~alp@user/alp)
21:28:06 TonyStone joins (~TonyStone@2603-7080-8607-c36a-9cdb-69bc-753b-1e50.res6.spectrum.com)
21:28:20 × ksqsf quits (~user@134.209.106.31) (Ping timeout: 250 seconds)
21:28:37 × red-snail quits (~snail@static.151.210.203.116.clients.your-server.de) (Quit: ZNC 1.8.2 - https://znc.in)
21:28:55 red-snail joins (~snail@static.151.210.203.116.clients.your-server.de)
21:30:07 zebrag joins (~chris@user/zebrag)
21:31:22 boxscape_ joins (~boxscape_@p4ff0b9d5.dip0.t-ipconnect.de)
21:32:35 × michalz quits (~michalz@185.246.204.107) (Remote host closed the connection)
21:33:02 × xsperry quits (~xs@user/xsperry) (Read error: Connection reset by peer)
21:33:34 × red-snail quits (~snail@static.151.210.203.116.clients.your-server.de) (Client Quit)
21:35:23 red-snail joins (~snail@static.151.210.203.116.clients.your-server.de)
21:35:37 × jkaye quits (~jkaye@2601:281:8300:7530:c6d6:7de6:6176:c300) (Ping timeout: 240 seconds)
21:37:39 × Hildegunst quits (~luc@80.248.12.109.rev.sfr.net) (Quit: leaving)
21:38:30 xb0o2 joins (~xb0o2@user/xb0o2)
21:38:40 × perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.4)
21:39:43 perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
21:40:10 × red-snail quits (~snail@static.151.210.203.116.clients.your-server.de) (Client Quit)
21:40:33 briandaed parts (~root@185.234.208.208.r.toneticgroup.pl) ()
21:40:51 Inst joins (~delicacie@c-98-208-218-119.hsd1.fl.comcast.net)
21:41:46 alx741 joins (~alx741@157.100.93.160)
21:42:15 × merijn quits (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds)
21:44:09 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
21:44:11 × DNH quits (~DNH@2a02:8108:1100:16d8:6155:4b1c:4cef:c11c) (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:47:57 × mvk quits (~mvk@2607:fea8:5cdd:f000::55f8) (Ping timeout: 240 seconds)
21:48:15 red-snail joins (~snail@static.151.210.203.116.clients.your-server.de)
21:49:19 × red-snail quits (~snail@static.151.210.203.116.clients.your-server.de) (Remote host closed the connection)
21:51:38 red-snail joins (~snail@static.151.210.203.116.clients.your-server.de)
21:51:47 × red-snail quits (~snail@static.151.210.203.116.clients.your-server.de) (Remote host closed the connection)
21:52:04 red-snail joins (~snail@static.151.210.203.116.clients.your-server.de)
21:53:04 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
21:53:33 × phma quits (~phma@host-67-44-209-29.hnremote.net) (Read error: Connection reset by peer)
21:54:00 × zmt01 quits (~zmt00@user/zmt00) (Read error: Connection reset by peer)
21:55:06 × yassernasc quits (~yassernas@ec2-54-87-145-249.compute-1.amazonaws.com) (Remote host closed the connection)
21:55:18 phma joins (phma@2001:5b0:211b:a618:dfa3:a13:fe81:dc84)
22:00:43 little_mac joins (~little_ma@2601:410:4300:3ce0:708a:3729:1c6e:865e)
22:00:54 alx741 joins (~alx741@157.100.93.160)
22:01:30 Guest22 joins (~Guest22@217.150.236.197)
22:02:42 × martinmch quits (~martinmch@127-0-0-1.dk) (Quit: leaving)
22:03:52 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
22:05:32 × ubert quits (~Thunderbi@p200300ecdf0994547bbbb5c3c61d0cc2.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
22:05:32 ub is now known as ubert
22:06:53 × little_mac quits (~little_ma@2601:410:4300:3ce0:708a:3729:1c6e:865e) (Remote host closed the connection)
22:07:04 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
22:07:29 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
22:07:42 × red-snail quits (~snail@static.151.210.203.116.clients.your-server.de) (Quit: ZNC 1.8.2 - https://znc.in)
22:07:45 zmt00 joins (~zmt00@user/zmt00)
22:08:30 red-snail joins (~snail@static.151.210.203.116.clients.your-server.de)
22:09:20 xsperry joins (~xs@user/xsperry)
22:10:13 merijn joins (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl)
22:10:36 × roboguy22 quits (~roboguy@2605:a601:ac65:3600:f1f8:6a51:ba00:46c) (Quit: Leaving...)
22:10:41 little_mac joins (~little_ma@2601:410:4300:3ce0:ed98:da79:669a:f2be)
22:15:17 × merijn quits (~merijn@c-001-001-018.client.esciencecenter.eduvpn.nl) (Ping timeout: 256 seconds)
22:17:05 × ystael quits (~ystael@user/ystael) (Quit: Lost terminal)
22:17:32 ksqsf joins (~user@134.209.106.31)
22:22:02 × ksqsf quits (~user@134.209.106.31) (Ping timeout: 240 seconds)
22:22:30 alx741 joins (~alx741@157.100.93.160)
22:23:16 × pippijn quits (~pippijn@ra.xinutec.org) (Ping timeout: 245 seconds)
22:24:14 × waleee quits (~waleee@2001:9b0:21d:fc00:398f:b003:b90d:acf4) (Ping timeout: 250 seconds)
22:25:21 × xb0o2 quits (~xb0o2@user/xb0o2) (Quit: Client closed)
22:25:33 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
22:26:23 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
22:26:47 × perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.4)
22:30:43 × Kaiepi quits (~Kaiepi@156.34.47.253) (Remote host closed the connection)
22:32:44 ksqsf joins (~user@134.209.106.31)
22:33:36 perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
22:34:12 × wmacmil quits (~wmacmil@83-233-165-97.cust.bredband2.com) (Ping timeout: 250 seconds)
22:35:02 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds)
22:36:09 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
22:36:12 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
22:36:33 Kaiepi joins (~Kaiepi@156.34.47.253)
22:37:32 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
22:37:57 × ksqsf quits (~user@134.209.106.31) (Ping timeout: 256 seconds)
22:38:19 × benin quits (~benin@183.82.179.241) (Quit: The Lounge - https://thelounge.chat)
22:40:18 mvk joins (~mvk@2607:fea8:5cdd:f000::55f8)
22:42:33 alx741 joins (~alx741@157.100.93.160)
22:43:14 SlowLearner joins (~SlowLearn@2804:14c:65a1:452d:faeb:2e8a:da33:265f)
22:43:28 × coot quits (~coot@2a02:a310:e03f:8500:5cc8:47c:8ec0:b827) (Quit: coot)
22:44:56 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
22:46:01 Everything joins (~Everythin@46-133-77-215.mobile.vf-ua.net)
22:46:06 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
22:46:06 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
22:46:06 wroathe joins (~wroathe@user/wroathe)
22:50:47 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
22:50:49 × mixfix41 quits (~homefame@user/mixfix41) (Ping timeout: 256 seconds)
22:50:52 × Kaiepi quits (~Kaiepi@156.34.47.253) (Quit: Leaving)
22:51:08 Kaiepi joins (~Kaiepi@156.34.47.253)
22:52:33 × perrierjouet quits (~perrier-j@modemcable012.251-130-66.mc.videotron.ca) (Quit: WeeChat 3.4)
22:52:33 × MironZ quits (~MironZ@nat-infra.ehlab.uk) (Read error: Connection reset by peer)
22:52:49 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
22:52:59 MironZ joins (~MironZ@nat-infra.ehlab.uk)
22:54:39 × Guest22 quits (~Guest22@217.150.236.197) (Quit: Client closed)
22:58:13 perrierjouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
22:59:24 × Midjak quits (~Midjak@may53-1-78-226-116-92.fbx.proxad.net) (Quit: This computer has gone to sleep)
22:59:57 × TonyStone quits (~TonyStone@2603-7080-8607-c36a-9cdb-69bc-753b-1e50.res6.spectrum.com) (Ping timeout: 240 seconds)
23:01:39 alx741 joins (~alx741@157.100.93.160)
23:05:09 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
23:11:21 jkaye joins (~jkaye@2601:281:8300:7530:443b:68a:5f3e:dbe3)
23:11:36 DNH joins (~DNH@2a02:8108:1100:16d8:6155:4b1c:4cef:c11c)
23:11:40 × chomwitt quits (~chomwitt@2a02:587:dc0b:200:12c3:7bff:fe6d:d374) (Remote host closed the connection)
23:15:26 × wyrd quits (~wyrd@gateway/tor-sasl/wyrd) (Remote host closed the connection)
23:15:44 wyrd joins (~wyrd@gateway/tor-sasl/wyrd)
23:18:34 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
23:19:43 × Inst quits (~delicacie@c-98-208-218-119.hsd1.fl.comcast.net) (Ping timeout: 256 seconds)
23:20:02 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 240 seconds)
23:20:12 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
23:22:40 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
23:23:16 alx741 joins (~alx741@157.100.93.160)
23:23:37 × jkaye quits (~jkaye@2601:281:8300:7530:443b:68a:5f3e:dbe3) (Ping timeout: 240 seconds)
23:24:47 × mmhat quits (~mmh@55d4d096.access.ecotel.net) (Quit: WeeChat 3.4)
23:26:46 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
23:26:54 ksqsf joins (~user@134.209.106.31)
23:28:40 × burnsidesLlama quits (~burnsides@dhcp168-045.wadham.ox.ac.uk) (Remote host closed the connection)
23:28:45 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
23:28:45 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
23:28:45 wroathe joins (~wroathe@user/wroathe)
23:32:11 × ksqsf quits (~user@134.209.106.31) (Ping timeout: 256 seconds)
23:33:02 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 240 seconds)
23:34:09 jgeerds joins (~jgeerds@55d4090e.access.ecotel.net)
23:34:26 × cosimone quits (~user@2001:b07:ae5:db26:c24a:d20:4d91:1e20) (Ping timeout: 250 seconds)
23:34:50 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Quit: Leaving)
23:35:59 geekosaur joins (~geekosaur@xmonad/geekosaur)
23:37:57 yauhsien joins (~yauhsien@61-231-62-246.dynamic-ip.hinet.net)
23:43:17 alx741 joins (~alx741@157.100.93.160)
23:43:46 × Tuplanolla quits (~Tuplanoll@91-159-68-166.elisa-laajakaista.fi) (Quit: Leaving.)
23:46:42 × alx741 quits (~alx741@157.100.93.160) (Read error: Connection reset by peer)
23:48:56 burnsidesLlama joins (~burnsides@dhcp168-045.wadham.ox.ac.uk)
23:49:02 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 240 seconds)
23:51:39 <Axman6> Is there a name in lens for the function which takes Traversal s t a b, (a -> m b) and s and gives back m t? I know it's just `traversal func s` but it feels weird using it's sort of hidden structure
23:52:13 <Axman6> @hoogle Traversal s t a b -> (a -> m b) -> s -> m t -- probably should've done this first
23:52:13 <lambdabot> No results found
23:52:17 <dibblego> id
23:54:05 <Axman6> just wondering if it has a more... semantic? name
23:54:39 <Axman6> looks like traverseOf
23:54:53 <Axman6> traverseOf :: LensLike f s t a b -> (a -> f b) -> s -> f t
23:54:53 <Axman6> traverseOf = id
23:56:55 waleee joins (~waleee@2001:9b0:21d:fc00:398f:b003:b90d:acf4)
23:58:49 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
23:58:58 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
23:59:07 × max22- quits (~maxime@2a01cb088335980081b93665fb35a9cb.ipv6.abo.wanadoo.fr) (Remote host closed the connection)

All times are in UTC on 2022-01-17.