Home freenode/#haskell: Logs Calendar

Logs on 2021-04-20 (freenode/#haskell)

00:02:59 rj joins (~x@gateway/tor-sasl/rj)
00:03:06 ericsagnes joins (~ericsagne@2405:6580:0:5100:e608:c88b:5ed1:a466)
00:04:13 × fiedlr quits (~fiedlr@83.148.33.254) (Ping timeout: 240 seconds)
00:04:44 zq parts (~zq@xorshift.org) ()
00:17:28 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
00:18:21 × Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 265 seconds)
00:18:50 × geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 265 seconds)
00:18:57 × Guest70321 quits (~textual@mskresolve-a.mskcc.org) (Ping timeout: 260 seconds)
00:19:21 sqrt2 joins (~ben@unaffiliated/sqrt2)
00:21:49 × gitgood quits (~gitgood@80-44-9-246.dynamic.dsl.as9105.com) (Remote host closed the connection)
00:26:20 <toasty_avocado[m> How do I make the second line in this statement syntactically correct:
00:26:23 toasty_avocado[m < https://matrix.org/_matrix/media/r0/download/matrix.org/OVUmrfiGuozFYXzgftvuxgUl/message.txt >
00:26:52 toasty_avocado[m < https://matrix.org/_matrix/media/r0/download/matrix.org/UjjlBapJjZbgBTRIOTOxMUKN/message.txt >
00:27:08 <toasty_avocado[m> * ```twice_as_old father son | difference / 2 = 0 = difference | otherwise = (father - 1) `twice_as_old` son where difference = father - son```
00:27:57 toasty_avocado[m < https://matrix.org/_matrix/media/r0/download/matrix.org/sTEZxBvvBIzcraZkPHpMZexl/message.txt >
00:28:09 toasty_avocado[m < https://matrix.org/_matrix/media/r0/download/matrix.org/JdSTSxyVDesrWNmNlNMklltO/message.txt >
00:29:13 Alleria joins (~textual@2603-7000-3040-0000-6507-b6e6-e1a7-946f.res6.spectrum.com)
00:29:36 Alleria is now known as Guest88007
00:29:51 <geekosaur> you're using = for equality, it's ==
00:31:12 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 240 seconds)
00:37:25 × nineonine quits (~nineonine@2604:3d08:7785:9600:e0d9:4197:14e4:81a) (Ping timeout: 250 seconds)
00:37:41 nineonine joins (~nineonine@50.216.62.2)
00:41:04 <toasty_avocado[m> Thanks geekosaur
00:41:44 × thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 258 seconds)
00:43:29 × haritz quits (~hrtz@unaffiliated/haritz) (Ping timeout: 250 seconds)
00:43:46 ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
00:43:57 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
00:44:25 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
00:46:01 × ep1ctetus quits (~epictetus@ip72-194-54-201.sb.sd.cox.net) (Read error: Connection reset by peer)
00:48:21 × ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 260 seconds)
00:49:15 rj joins (~x@gateway/tor-sasl/rj)
00:49:19 haritz joins (~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220)
00:49:19 × haritz quits (~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220) (Changing host)
00:49:19 haritz joins (~hrtz@unaffiliated/haritz)
00:51:06 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
00:52:35 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:5d1c:812e:1a75:163c) (Ping timeout: 250 seconds)
00:52:59 × jesystani quits (~thorn@2404:4404:17f1:4900:4d97:c743:fd22:2bfd) (Ping timeout: 260 seconds)
00:53:23 <toasty_avocado[m> How do you type cast an int to a float?
00:53:46 fresheyeball joins (~isaac@c-71-237-105-37.hsd1.co.comcast.net)
00:53:51 jesystani joins (~thorn@2404:4404:17f1:4900:5df:d6d:b137:d7c2)
00:55:05 <geekosaur> fromIntegral
00:55:24 ram19890 joins (~ram@183.83.155.58)
00:56:40 rajivr joins (uid269651@gateway/web/irccloud.com/x-xhstqsvcchluvrrc)
00:57:33 × cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Quit: leaving)
01:01:28 Codaraxis__ joins (~Codaraxis@ip68-5-90-227.oc.oc.cox.net)
01:02:21 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
01:02:45 Stanley00 joins (~stanley00@unaffiliated/stanley00)
01:03:06 × dpl quits (~dpl@77-121-78-163.chn.volia.net) (Ping timeout: 240 seconds)
01:04:06 <Axman6> toasty_avocado[m: to be clear, we don't cast things in Haskell. we use functions
01:04:30 × ludi49 quits (~hryhorij@ip595.t15.ds.pwr.wroc.pl) (Ping timeout: 268 seconds)
01:04:59 × Codaraxis_ quits (Codaraxis@gateway/vpn/mullvad/codaraxis) (Ping timeout: 246 seconds)
01:05:31 × viluon quits (uid453725@gateway/web/irccloud.com/x-iaenozwsdlvnenzz) (Quit: Connection closed for inactivity)
01:06:37 <toasty_avocado[m> ok thanks!
01:06:42 × geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Ping timeout: 240 seconds)
01:07:52 × elliott__ quits (~elliott@pool-108-18-30-46.washdc.fios.verizon.net) (Ping timeout: 240 seconds)
01:08:08 × fresheyeball quits (~isaac@c-71-237-105-37.hsd1.co.comcast.net) (Quit: WeeChat 2.9)
01:11:17 × whataday quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:12:24 whataday joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:16:02 elliott__ joins (~elliott@pool-108-18-30-46.washdc.fios.verizon.net)
01:19:05 × mason_ quits (~bc8134e3@217.29.117.252) (Quit: http://www.okay.uz/)
01:19:06 × shutdown_-h_now quits (~arjan@2001:1c06:2d0b:2312:3c9f:7dbb:c98e:3fdd) (Ping timeout: 258 seconds)
01:20:33 Alamarw joins (49c86555@c-73-200-101-85.hsd1.md.comcast.net)
01:20:50 × hendursa1 quits (~weechat@gateway/tor-sasl/hendursaga) (Quit: hendursa1)
01:21:19 hendursaga joins (~weechat@gateway/tor-sasl/hendursaga)
01:21:31 Tario joins (~Tario@201.192.165.173)
01:21:38 slack1256 joins (~slack1256@200-112-79-98.baf.movistar.cl)
01:22:04 × jesystani quits (~thorn@2404:4404:17f1:4900:5df:d6d:b137:d7c2) (Ping timeout: 245 seconds)
01:22:29 × xff0x quits (~xff0x@2001:1a81:52f2:b700:d92:ea7f:92b1:dda) (Ping timeout: 250 seconds)
01:24:24 drbean_ joins (~drbean@TC210-63-209-197.static.apol.com.tw)
01:25:00 shutdown_-h_now joins (~arjan@2001:1c06:2d0b:2312:49df:8384:cfbc:e28d)
01:25:00 xff0x joins (~xff0x@2001:1a81:5214:2600:9688:e220:3a3b:b1e5)
01:25:05 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
01:25:28 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
01:28:22 × slack1256 quits (~slack1256@200-112-79-98.baf.movistar.cl) (Remote host closed the connection)
01:30:13 × m0rphism quits (~m0rphism@HSI-KBW-085-216-104-059.hsi.kabelbw.de) (Ping timeout: 240 seconds)
01:32:36 × elliott__ quits (~elliott@pool-108-18-30-46.washdc.fios.verizon.net) (Quit: WeeChat 3.1)
01:33:56 elliott_ joins (~elliott@pool-108-18-30-46.washdc.fios.verizon.net)
01:34:12 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
01:36:19 × pjb quits (~pjb@2a01cb04063ec50074da953aa01bf5c6.ipv6.abo.wanadoo.fr) (Ping timeout: 248 seconds)
01:37:13 × berberman_ quits (~berberman@unaffiliated/berberman) (Ping timeout: 250 seconds)
01:37:33 berberman joins (~berberman@unaffiliated/berberman)
01:42:21 × lambdaman quits (~lambdaman@s66-183-152-156.bc.hsia.telus.net) (Remote host closed the connection)
01:45:18 × Jd007 quits (~Jd007@162.156.11.151) (Quit: Jd007)
01:46:24 falafel_ joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net)
01:47:04 nicholasbulka joins (~nicholasb@c-73-21-82-200.hsd1.ga.comcast.net)
01:48:49 × landonf quits (landonf@mac68k.info) (Excess Flood)
01:49:48 landonf joins (landonf@mac68k.info)
01:51:20 × nicholasbulka quits (~nicholasb@c-73-21-82-200.hsd1.ga.comcast.net) (Ping timeout: 252 seconds)
01:57:52 × nineonine quits (~nineonine@50.216.62.2) (Ping timeout: 240 seconds)
02:00:41 × elliott_ quits (~elliott@pool-108-18-30-46.washdc.fios.verizon.net) (Ping timeout: 240 seconds)
02:02:16 × Neuromancer quits (~Neuromanc@unaffiliated/neuromancer) (Ping timeout: 260 seconds)
02:05:28 gnumonic joins (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net)
02:09:52 × urodna quits (~urodna@unaffiliated/urodna) (Quit: urodna)
02:13:16 hexfive joins (~hexfive@50.35.83.177)
02:14:11 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 268 seconds)
02:14:35 Stanley|00 joins (~stanley00@unaffiliated/stanley00)
02:15:34 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 252 seconds)
02:19:09 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
02:19:34 × Stanley|00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 252 seconds)
02:19:42 Stanley00 joins (~stanley00@unaffiliated/stanley00)
02:21:23 jesystani joins (~thorn@2404:4404:17f1:4900:673a:e6bd:c719:dec4)
02:21:59 Jd007 joins (~Jd007@162.156.11.151)
02:23:43 dansho joins (~dansho@ec2-54-168-196-255.ap-northeast-1.compute.amazonaws.com)
02:24:26 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
02:28:22 st13g joins (~quassel@47.90.246.232)
02:30:33 × machinedgod quits (~machinedg@135-23-192-217.cpe.pppoe.ca) (Ping timeout: 260 seconds)
02:34:45 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Read error: Connection reset by peer)
02:35:02 × kini quits (~kini@unaffiliated/kini) (Remote host closed the connection)
02:36:17 × Alamarw quits (49c86555@c-73-200-101-85.hsd1.md.comcast.net) (Quit: Connection closed)
02:36:20 kini joins (~kini@unaffiliated/kini)
02:36:57 Stanley00 joins (~stanley00@unaffiliated/stanley00)
02:37:53 nicholasbulka joins (~nicholasb@c-73-21-82-200.hsd1.ga.comcast.net)
02:38:36 jschof joins (4a226035@74.34.96.53)
02:40:46 × theDon quits (~td@94.134.91.223) (Ping timeout: 240 seconds)
02:41:11 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
02:41:31 elliott_ joins (~elliott@pool-108-18-30-46.washdc.fios.verizon.net)
02:42:18 × nicholasbulka quits (~nicholasb@c-73-21-82-200.hsd1.ga.comcast.net) (Ping timeout: 252 seconds)
02:42:48 theDon joins (~td@muedsl-82-207-238-085.citykom.de)
02:44:53 ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
02:45:42 FinnElija joins (~finn_elij@gateway/tor-sasl/finnelija/x-67402716)
02:45:42 finn_elija is now known as Guest11909
02:45:42 FinnElija is now known as finn_elija
02:46:44 fiedlr joins (~fiedlr@83.148.33.254)
02:47:14 × jschof quits (4a226035@74.34.96.53) (Quit: Connection closed)
02:49:09 × Guest11909 quits (~finn_elij@gateway/tor-sasl/finnelija/x-67402716) (Ping timeout: 240 seconds)
02:50:41 × ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 240 seconds)
02:50:51 star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com)
02:51:52 × fiedlr quits (~fiedlr@83.148.33.254) (Ping timeout: 252 seconds)
02:52:23 jschofield joins (~jschofiel@74.34.96.53)
02:53:34 Matthias1 joins (~matthias@li890-22.members.linode.com)
02:55:09 <jschofield> who
02:56:27 Tario joins (~Tario@201.192.165.173)
03:00:45 × jschofield quits (~jschofiel@74.34.96.53) (Quit: leaving)
03:02:05 Guest78317 joins (~laudiacay@67.176.215.84)
03:05:09 × LiaoTao quits (~LiaoTao@gateway/tor-sasl/liaotao) (Ping timeout: 240 seconds)
03:08:56 × Sheilong quits (uid293653@gateway/web/irccloud.com/x-fxkopagyhurwlxby) ()
03:10:25 rnat2 joins (uid73555@gateway/web/irccloud.com/x-npgffezputfwgsjb)
03:13:51 × jesystani quits (~thorn@2404:4404:17f1:4900:673a:e6bd:c719:dec4) (Ping timeout: 250 seconds)
03:14:44 jesystani joins (~thorn@2404:4404:17f1:4900:d29c:def4:f106:7586)
03:14:58 × mrchampion quits (~mrchampio@38.18.109.23) (Ping timeout: 252 seconds)
03:18:09 mrchampion joins (~mrchampio@38.18.109.23)
03:21:43 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
03:22:30 × falafel_ quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 265 seconds)
03:29:11 × Guest78317 quits (~laudiacay@67.176.215.84) (Ping timeout: 246 seconds)
03:44:51 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
03:46:43 × waleee-cl quits (uid373333@gateway/web/irccloud.com/x-pqcbjjfbbjmsxwwn) (Quit: Connection closed for inactivity)
03:47:27 × jao quits (~jao@pdpc/supporter/professional/jao) (Remote host closed the connection)
03:47:52 pjb joins (~pjb@2a01cb04063ec500ad42b45c394adc0f.ipv6.abo.wanadoo.fr)
03:51:01 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 265 seconds)
03:55:26 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
03:56:02 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
03:56:58 frozenErebus joins (~frozenEre@37.231.244.249)
04:00:22 × SupaYoshi quits (~supayoshi@213-10-140-13.fixed.kpn.net) (Quit: Goodbye!)
04:01:10 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 252 seconds)
04:01:12 SupaYoshi joins (~supayoshi@213-10-140-13.fixed.kpn.net)
04:02:16 × frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 252 seconds)
04:03:16 × philderbeast quits (~textual@bras-base-vldvpq5901w-grc-06-184-144-244-252.dsl.bell.ca) (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:03:49 isovector joins (~isovector@172.103.216.166)
04:04:05 <isovector> can anyone show me why this diverges?
04:04:09 <isovector> knot :: State (Set String) a -> a
04:04:11 <isovector> knot m = fst $ fix $ \(_, used) -> runState m used
04:04:18 <isovector> i'd expect `knot $ pure True` to be `True`
04:04:32 <isovector> importing Control.Monad.State.Lazy
04:05:25 Guest78317 joins (~laudiacay@67.176.215.84)
04:05:55 <isovector> ohh is it the lambda?
04:06:51 nicholasbulka joins (~nicholasb@2601:900:4301:da0:5d5d:73a8:97:bab4)
04:07:18 <isovector> wow. using a tilde fixes it
04:07:21 <isovector> no pun intended :)
04:08:58 × xkapastel quits (uid17782@gateway/web/irccloud.com/x-dagvmnchyestqbjc) (Quit: Connection closed for inactivity)
04:09:25 × elliott_ quits (~elliott@pool-108-18-30-46.washdc.fios.verizon.net) (Ping timeout: 252 seconds)
04:09:39 <c_wraith> so using snd would also fix it
04:10:45 nineonine joins (~nineonine@50.216.62.2)
04:10:53 × nineonine quits (~nineonine@50.216.62.2) (Remote host closed the connection)
04:11:18 nineonine joins (~nineonine@50.216.62.2)
04:11:25 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:5d5d:73a8:97:bab4) (Ping timeout: 258 seconds)
04:12:57 × jesystani quits (~thorn@2404:4404:17f1:4900:d29c:def4:f106:7586) (Ping timeout: 258 seconds)
04:13:44 isovector parts (~isovector@172.103.216.166) ("WeeChat 3.1")
04:14:05 jesystani joins (~thorn@2404:4404:17f1:4900:5cee:f769:9f0a:b398)
04:14:19 × alx741 quits (~alx741@181.196.68.199) (Quit: alx741)
04:22:08 × Jd007 quits (~Jd007@162.156.11.151) (Quit: Jd007)
04:22:43 frozenErebus joins (~frozenEre@37.231.244.249)
04:25:48 × howdoi quits (uid224@gateway/web/irccloud.com/x-lfqvebqbrutpzvro) (Quit: Connection closed for inactivity)
04:29:18 kristijonas joins (~kristijon@78-56-32-39.static.zebra.lt)
04:30:19 jao joins (~jao@pdpc/supporter/professional/jao)
04:33:38 plutoniix joins (~q@ppp-124-122-197-70.revip2.asianet.co.th)
04:35:48 falafel_ joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net)
04:40:42 mnrmnaugh is now known as awk
04:40:44 <Guest78317> hello haskell wizards
04:40:59 <Guest78317> i have a thing that i just KNOW can be made horribly terse, but i am not sure how to do it
04:41:02 <Guest78317> https://pastebin.com/0c5HxyRB
04:41:15 <Guest78317> would anyone be willing to walk me through simplifying the code in that paste
04:41:31 <Guest78317> i will appreciate it greatly!!
04:42:07 × justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) (Quit: WeeChat 3.0.1)
04:43:24 × nitrix quits (~nitrix@haskell/developer/nitrix) (Quit: Genius is one percent inspiration and ninety-nine percent perspiration)
04:43:36 awk is now known as mnrmnaugh
04:44:24 <Cale> func = maybe mempty (Map.fromListWith (++) . map (bar &&& bazzes)) foo -- perhaps?
04:44:37 <Cale> oops, missed a (.)
04:44:37 × hypercube quits (hypercube@gateway/vpn/protonvpn/hypercube) (Ping timeout: 252 seconds)
04:44:52 <Cale> func = maybe mempty (Map.fromListWith (++) . map (bar &&& bazzes)) . foo
04:45:26 <Cale> I don't know if it's really much better. I probably wouldn't bother to avoid the case expression
04:45:32 nitrix joins (~nitrix@haskell/developer/nitrix)
04:45:49 <Cale> But I also usually wouldn't define tups, and would inline that
04:46:23 <Cale> I also don't mind the lambda
04:46:45 <Cale> Using &&& is cute, but it's usually less easy to work with later
04:47:00 ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
04:47:46 Sgeo__ joins (~Sgeo@ool-18b98aa4.dyn.optonline.net)
04:47:54 Codaraxis_ joins (~Codaraxis@ip68-5-90-227.oc.oc.cox.net)
04:48:05 poljar1 joins (~poljar@93-139-112-157.adsl.net.t-com.hr)
04:48:07 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Read error: Connection reset by peer)
04:48:07 MVQq joins (~anja@198.254.208.159)
04:48:08 × gnumonic quits (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
04:48:11 × poljar quits (~poljar@93-139-112-157.adsl.net.t-com.hr) (Read error: Connection reset by peer)
04:48:11 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Read error: Connection reset by peer)
04:48:20 × cpape quits (~user@static.180.18.203.116.clients.your-server.de) (Read error: Connection reset by peer)
04:48:23 × puke quits (~vroom@217.138.252.184) (Remote host closed the connection)
04:48:24 gnumonic joins (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net)
04:48:27 cpape joins (~user@static.180.18.203.116.clients.your-server.de)
04:48:32 gawen_ joins (~gawen@163.172.122.128)
04:48:34 tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
04:48:35 pyuk joins (~vroom@217.138.252.184)
04:48:39 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
04:49:11 × xsperry quits (~as@unaffiliated/xsperry) (Ping timeout: 240 seconds)
04:50:41 × Sgeo_ quits (~Sgeo@ool-18b98aa4.dyn.optonline.net) (Ping timeout: 240 seconds)
04:50:42 × gawen quits (~gawen@movzbl.root.sx) (Ping timeout: 240 seconds)
04:50:42 × MarcelineVQ quits (~anja@198.254.208.159) (Ping timeout: 240 seconds)
04:51:26 × Codaraxis__ quits (~Codaraxis@ip68-5-90-227.oc.oc.cox.net) (Ping timeout: 265 seconds)
04:53:17 × ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 268 seconds)
04:59:21 <Guest78317> lambdabot:
04:59:27 <Guest78317> lambdabot: help
04:59:32 <Guest78317> :help lambdabot
05:00:03 × carlomagno quits (~cararell@148.87.23.8) (Quit: Leaving.)
05:00:13 <Axman6> Guest78317: /msg lambdabot @help
05:00:17 <Guest78317> oh
05:01:16 <Guest78317> oh wow lambdabot pointfree just saved my life
05:01:18 <Guest78317> wowie
05:08:49 × frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 252 seconds)
05:09:42 × bitmapper quits (uid464869@gateway/web/irccloud.com/x-uwdxggeqquhliznf) (Quit: Connection closed for inactivity)
05:12:33 malumore_ joins (~malumore@151.62.126.110)
05:13:27 × jesystani quits (~thorn@2404:4404:17f1:4900:5cee:f769:9f0a:b398) (Ping timeout: 250 seconds)
05:14:23 jesystani joins (~thorn@2404:4404:17f1:4900:746:76fb:2b67:7367)
05:16:50 <sm[m]> Guest78317: firing squad at dawn if you didn't make it shorter eh ?
05:17:01 <Guest78317> kinda
05:17:16 <Guest78317> more like embarrassing myself in front of the guy that hired me
05:17:30 <Guest78317> which id prefer to not do because i would like to keep getting paid to write this sort of haskell
05:17:43 × kiweun quits (~kiweun@2607:fea8:2a62:9600:b5bb:e6d4:94df:23fa) (Remote host closed the connection)
05:18:06 <Guest78317> i just need the opportunity to get paid to write haskell and i get better so quickly but
05:18:10 ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
05:18:15 <Guest78317> these opportunities are rare compared to solidity....
05:23:59 × ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 246 seconds)
05:27:57 __minoru__shirae joins (~shiraeesh@5.101.59.44)
05:32:04 danvet joins (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa)
05:35:29 thc202 joins (~thc202@unaffiliated/thc202)
05:37:34 <Axman6> Guest78317: congrats on the job :) Worth keeping in mind the Haskell community is pretty small, so you may have colleagues in here :P
05:37:53 <Guest78317> oh i almost certainly do
05:38:03 <Axman6> "small" is a lot larger than when I started though, and now I'm on job #5ish using Haskell
05:38:49 <Guest78317> i have an FT thing starting in september that i am like absolutely praying i can get to write something functional at least
05:38:55 <Guest78317> i think rust is likely
05:39:00 <Guest78317> which, meh. could be worse
05:39:44 × falafel_ quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 246 seconds)
05:39:59 <Guest78317> i applied to co-star and they ignored me :| and i dont wanna work at facebook for the love of god
05:40:32 <Guest78317> don't know what other options there are out there but in5ish years i might be in here asking for places to apply
05:40:42 <gnumonic> rust is fun. i made the mistake of learning haskell as a first language (self-taught) and of all the other languages i tried rust was the only one that didn't kind of feel like pulling my own teeth out
05:40:48 <gnumonic> though i wish it had higher kinded types :-(
05:41:24 <juri_> Guest78317: good luck. :)
05:41:25 <Axman6> yeah :(
05:41:48 <Axman6> gnumonic: you'd be surprised how many places there are these days. There's plenty of places which aren't Facebook
05:41:55 <Axman6> uh, Guest78317
05:42:14 <Guest78317> i was talking to a few trading shops but i want to do open source more than trading
05:42:38 <Guest78317> like nonhaskell meaningful open source work is a higher priority for me than haskell trading
05:43:05 <juri_> Good on you. there are haskell free software shops. I happen to work at one.
05:43:06 <Axman6> plenty of the companies doing cryptocurrency stuff do much of it as open source
05:43:24 <Axman6> juri_: mind if I ask where? always good to know who there is
05:43:34 <juri_> Axman6: wire.com
05:43:51 <Axman6> oh nice, considered applying there since I know what they do
05:43:58 <Guest78317> libp2p has an up-and-coming haskell implementation that i am like fingers-crossed someone will let me hack on
05:44:08 <Guest78317> but that's really the only corner of the place i'm headed that is haskelly afaik
05:44:28 <Axman6> get plenty of shoutouts on Security, Privacy and OSINT podcast for Wire
05:44:39 <Guest78317> what other free software shops? im not going to like flake on my plans but im also just curious for more info on where i might hack in the future
05:44:52 <gaze__> hey folks -- is there a good recommended library for talking to subprocesses?
05:44:58 <Axman6> uh, "since I like what they do" no idea how that became know
05:45:05 <juri_> Axman6: I'd recommend working here. put in an odd application, you might be surprised.
05:45:07 <gaze__> I'm not even sure if pipes are the recommended way to plumb things together these days
05:45:16 <Axman6> gaze__: talking how?
05:45:31 <Guest78317> gaze__: you should call out to AWS and reverse shell back in
05:45:32 <gaze__> just plumbing stdin and stdout, killing, starting
05:45:39 <Guest78317> spawn an nginx instance for each
05:45:44 <gaze__> disgusting
05:45:46 <Guest78317> ok that wasn't even funny im just sleepy sorry folks
05:45:53 <gaze__> yeah I'm upset now
05:46:05 <gaze__> u better be sorry
05:46:08 <Guest78317> dw
05:46:27 <Axman6> juri_: You might struggle to beat my current contracting rate but I will consider it. I'd love to get the opportunity to play with more cryptography in HAskell, I did the recent BSIdes CTF all in Haskell and smashed out most of the crypto challenges
05:46:37 <gnumonic> actually since this is on topic: is there a good central place to look for haskell jobs? the big sites seem like kind of a wash (search linkedin for haskell, 20k c++ jobs pops up)
05:46:37 <Guest78317> Axman6: what team lol do i know you
05:46:57 <Axman6> I was by myself - this was BSides Canberra
05:47:12 <Guest78317> also i think the crypto library in haskell is missing primitives last time i tried to play with it
05:47:14 <Axman6> @google functionaljobs
05:47:15 <lambdabot> No Result Found.
05:47:22 <Axman6> u wot
05:47:38 <Axman6> Guest78317: "The crypto library"?
05:47:51 <Axman6> there's plenty, but I've always found what I needed in cryptonite
05:48:03 <Guest78317> cryptonite
05:48:27 <Guest78317> i spent about 10 minutes like "noise protocol????" but then stuff was missing so i went and did other things instead
05:49:36 sord937 joins (~sord937@gateway/tor-sasl/sord937)
05:49:50 ashesham` joins (~user@d8D87D1B0.access.telenet.be)
05:49:54 <Guest78317> srsly tho my background is "cryptography/distsys/machine learning master's" and lately "blockchain: have to fund the skincare addiction somehow", if anyone can rattle off places
05:50:20 <Guest78317> i wanna have them on my rader for when i eventually leave this FT place and want to consult in a language that makes me happy
05:52:19 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
05:58:16 frozenErebus joins (~frozenEre@37.231.244.249)
05:59:42 × thaumavorio quits (~thaumavor@thaumavor.io) (Quit: ZNC 1.8.2 - https://znc.in)
06:03:01 thaumavorio joins (~thaumavor@thaumavor.io)
06:04:25 × __minoru__shirae quits (~shiraeesh@5.101.59.44) (Ping timeout: 265 seconds)
06:07:51 coot joins (~coot@37.30.50.130.nat.umts.dynamic.t-mobile.pl)
06:07:59 <Axman6> there is an implementation of the noise protocol in Haskell, the implementation of Wireguard relies on it (though that project is now abandoned by the wireguard authors). noise is definitely not crypto primitives though
06:08:13 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 252 seconds)
06:08:28 <gaze__> oh also -- are conduit and pipes the recommended IO libraries these days, or is there something more modern?
06:08:40 __minoru__shirae joins (~shiraeesh@5.101.59.44)
06:09:00 <Axman6> IOHK would be probably the best known cryptocurrency/blockchain option, then there's where I'm contracted, Digital Asset, and a few others
06:09:52 <Axman6> gaze__: I ahven't used any for a while, but I found conduit fairly easy to use. streaming is quite nice, streamly is supposed to be fast but I've never used it
06:13:10 × dolio quits (~dolio@haskell/developer/dolio) (Ping timeout: 252 seconds)
06:13:59 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
06:15:01 × nineonine quits (~nineonine@50.216.62.2) (Ping timeout: 260 seconds)
06:15:29 viluon joins (uid453725@gateway/web/irccloud.com/x-vyqobkrpvjjkrljw)
06:18:34 × kristijonas quits (~kristijon@78-56-32-39.static.zebra.lt) (Remote host closed the connection)
06:19:38 kristijonas joins (~kristijon@78-56-32-39.static.zebra.lt)
06:22:22 Sornaens1 joins (~Sornaensi@85.203.36.21)
06:22:45 dolio joins (~dolio@haskell/developer/dolio)
06:23:04 × kristijonas quits (~kristijon@78-56-32-39.static.zebra.lt) (Remote host closed the connection)
06:23:38 chele joins (~chele@5.53.222.202)
06:24:10 m0rphism joins (~m0rphism@HSI-KBW-085-216-104-059.hsi.kabelbw.de)
06:25:08 × Sgeo__ quits (~Sgeo@ool-18b98aa4.dyn.optonline.net) (Read error: Connection reset by peer)
06:25:09 lambdaman joins (~lambdaman@s66-183-152-156.bc.hsia.telus.net)
06:25:49 × jesystani quits (~thorn@2404:4404:17f1:4900:746:76fb:2b67:7367) (Ping timeout: 250 seconds)
06:26:13 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
06:26:44 jesystani joins (~thorn@2404:4404:17f1:4900:e0ee:a921:39f9:daa0)
06:29:29 × malumore_ quits (~malumore@151.62.126.110) (Ping timeout: 260 seconds)
06:30:47 idhugo_ joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net)
06:31:32 × dolio quits (~dolio@haskell/developer/dolio) (Ping timeout: 246 seconds)
06:31:51 ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
06:31:53 Sornaensis joins (~Sornaensi@79.142.232.102.static.router4.bolignet.dk)
06:35:07 × Sornaens1 quits (~Sornaensi@85.203.36.21) (Read error: Connection reset by peer)
06:36:19 × ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 265 seconds)
06:43:14 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
06:46:11 <koz_> Pipes is also pretty good. Conduit has a bigger ecosystem I think.
06:46:57 × jao quits (~jao@pdpc/supporter/professional/jao) (Ping timeout: 265 seconds)
06:47:08 cfricke joins (~cfricke@unaffiliated/cfricke)
06:47:16 × ystael quits (~ystael@209.6.50.55) (Ping timeout: 252 seconds)
06:48:02 nineonine joins (~nineonine@50.216.62.2)
06:52:11 × nineonine quits (~nineonine@50.216.62.2) (Ping timeout: 246 seconds)
06:52:28 jakalx parts (~jakalx@base.jakalx.net) ("Error from remote client")
06:54:32 × cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
06:54:35 Wizek joins (uid191769@gateway/web/irccloud.com/x-xmeffajrmhvrulqs)
06:57:05 malumore_ joins (~malumore@151.62.126.110)
06:57:19 jakalx joins (~jakalx@base.jakalx.net)
06:59:05 ystael joins (~ystael@209.6.50.55)
07:00:03 × rnat2 quits (uid73555@gateway/web/irccloud.com/x-npgffezputfwgsjb) (Quit: Connection closed for inactivity)
07:00:45 xsperry joins (~as@unaffiliated/xsperry)
07:01:10 lovesegfault joins (~bemeurer@37.219.94.34.bc.googleusercontent.com)
07:03:27 ircbrowse_tom joins (~ircbrowse@64.225.78.177)
07:03:27 Server sets mode +CLnt
07:06:02 zeenk joins (~zeenk@2a02:2f04:a10b:af00:91ba:3645:1cdb:9a75)
07:08:04 <Uniaika> @hoogle concatMap
07:08:05 <lambdabot> Prelude concatMap :: Foldable t => (a -> [b]) -> t a -> [b]
07:08:05 <lambdabot> Data.List concatMap :: Foldable t => (a -> [b]) -> t a -> [b]
07:08:05 <lambdabot> Data.Foldable concatMap :: Foldable t => (a -> [b]) -> t a -> [b]
07:08:10 <Uniaika> lovesegfault: ^ ?
07:10:51 × Rudd0 quits (~Rudd0@185.189.115.108) (Ping timeout: 260 seconds)
07:11:11 <lovesegfault> Uniaika: Ah, yes, that looks like it!
07:11:13 <lovesegfault> Thanks :)
07:11:36 <Uniaika> lovesegfault: 👍 have fun in Haskell-land!
07:14:15 × xff0x quits (~xff0x@2001:1a81:5214:2600:9688:e220:3a3b:b1e5) (Ping timeout: 260 seconds)
07:15:11 xff0x joins (~xff0x@2001:1a81:5214:2600:9556:d2d0:9e03:65e7)
07:15:51 dpl joins (~dpl@77-121-78-163.chn.volia.net)
07:15:56 Lowl3v3l joins (~Lowl3v3l@dslb-002-207-103-026.002.207.pools.vodafone-ip.de)
07:17:45 × sagax quits (~sagax_nb@213.138.71.146) (Remote host closed the connection)
07:18:11 gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh)
07:19:28 × vicfred quits (~vicfred@unaffiliated/vicfred) (Quit: Leaving)
07:21:11 × ystael quits (~ystael@209.6.50.55) (Ping timeout: 240 seconds)
07:22:27 × lambdaman quits (~lambdaman@s66-183-152-156.bc.hsia.telus.net) (Remote host closed the connection)
07:26:23 × jesystani quits (~thorn@2404:4404:17f1:4900:e0ee:a921:39f9:daa0) (Ping timeout: 260 seconds)
07:27:05 jesystani joins (~thorn@2404:4404:17f1:4900:5d5d:4b64:8f45:cb7b)
07:27:58 <lovesegfault> The syntax is a bit alien right now, but I'm sure I'll get used to it :P
07:28:04 ystael joins (~ystael@209.6.50.55)
07:28:28 hiroaki_ joins (~hiroaki@2a02:8108:8c40:2bb8:2126:aa80:b49b:4f77)
07:29:19 michalz joins (~user@185.246.204.47)
07:30:08 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
07:30:41 × ashesham` quits (~user@d8D87D1B0.access.telenet.be) (Ping timeout: 246 seconds)
07:30:51 ashesham` joins (~user@d8D87D1B0.access.telenet.be)
07:33:06 fiedlr joins (~fiedlr@83.148.33.254)
07:33:07 garFF joins (~garff@0x3e2c8755.mobile.telia.dk)
07:33:27 Varis joins (~Tadas@unaffiliated/varis)
07:37:22 <Axman6> lovesegfault: flatMap is the name others have given to Haskell's (>>=) (pronounced bind), and you'll find list's implementation of the Monad class defines (>>=) as concatMap
07:37:26 × __minoru__shirae quits (~shiraeesh@5.101.59.44) (Ping timeout: 240 seconds)
07:38:45 × garFF quits (~garff@0x3e2c8755.mobile.telia.dk) (Quit: Leaving)
07:41:06 × michalz quits (~user@185.246.204.47) (Ping timeout: 240 seconds)
07:41:32 × s00pcan quits (~chris@075-133-056-178.res.spectrum.com) (Ping timeout: 240 seconds)
07:41:48 michalz joins (~user@185.246.204.61)
07:43:45 s00pcan joins (~chris@107.181.165.217)
07:43:48 johny9 joins (~bc8134e3@217.29.117.252)
07:45:39 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
07:46:13 nyd joins (~nyd@unaffiliated/elysian)
07:47:06 × tlgl^nix quits (~damien@S0106008ef25e98fb.su.shawcable.net) (Ping timeout: 240 seconds)
07:47:49 kritzefitz joins (~kritzefit@212.86.56.80)
07:48:21 dolio joins (~dolio@haskell/developer/dolio)
07:48:38 <johny9> hi. can someone explain how this works?
07:48:46 × Guest78317 quits (~laudiacay@67.176.215.84) (Ping timeout: 240 seconds)
07:48:51 <johny9> > [ (a,b,c) | c <- [1..], b <- [1..c], a <- [1..b], a^2 + b^2 == c^2 ]
07:48:55 <lambdabot> [(3,4,5),(6,8,10),(5,12,13),(9,12,15),(8,15,17),(12,16,20),(15,20,25),(7,24,...
07:51:18 nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
07:51:20 nut parts (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) ()
07:51:25 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
07:51:36 × dpl quits (~dpl@77-121-78-163.chn.volia.net) (Quit: dpl)
07:51:53 nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
07:52:05 dpl joins (~dpl@77-121-78-163.chn.volia.net)
07:54:35 timCF joins (~i.tkachuk@200-149-20-81.sta.estpak.ee)
07:54:43 × Feuermagier quits (~Feuermagi@2a02:2488:4211:3400:7285:c2ff:fe22:172e) (Remote host closed the connection)
07:55:07 <timCF> Hello! Is there well-known name for `((f <$>) <$>)` ?
07:55:19 <timCF> For example to map over functor in IO
07:56:42 __minoru__shirae joins (~shiraeesh@5.101.59.44)
07:57:37 nicholas_ joins (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee)
07:58:11 × todda7 quits (~torstein@athedsl-4519432.home.otenet.gr) (Ping timeout: 240 seconds)
08:02:11 × nicholas_ quits (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee) (Ping timeout: 258 seconds)
08:03:22 × zaquest quits (~notzaques@5.128.210.178) (Quit: Leaving)
08:05:09 jophish__ joins (ca536851@202.83.104.81)
08:07:15 × fiedlr quits (~fiedlr@83.148.33.254) ()
08:07:30 zaquest joins (~notzaques@5.128.210.178)
08:08:07 hendursa1 joins (~weechat@gateway/tor-sasl/hendursaga)
08:10:21 × hendursaga quits (~weechat@gateway/tor-sasl/hendursaga) (Ping timeout: 240 seconds)
08:13:22 × akhesacaro quits (~caro@212.83.144.58) (Quit: leaving)
08:18:47 Pickchea joins (~private@unaffiliated/pickchea)
08:21:05 <edwardk> timcf: fmap.fmap fmap.fmap.fmap build up the ability to map over layers like these in series. lenses generalize this pattern. cale (used to advocate for . being a better name for fmap, so the names :. for fmap . fmap = (.).(.) came up in various flavors, but its not standardly packaged into base.
08:24:06 × Pickchea quits (~private@unaffiliated/pickchea) (Ping timeout: 240 seconds)
08:26:14 kristijonas joins (~kristijon@78-56-32-39.static.zebra.lt)
08:26:26 × jesystani quits (~thorn@2404:4404:17f1:4900:5d5d:4b64:8f45:cb7b) (Remote host closed the connection)
08:26:46 × frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 240 seconds)
08:26:52 jesystani joins (~thorn@2404:4404:17f1:4900:e17d:57ca:df47:fd0b)
08:28:11 × nut quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 240 seconds)
08:28:26 LKoen joins (~LKoen@92.163.9.109.rev.sfr.net)
08:28:27 todda7 joins (~torstein@ppp-2-85-110-156.home.otenet.gr)
08:28:29 <merijn> timCF: semantic editor combinators?
08:31:48 fendor joins (~fendor@178.165.131.162.wireless.dyn.drei.com)
08:32:16 DavidEichmann joins (~david@147.136.46.217.dyn.plus.net)
08:32:33 × zeenk quits (~zeenk@2a02:2f04:a10b:af00:91ba:3645:1cdb:9a75) (Quit: Konversation terminated!)
08:34:00 ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
08:37:52 × kritzefitz quits (~kritzefit@212.86.56.80) (Ping timeout: 240 seconds)
08:38:19 × Stanley00 quits (~stanley00@unaffiliated/stanley00) ()
08:38:24 kritzefitz joins (~kritzefit@2003:5b:203b:200::10:49)
08:38:33 <ski> `(.) = fmap' used to be in lambdabot, along with a generalized `flip' along similar lines
08:39:25 <ski> (i invented the name `.:' for `(.) . (.)' before this)
08:39:44 nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
08:41:44 × ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 246 seconds)
08:45:18 <Squarism> I just stumbled upon https://github.com/expipiplus1/vulkan . Anyone know if someone done a playable game with it?
08:46:25 kuribas joins (~user@ptr-25vy0i6xed5dn86psi8.18120a2.ip6.access.telenet.be)
08:46:44 × jophish__ quits (ca536851@202.83.104.81) (Quit: Connection closed)
08:48:14 × pyuk quits (~vroom@217.138.252.184) (Quit: pyuk)
08:48:35 puke joins (~vroom@217.138.252.184)
08:49:21 <merijn> Define "playable" ;)
08:49:33 <idnar> timCF: Relude has this as <$$> http://hackage.haskell.org/package/relude-0.7.0.0/docs/Relude-Functor-Fmap.html#v:-60--60--36--62--62-
08:50:54 <Squarism> merijn, =D. Idk, something a non haskeller could download and run in 2 mins?
08:51:52 <merijn> Squarism: Then probably not
08:52:48 <Squarism> merijn, you know of *something* worth looking at outside those requirements?
08:52:56 <merijn> Squarism: The closest thing to a "playable" game in Haskell I'm aware off would be something like Frag? https://wiki.haskell.org/Frag
08:53:21 <merijn> But that's openGL, not vulkan
08:53:41 × nut quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 240 seconds)
08:54:04 × __minoru__shirae quits (~shiraeesh@5.101.59.44) (Ping timeout: 265 seconds)
08:55:04 × kristijonas quits (~kristijon@78-56-32-39.static.zebra.lt) (Remote host closed the connection)
08:55:15 zeenk joins (~zeenk@2a02:2f04:a10b:af00:91ba:3645:1cdb:9a75)
08:56:24 nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
08:58:55 kristijonas joins (~kristijon@78-56-32-39.static.zebra.lt)
08:59:06 × kristijonas quits (~kristijon@78-56-32-39.static.zebra.lt) (Remote host closed the connection)
09:01:21 jakalx parts (~jakalx@base.jakalx.net) ()
09:01:56 Pickchea joins (~private@unaffiliated/pickchea)
09:07:32 × nut quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 240 seconds)
09:10:43 × drbean_ quits (~drbean@TC210-63-209-197.static.apol.com.tw) (Quit: ZNC 1.8.2+cygwin2 - https://znc.in)
09:11:15 nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
09:11:19 Guest99075 joins (c36125d6@195.97.37.214)
09:11:33 Guest99075 parts (c36125d6@195.97.37.214) ()
09:13:27 Mrbuck joins (~Mrbuck@gateway/tor-sasl/mrbuck)
09:19:56 jakalx joins (~jakalx@base.jakalx.net)
09:25:11 × todda7 quits (~torstein@ppp-2-85-110-156.home.otenet.gr) (Ping timeout: 240 seconds)
09:26:05 × jesystani quits (~thorn@2404:4404:17f1:4900:e17d:57ca:df47:fd0b) (Ping timeout: 250 seconds)
09:27:10 jesystani joins (~thorn@2404:4404:17f1:4900:e927:c60a:3208:b376)
09:27:14 frozenErebus joins (~frozenEre@37.231.244.249)
09:28:13 HannaM joins (~quassel@p54849510.dip0.t-ipconnect.de)
09:33:26 garFF joins (~garff@0x3e2c8755.mobile.telia.dk)
09:37:02 × nut quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 246 seconds)
09:39:47 ubert1 joins (~Thunderbi@62-47-7-125.adsl.highway.telekom.at)
09:40:12 <hc> I remember an arcade-like game written in haskell, but I don't remember its name
09:40:19 <hc> It was mentioned in the weekly haskell newsletter
09:47:11 kristijonas joins (~kristijon@78-56-32-39.static.zebra.lt)
09:47:17 <gnumonic> was it like dystopian pokemon but the pokemon are people or something like that? i think that's the only haskell game i ever played (was pretty good if i remember)
09:47:40 Feuermagier joins (~Feuermagi@213.178.26.41)
09:48:01 Synthetica joins (uid199651@gateway/web/irccloud.com/x-uzlgvfmvgotbpzjj)
09:48:19 × Feuermagier quits (~Feuermagi@213.178.26.41) (Client Quit)
09:50:07 nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
09:51:24 <hc> It was arcade like, a bit like commander keen
09:51:46 <hc> I even had a brief e-mail exchange with the author, but I can't dig through my old e-mails right now
09:54:18 mmfood joins (~mmfood@185.176.246.69)
09:55:21 × jesystani quits (~thorn@2404:4404:17f1:4900:e927:c60a:3208:b376) (Ping timeout: 245 seconds)
09:55:58 <Cale> Nikki and the Robots?
09:56:30 × loller_ quits (uid358106@gateway/web/irccloud.com/x-lstrgyekfcdepwsa) (Quit: Connection closed for inactivity)
09:57:31 <hc> no, but that one looks interesting, too
09:59:18 <nut> is there a way to write code in the style: obj.method ? example: [1..10].reverse
09:59:35 <nut> I remember in the lens library, there is the & operator
09:59:47 todda7 joins (~torstein@athedsl-4519432.home.otenet.gr)
09:59:48 <Cale> yeah, you can define flipped application
10:00:12 × viluon quits (uid453725@gateway/web/irccloud.com/x-vyqobkrpvjjkrljw) (Quit: Connection closed for inactivity)
10:01:04 <Cale> If you're really evil, you could even import Prelude hiding ((.)) and then define x . f = f x
10:01:19 <Cale> Everyone will hate your code then
10:01:20 <xsperry> there's & in Data.Function
10:01:39 <nut> haha, great idea
10:02:53 <nut> xsperry: didn't know the & is from Data.Function!
10:03:05 <kuribas> that's only recently, right?
10:03:09 × Mrbuck quits (~Mrbuck@gateway/tor-sasl/mrbuck) (Ping timeout: 240 seconds)
10:03:21 <Cale> Yeah, I think that's more recent
10:03:45 <Cale> and I think it's also possible that diagrams was the first library to define that one?
10:04:03 <Cale> But yeah, definitely lens made it a good bit more popular
10:04:06 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
10:04:08 <nut> Are we talking about the & operator?
10:04:11 <Cale> yeah
10:05:00 <nut> For people transitioning into Haskell from somewhere else, it's a neat operator
10:05:10 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:07:47 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
10:08:13 Rudd0 joins (~Rudd0@185.189.115.108)
10:08:52 __minoru__shirae joins (~shiraeesh@5.101.59.44)
10:10:46 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
10:11:01 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:15:50 usr25 joins (~usr25@unaffiliated/usr25)
10:16:18 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
10:16:34 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:17:56 × garFF quits (~garff@0x3e2c8755.mobile.telia.dk) (Quit: Leaving)
10:18:00 geiger joins (~geiger@90.212.77.86)
10:20:14 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
10:20:18 ClaudiusMaximus joins (~claude@cpc98210-croy26-2-0-cust137.19-2.cable.virginm.net)
10:20:28 × ClaudiusMaximus quits (~claude@cpc98210-croy26-2-0-cust137.19-2.cable.virginm.net) (Changing host)
10:20:28 ClaudiusMaximus joins (~claude@unaffiliated/claudiusmaximus)
10:20:46 × geiger_ quits (~geiger@90.212.77.86) (Ping timeout: 240 seconds)
10:22:35 × nut quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 268 seconds)
10:26:51 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
10:27:33 × Guest88007 quits (~textual@2603-7000-3040-0000-6507-b6e6-e1a7-946f.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:27:40 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:28:30 geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr)
10:29:41 nicholasbulka joins (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee)
10:29:47 × cfricke quits (~cfricke@unaffiliated/cfricke) (Ping timeout: 260 seconds)
10:30:14 cfricke joins (~cfricke@unaffiliated/cfricke)
10:32:46 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
10:33:37 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:34:22 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee) (Ping timeout: 258 seconds)
10:38:14 ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
10:38:49 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
10:39:34 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:40:26 × timCF quits (~i.tkachuk@200-149-20-81.sta.estpak.ee) (Quit: leaving)
10:40:45 brown121407 joins (~brown1214@fsf/member/brown121407)
10:43:47 × nyd quits (~nyd@unaffiliated/elysian) (Ping timeout: 265 seconds)
10:44:16 × ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 265 seconds)
10:44:52 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
10:45:19 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:47:42 × dansho quits (~dansho@ec2-54-168-196-255.ap-northeast-1.compute.amazonaws.com) (Quit: Leaving)
10:47:56 oish joins (~charlie@228.25.169.217.in-addr.arpa)
10:49:42 × aVikingTrex quits (2be74510@43.231.69.16) (Ping timeout: 240 seconds)
10:50:55 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
10:51:04 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:51:12 × todda7 quits (~torstein@athedsl-4519432.home.otenet.gr) (Ping timeout: 240 seconds)
10:51:35 × quinn quits (~quinn@c-73-223-224-163.hsd1.ca.comcast.net) (Quit: ZNC 1.8.1 - https://znc.in)
10:54:36 Alleria joins (~textual@zrcout.mskcc.org)
10:55:00 Alleria is now known as Guest46085
10:56:25 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
10:56:37 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:01:50 __monty__ joins (~toonn@unaffiliated/toonn)
11:02:09 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)
11:02:22 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:04:45 geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com)
11:07:26 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
11:08:05 aVikingTrex joins (~aVikingTr@2001:8003:340d:d00:b2de:b98:7a93:b0ea)
11:08:19 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:13:26 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
11:14:04 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:16:01 nyd joins (~nyd@unaffiliated/elysian)
11:19:06 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
11:19:24 jumper149 joins (~jumper149@80.240.31.34)
11:19:42 × Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Remote host closed the connection)
11:19:49 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:20:32 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
11:20:47 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
11:25:11 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
11:25:22 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:26:21 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
11:30:32 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
11:31:19 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:31:31 zva joins (~zava@141.26.31.52)
11:32:24 × zva quits (~zava@141.26.31.52) (Client Quit)
11:33:00 zva joins (~zava@141.26.31.52)
11:34:15 todda7 joins (~torstein@athedsl-4519432.home.otenet.gr)
11:35:07 kiweun joins (~kiweun@2607:fea8:2a62:9600:7cf0:bc04:9ce:d2d0)
11:36:11 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
11:36:52 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:39:34 × kiweun quits (~kiweun@2607:fea8:2a62:9600:7cf0:bc04:9ce:d2d0) (Ping timeout: 245 seconds)
11:39:49 idhugo__ joins (~idhugo@87-49-45-4-mobile.dk.customer.tdc.net)
11:40:02 knupfer joins (~Thunderbi@200116b82b71e80075f20a34a227ec31.dip.versatel-1u1.de)
11:40:16 × yaroot quits (~yaroot@138.102.13.160.dy.iij4u.or.jp) (Quit: The Lounge - https://thelounge.chat)
11:40:59 yaroot joins (~yaroot@138.102.13.160.dy.iij4u.or.jp)
11:42:04 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
11:42:45 × idhugo_ quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 265 seconds)
11:42:49 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:44:26 alexm_ joins (~alexm_@161.8.254.109)
11:45:24 Mrbuck joins (~Mrbuck@gateway/tor-sasl/mrbuck)
11:45:58 machinedgod joins (~machinedg@135-23-192-217.cpe.pppoe.ca)
11:46:41 waleee-cl joins (uid373333@gateway/web/irccloud.com/x-eecvggrkioegpbei)
11:47:28 <alexm_> hey folks, I'm doing fp-course (former NICTA course) and have been stuck on the filtering exercise for the Applicative part
11:47:55 <dibblego> how far have you got so far?
11:48:10 <alexm_> I've finally come up with this and feel like it can be made more elegant
11:48:12 <alexm_> filtering _ Nil = pure Nil
11:48:12 <alexm_> filtering p (x:.xs) = lift2 (++) (append x <$> p x) (filtering p xs)
11:48:12 <alexm_> where append x' b | b = x' :. Nil
11:48:14 <alexm_> | otherwise = Nil
11:48:51 nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
11:49:42 <dibblego> you can try using (:.) instead of (++) in the condition test
11:50:15 <dibblego> it is tricky, especially when doing it on your own
11:50:31 <dibblego> usually by here, people have been given _LOTS_ of hints (and tend to ignore them anyway :)
11:51:02 × LKoen quits (~LKoen@92.163.9.109.rev.sfr.net) (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”)
11:51:41 <dibblego> try this: lift2 (bool id (x:.)) _todo (filtering p xs)
11:51:42 <alexm_> when you say condition test which part do you mean exactly?
11:51:49 <dibblego> append
11:52:01 viluon joins (uid453725@gateway/web/irccloud.com/x-glghvaevbeqxsogf)
11:52:24 <alexm_> ok, will try
11:52:27 × Barras2 quits (~Barras2@139.28.218.148) (Remote host closed the connection)
11:52:29 × knupfer quits (~Thunderbi@200116b82b71e80075f20a34a227ec31.dip.versatel-1u1.de) (Ping timeout: 245 seconds)
11:52:33 <alexm_> thanks for the hint!
11:54:28 <alexm_> that bool function is the one I was desperately searching for thinking about how can I do simple truthiness check in applicative context, sigh...
11:54:36 drbean_ joins (~drbean@TC210-63-209-44.static.apol.com.tw)
11:58:04 Tops2 joins (~Tobias@dyndsl-095-033-023-254.ewe-ip-backbone.de)
11:59:24 urodna joins (~urodna@unaffiliated/urodna)
12:00:17 <alexm_> dibblego updated version is: filtering p (x:.xs) = lift2 (bool id (x:.)) (p x) (filtering p xs)
12:02:56 <alexm_> I wonder, how do you arrive to such solution? is that a common pattern of sorts?
12:03:23 × olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Remote host closed the connection)
12:03:24 <merijn> type tetris, usually
12:03:42 <merijn> "look at the pieces, make them fit" :p
12:04:09 <alexm_> easier said than done :)
12:04:13 <kuribas> the tuple trick usually works fine
12:04:29 <kuribas> I write myFun = () $ partial_implementation
12:04:38 <kuribas> then let the type system tell me what I need next.
12:04:41 <merijn> alexm_: That's where experience with possible things kicks in :)
12:04:52 <merijn> kuribas: You can do the same but better with _
12:05:07 <kuribas> merijn: I disagree. I find that tuple gives me usually better error messages.
12:05:28 <kuribas> I only use typed holes for unimplemented functions.
12:06:56 <kuribas> Also writing straigtforward but verbose code, then using rewrite rules to make it nicer usually works very well.
12:07:18 <kuribas> And it's what I would recommend any beginner.
12:07:43 <kuribas> Don't try and fit in every abstraction, just write code that solves the problem, then rewrite it.
12:07:58 <merijn> That doesn't apply to homework :p
12:08:33 <kuribas> Depends on the task?
12:11:26 nineonine joins (~nineonine@50.216.62.2)
12:12:03 nineonin_ joins (~nineonine@50.216.62.2)
12:13:29 zariuq joins (~zar@fw1.ciirc.cvut.cz)
12:13:45 <dibblego> alexm_: by now, we've told the class at least 50 times how lift2 works, and its intuition
12:15:41 × nineonine quits (~nineonine@50.216.62.2) (Ping timeout: 240 seconds)
12:16:34 <merijn> dibblego: So what you're saying is that about 50% remembers at this point? ;)
12:17:28 <alexm_> dibblego: yeah, it takes some time to sink in I guess
12:18:02 <alexm_> and actually implementing it helps a lot
12:18:15 <maerwald> :t lift2
12:18:17 <lambdabot> error:
12:18:17 <lambdabot> • Variable not in scope: lift2
12:18:17 <lambdabot> • Perhaps you meant one of these:
12:18:32 <dibblego> not even 10% usually
12:19:18 <maerwald> never head of lift2
12:20:06 <alexm_> it's liftA2 actually
12:20:12 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 240 seconds)
12:20:27 <merijn> dibblego: ;)
12:20:38 <alexm_> it's just the function from the course named lift2
12:23:23 × Tops2 quits (~Tobias@dyndsl-095-033-023-254.ewe-ip-backbone.de) (Quit: Leaving.)
12:23:36 Guillaum joins (guiboumatr@gateway/shell/matrix.org/x-jujgaxapscnlvbmt)
12:24:29 nicholasbulka joins (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee)
12:24:40 Tops2 joins (~Tobias@dyndsl-095-033-023-254.ewe-ip-backbone.de)
12:28:57 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee) (Ping timeout: 250 seconds)
12:29:36 basenode joins (~user@gateway/tor-sasl/basenode)
12:29:42 basenode parts (~user@gateway/tor-sasl/basenode) ()
12:31:49 × usr25 quits (~usr25@unaffiliated/usr25) (Quit: Leaving)
12:32:23 × geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 246 seconds)
12:33:05 basenode joins (~user@gateway/tor-sasl/basenode)
12:33:22 star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com)
12:33:43 nineonine joins (~nineonine@2604:3d08:7785:9600:e0d9:4197:14e4:81a)
12:35:02 alx741 joins (~alx741@181.196.68.199)
12:35:27 × kritzefitz quits (~kritzefit@2003:5b:203b:200::10:49) (Ping timeout: 250 seconds)
12:35:58 xourt joins (d4c620ea@212-198-32-234.rev.numericable.fr)
12:37:37 × nineonin_ quits (~nineonine@50.216.62.2) (Ping timeout: 252 seconds)
12:37:58 nineonin_ joins (~nineonine@50.216.62.2)
12:38:01 <basenode> anyone here that i was talking to yesterday?
12:38:11 kritzefitz joins (~kritzefit@2003:5b:203b:200::10:49)
12:38:43 × ubert1 quits (~Thunderbi@62-47-7-125.adsl.highway.telekom.at) (Ping timeout: 252 seconds)
12:39:55 hypercube joins (hypercube@gateway/vpn/protonvpn/hypercube)
12:40:13 × nineonine quits (~nineonine@2604:3d08:7785:9600:e0d9:4197:14e4:81a) (Ping timeout: 250 seconds)
12:40:24 ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
12:40:56 _bin_ joins (~bin@2600:1700:10a1:38d0:219a:3dd:429e:7909)
12:41:49 × _bin quits (~bin@2600:1700:10a1:38d0:8028:8b86:7e11:f5b5) (Ping timeout: 258 seconds)
12:42:26 × todda7 quits (~torstein@athedsl-4519432.home.otenet.gr) (Ping timeout: 240 seconds)
12:43:55 ski looks at basenode
12:44:04 <basenode> ski: oh hey dude!
12:44:07 × xourt quits (d4c620ea@212-198-32-234.rev.numericable.fr) (Quit: Connection closed)
12:44:32 × ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 240 seconds)
12:45:42 ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
12:45:46 <basenode> just thought i would share the implementation for the algo we discussed yesterday, i didn't come up with it but it thought it was so elegant i had to share it
12:46:28 <basenode> ski: -> https://dpaste.com/7VMXVC9XX
12:47:14 Sorna joins (~Sornaensi@077213200034.dynamic.telenor.dk)
12:47:47 <basenode> all relatively self-explanatory, except Enum.group_by, which splits an enumerable into groups based on a function you pass it
12:48:07 × nyd quits (~nyd@unaffiliated/elysian) (Quit: nyd)
12:50:38 <ski> what happens if you have more than one root ?
12:51:23 × Sornaensis quits (~Sornaensi@79.142.232.102.static.router4.bolignet.dk) (Ping timeout: 265 seconds)
12:51:52 <basenode> it still works :)
12:52:08 <ski> do you get the tree for the last root ?
12:52:25 <basenode> yeah also
12:53:59 <ski> (also what ?)
12:55:23 × ericsagnes quits (~ericsagne@2405:6580:0:5100:e608:c88b:5ed1:a466) (Ping timeout: 250 seconds)
12:55:41 × Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 240 seconds)
12:55:48 <basenode> ski: not sure i understood the question entirely, you were asking if i get the tree for the last root element?
12:56:25 <basenode> "yeah also" as in yes, i also get the tree for the last root element
12:56:26 <ski> yes, in case you have more than one `id' whose `parent_id' is `nil'
12:56:38 × plutoniix quits (~q@ppp-124-122-197-70.revip2.asianet.co.th) (Quit: Leaving)
12:56:52 × hypercube quits (hypercube@gateway/vpn/protonvpn/hypercube) (Ping timeout: 240 seconds)
12:56:59 <basenode> yeah, all trees for each root element are returned
12:58:07 lambdaman joins (~lambdaman@s66-183-152-156.bc.hsia.telus.net)
12:58:12 <ski> hm, okay
12:58:37 <ski> i'm not completely following the details of the code, but from what i understand, it looks nice
12:58:50 <ski> (and you're doing a top-down, rather than a bottom-up solution)
12:59:21 × lambdaman quits (~lambdaman@s66-183-152-156.bc.hsia.telus.net) (Remote host closed the connection)
13:00:10 lambdaman joins (~lambdaman@s66-183-152-156.bc.hsia.telus.net)
13:00:18 nicholasbulka joins (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee)
13:02:21 × finn_elija quits (~finn_elij@gateway/tor-sasl/finnelija/x-67402716) (Ping timeout: 240 seconds)
13:03:03 horatiohb joins (~horatiohb@104.131.33.15)
13:04:26 finn_elija joins (~finn_elij@gateway/tor-sasl/finnelija/x-67402716)
13:05:09 <basenode> ski: this implementation is from the creator of elixir (jose valim), but yeah it's a beautiful piece of code, all of my attempts were far more complex and didn't work lol
13:05:23 <basenode> thought you might appreciate it though ;)
13:06:14 <ski> ah, Elixir
13:06:35 <ski> it's quite simple and elegant, yea
13:06:55 <ski> (i wonder what the difference between `def' and `defp' is)
13:07:28 <ski> (hm, the paste even said it, i just didn't notice)
13:07:30 hyperisco joins (~hyperisco@d192-186-117-226.static.comm.cgocable.net)
13:07:53 ericsagnes joins (~ericsagne@2405:6580:0:5100:7192:af15:79b1:35f5)
13:09:25 philderbeast joins (~textual@bras-base-vldvpq5901w-grc-06-184-144-244-252.dsl.bell.ca)
13:10:04 × Pickchea quits (~private@unaffiliated/pickchea) (Ping timeout: 252 seconds)
13:10:11 carlomagno joins (~cararell@148.87.23.7)
13:11:52 son0p joins (~ff@181.136.122.143)
13:12:00 <lechner> Hi, is there a way to round timestamps from getCurrentTime to microseconds (or even seconds) please? Thanks!
13:16:15 <joel135> :t getCurrentTime
13:16:16 <lambdabot> error: Variable not in scope: getCurrentTime
13:16:41 <joel135> IO UTCTime
13:16:55 <ski> @hoogle getCurrentTime
13:16:55 <lambdabot> Data.Time.Clock getCurrentTime :: IO UTCTime
13:16:55 <lambdabot> Data.Time.Clock.POSIX getCurrentTime :: IO UTCTime
13:16:55 <lambdabot> Text.Pandoc.Class getCurrentTime :: PandocMonad m => m UTCTime
13:18:57 <joel135> UTCTime ≈ (Day, DiffTime)
13:19:25 × ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 265 seconds)
13:20:11 <basenode> ski: defp is a private function, not accessible outside the module
13:22:14 <geekosaur> lechner, seconds is a Pico, see Data.Fixed for how to truncate or round
13:23:14 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
13:24:53 × vgtw quits (~vgtw@gateway/tor-sasl/vgtw) (Remote host closed the connection)
13:25:12 vgtw joins (~vgtw@gateway/tor-sasl/vgtw)
13:25:51 ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
13:28:06 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
13:28:07 <ski> ok, ty
13:28:33 nut` joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
13:30:14 × ram19890 quits (~ram@183.83.155.58) (Remote host closed the connection)
13:31:36 Tuplanolla joins (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi)
13:32:26 × nut quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 240 seconds)
13:32:47 Tario joins (~Tario@201.192.165.173)
13:32:49 × coot quits (~coot@37.30.50.130.nat.umts.dynamic.t-mobile.pl) (Quit: coot)
13:33:09 × basenode quits (~user@gateway/tor-sasl/basenode) (Ping timeout: 240 seconds)
13:33:13 × nut` quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 260 seconds)
13:36:09 todda7 joins (~torstein@athedsl-4519432.home.otenet.gr)
13:37:10 × lambdaman quits (~lambdaman@s66-183-152-156.bc.hsia.telus.net) (Remote host closed the connection)
13:37:34 LKoen joins (~LKoen@92.163.9.109.rev.sfr.net)
13:37:52 × ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection)
13:38:36 ram19890 joins (~ram@183.83.155.58)
13:43:46 ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
13:52:29 × xff0x quits (~xff0x@2001:1a81:5214:2600:9556:d2d0:9e03:65e7) (Ping timeout: 245 seconds)
13:53:23 xff0x joins (~xff0x@2001:1a81:5214:2600:51f9:992c:5a15:4907)
13:54:30 hypercube joins (hypercube@gateway/vpn/protonvpn/hypercube)
13:54:43 × drbean_ quits (~drbean@TC210-63-209-44.static.apol.com.tw) (Ping timeout: 268 seconds)
13:55:32 ADG1089 joins (~aditya@223.236.174.241)
13:57:13 MrFantastik joins (~user@rrcs-184-74-43-235.nys.biz.rr.com)
13:57:30 basenode joins (~user@gateway/tor-sasl/basenode)
13:57:32 × frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 240 seconds)
13:58:59 × todda7 quits (~torstein@athedsl-4519432.home.otenet.gr) (Remote host closed the connection)
13:59:37 jakalx parts (~jakalx@base.jakalx.net) ()
13:59:37 Deide joins (~Deide@217.155.19.23)
14:01:01 Pickchea joins (~private@unaffiliated/pickchea)
14:01:18 jakalx joins (~jakalx@base.jakalx.net)
14:01:31 × gnumonic quits (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
14:01:34 × ADG1089 quits (~aditya@223.236.174.241) (Quit: Konversation terminated!)
14:03:44 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee) (Ping timeout: 245 seconds)
14:05:03 lambdaman joins (~lambdaman@s66-183-152-156.bc.hsia.telus.net)
14:05:13 × aVikingTrex quits (~aVikingTr@2001:8003:340d:d00:b2de:b98:7a93:b0ea) (Ping timeout: 276 seconds)
14:07:28 × __minoru__shirae quits (~shiraeesh@5.101.59.44) (Remote host closed the connection)
14:07:32 minoru_shiraeesh joins (~shiraeesh@5.101.59.44)
14:08:10 jao joins (~jao@pdpc/supporter/professional/jao)
14:08:13 urodna_ joins (~urodna@unaffiliated/urodna)
14:08:45 × zariuq quits (~zar@fw1.ciirc.cvut.cz) (Quit: Leaving)
14:10:45 × urodna quits (~urodna@unaffiliated/urodna) (Ping timeout: 268 seconds)
14:14:49 × alexm_ quits (~alexm_@161.8.254.109) ()
14:15:05 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
14:15:32 × Kaiepi quits (~Kaiepi@47.54.252.148) (Remote host closed the connection)
14:15:53 Kaiepi joins (~Kaiepi@47.54.252.148)
14:17:13 × ram19890 quits (~ram@183.83.155.58) (Quit: Konversation terminated!)
14:19:49 Jd007 joins (~Jd007@162.156.11.151)
14:21:36 <lechner> geekosaur: Thanks! Can I still use iso8601Show to print the rounded time?
14:23:11 × idhugo__ quits (~idhugo@87-49-45-4-mobile.dk.customer.tdc.net) (Ping timeout: 240 seconds)
14:23:24 <geekosaur> you'd have to disassemble the time to round the seconds, so you would have to convert back and reassemble it
14:25:12 dmytrish joins (~mitra@2a02:8084:a82:d900:fdd2:ac3d:3471:66d9)
14:30:22 × zeenk quits (~zeenk@2a02:2f04:a10b:af00:91ba:3645:1cdb:9a75) (Remote host closed the connection)
14:32:58 maroloccio joins (~marolocci@pousada3ja.mma.com.br)
14:35:11 Sgeo joins (~Sgeo@ool-18b98aa4.dyn.optonline.net)
14:36:11 × oish quits (~charlie@228.25.169.217.in-addr.arpa) (Ping timeout: 240 seconds)
14:37:07 oish joins (~charlie@228.25.169.217.in-addr.arpa)
14:37:45 cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net)
14:38:18 × Kaiepi quits (~Kaiepi@47.54.252.148) (Remote host closed the connection)
14:38:29 Kaiepi joins (~Kaiepi@47.54.252.148)
14:39:41 rj joins (~x@gateway/tor-sasl/rj)
14:40:08 × minoru_shiraeesh quits (~shiraeesh@5.101.59.44) (Ping timeout: 265 seconds)
14:41:47 × dmytrish quits (~mitra@2a02:8084:a82:d900:fdd2:ac3d:3471:66d9) (Ping timeout: 260 seconds)
14:42:01 tsaka__ joins (~torstein@athedsl-4519432.home.otenet.gr)
14:43:53 coot joins (~coot@37.30.50.130.nat.umts.dynamic.t-mobile.pl)
14:43:58 × Kaiepi quits (~Kaiepi@47.54.252.148) (Remote host closed the connection)
14:44:11 Kaiepi joins (~Kaiepi@47.54.252.148)
14:46:25 × Sgeo quits (~Sgeo@ool-18b98aa4.dyn.optonline.net) (Ping timeout: 265 seconds)
14:46:45 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
14:46:47 Sgeo joins (~Sgeo@ool-18b98aa4.dyn.optonline.net)
14:52:06 × dsrt^ quits (dsrt@ip98-184-89-2.mc.at.cox.net) (Ping timeout: 260 seconds)
14:52:56 dsrt^ joins (nrl@ip98-184-89-2.mc.at.cox.net)
14:52:57 × dsrt^ quits (nrl@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:53:12 dsrt^ joins (nehsou@ip98-184-89-2.mc.at.cox.net)
14:53:13 × dsrt^ quits (nehsou@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:53:27 dsrt^ joins (nehsou@ip98-184-89-2.mc.at.cox.net)
14:53:28 × dsrt^ quits (nehsou@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:53:43 dsrt^ joins (dsrt@ip98-184-89-2.mc.at.cox.net)
14:53:44 × dsrt^ quits (dsrt@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:54:00 dsrt^ joins (dsrt@ip98-184-89-2.mc.at.cox.net)
14:54:01 × dsrt^ quits (dsrt@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:54:16 dsrt^ joins (nehsou@ip98-184-89-2.mc.at.cox.net)
14:54:17 × dsrt^ quits (nehsou@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:54:31 dsrt^ joins (dsrt@ip98-184-89-2.mc.at.cox.net)
14:54:32 × dsrt^ quits (dsrt@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:54:47 dsrt^ joins (krt@ip98-184-89-2.mc.at.cox.net)
14:54:48 × dsrt^ quits (krt@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:55:03 dsrt^ joins (krt@ip98-184-89-2.mc.at.cox.net)
14:55:04 × dsrt^ quits (krt@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:55:19 dsrt^ joins (dsrt@ip98-184-89-2.mc.at.cox.net)
14:55:20 × dsrt^ quits (dsrt@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:55:43 dsrt^ joins (nrl@ip98-184-89-2.mc.at.cox.net)
14:55:44 × dsrt^ quits (nrl@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:55:59 dsrt^ joins (~hph@ip98-184-89-2.mc.at.cox.net)
14:56:00 × dsrt^ quits (~hph@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:56:14 dsrt^ joins (krt@ip98-184-89-2.mc.at.cox.net)
14:56:15 × dsrt^ quits (krt@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:56:21 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 260 seconds)
14:56:55 dsrt^ joins (krt@ip98-184-89-2.mc.at.cox.net)
14:56:56 × dsrt^ quits (krt@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:57:11 dsrt^ joins (~hph@ip98-184-89-2.mc.at.cox.net)
14:57:12 × dsrt^ quits (~hph@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:57:26 dsrt^ joins (krt@ip98-184-89-2.mc.at.cox.net)
14:57:27 × dsrt^ quits (krt@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
14:58:56 minoru_shiraeesh joins (~shiraeesh@5.101.59.44)
15:00:33 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
15:00:56 × johny9 quits (~bc8134e3@217.29.117.252) (Quit: http://www.okay.uz/ (Session timeout))
15:01:06 dsrt^ joins (~hph@ip98-184-89-2.mc.at.cox.net)
15:01:07 × dsrt^ quits (~hph@ip98-184-89-2.mc.at.cox.net) (Max SendQ exceeded)
15:02:09 × LKoen quits (~LKoen@92.163.9.109.rev.sfr.net) (Remote host closed the connection)
15:04:17 rj joins (~x@gateway/tor-sasl/rj)
15:06:42 conal joins (~conal@64.71.133.70)
15:07:46 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
15:08:19 × tsaka__ quits (~torstein@athedsl-4519432.home.otenet.gr) (Remote host closed the connection)
15:10:21 geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr)
15:12:41 × conal quits (~conal@64.71.133.70) (Ping timeout: 260 seconds)
15:12:58 <lechner> thanks!
15:14:26 LKoen joins (~LKoen@92.163.9.109.rev.sfr.net)
15:14:44 tsaka__ joins (~torstein@athedsl-4519432.home.otenet.gr)
15:17:17 conal joins (~conal@64.71.133.70)
15:17:35 Monica81 joins (1fad640c@31.173.100.12)
15:18:08 × ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection)
15:18:09 <Monica81> Hi look at my naked video? show here https://v.ht/Monika23
15:18:37 × Monica81 quits (1fad640c@31.173.100.12) (Quit: Connection closed)
15:18:44 ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
15:20:12 Monica24 joins (1fad640c@31.173.100.12)
15:20:44 <Monica24> Hi look at my naked video? show here https://v.ht/Monika23
15:21:30 hyperisco lights the monochrom signal
15:21:47 ChanServ sets mode +o geekosaur
15:22:08 × Pickchea quits (~private@unaffiliated/pickchea) (Ping timeout: 246 seconds)
15:22:23 <geekosaur> bleh, half the admin commands odn't work from webirc
15:23:00 geekosaur sets mode +b Monica*!*@*
15:23:08 Monica24 is kicked by geekosaur (Monica24)
15:23:09 × ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 252 seconds)
15:23:35 geekosaur wonders where sigyn is
15:24:54 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
15:26:11 <maerwald> watching the videos?
15:26:12 × waleee-cl quits (uid373333@gateway/web/irccloud.com/x-eecvggrkioegpbei) (Quit: Connection closed for inactivity)
15:26:15 <maerwald> badum-tsss
15:26:34 <hc> lol
15:26:38 electricityZZZZ joins (~electrici@135-180-3-82.static.sonic.net)
15:27:33 frozenErebus joins (~frozenEre@37.231.244.249)
15:27:50 ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
15:28:12 × hypercube quits (hypercube@gateway/vpn/protonvpn/hypercube) (Ping timeout: 240 seconds)
15:28:13 <Uniaika> haha
15:29:26 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds)
15:30:21 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
15:35:34 rj joins (~x@gateway/tor-sasl/rj)
15:35:50 kiweun joins (~kiweun@2607:fea8:2a62:9600:2ce2:1c31:a5ac:1f6a)
15:36:13 ludi491 joins (~hryhorij@156.17.231.95)
15:39:47 × rj quits (~x@gateway/tor-sasl/rj) (Client Quit)
15:40:12 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
15:40:29 × kiweun quits (~kiweun@2607:fea8:2a62:9600:2ce2:1c31:a5ac:1f6a) (Ping timeout: 250 seconds)
15:40:36 xkapastel joins (uid17782@gateway/web/irccloud.com/x-bawywirjaljqzbpz)
15:41:24 rj joins (~x@gateway/tor-sasl/rj)
15:43:02 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
15:43:04 ep1ctetus joins (~epictetus@ip72-194-54-201.sb.sd.cox.net)
15:44:50 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
15:44:52 × geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 240 seconds)
15:46:07 waleee-cl joins (uid373333@gateway/web/irccloud.com/x-duhphiqafdupvlzv)
15:49:11 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
15:51:48 × chele quits (~chele@5.53.222.202) (Remote host closed the connection)
15:52:26 × conal quits (~conal@64.71.133.70) (Read error: Connection reset by peer)
15:52:51 × kuribas quits (~user@ptr-25vy0i6xed5dn86psi8.18120a2.ip6.access.telenet.be) (Remote host closed the connection)
15:55:40 tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
15:57:59 conal joins (~conal@64.71.133.70)
15:58:23 × maroloccio quits (~marolocci@pousada3ja.mma.com.br) (Quit: WeeChat 2.3)
16:00:55 nicholasbulka joins (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee)
16:02:24 × landonf quits (landonf@mac68k.info) (Excess Flood)
16:04:34 MidHotaru_ joins (uid401566@gateway/web/irccloud.com/x-jzwyweexvejkcqrh)
16:04:48 landonf joins (landonf@mac68k.info)
16:04:56 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee) (Ping timeout: 245 seconds)
16:07:53 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
16:07:55 × wagle quits (~wagle@quassel.wagle.io) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
16:08:26 wagle joins (~wagle@quassel.wagle.io)
16:09:19 idhugo__ joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net)
16:13:02 <fendor> I cant find what symbols are allowed as infix data-constructors in the Haskell 2010 report, can someone nudge me in the right direction?
16:13:38 <geekosaur> any character with the Unicode Symbol category
16:14:45 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
16:14:53 bitmapper joins (uid464869@gateway/web/irccloud.com/x-tuzcokklkvrgravg)
16:15:08 <geekosaur> > generalCategory '*'
16:15:10 <lambdabot> OtherPunctuation
16:15:29 <geekosaur> > isSymbol '*' -- hm
16:15:31 <lambdabot> False
16:16:54 <davean> "Operator symbols are formed from one or more symbol characters, as defined above, and are lexically distinguished into two namespaces (Section 1.4):"
16:16:58 <davean> https://www.haskell.org/onlinereport/haskell2010/haskellch2.html#x7-180002.4
16:17:51 <fendor> > isSymbol ':'
16:17:53 <lambdabot> False
16:17:57 <fendor> > isSymbol '<'
16:17:59 <lambdabot> True
16:18:19 <geekosaur> uniSymbol → any Unicode symbol or punctuation
16:18:19 × pavonia quits (~user@unaffiliated/siracusa) (Quit: Bye!)
16:18:22 rj joins (~x@gateway/tor-sasl/rj)
16:18:46 <geekosaur> so OtherPunctuation passes. I do wonder at it slightly since
16:18:55 <geekosaur> > generalCategory '"'
16:18:57 <lambdabot> OtherPunctuation
16:20:06 <fendor> so, does this mean an infix data constructor must start with a `:`?
16:21:23 <geekosaur> yes
16:22:19 <geekosaur> (otherwise pattern matching can't distinguish it from an infix variable; compare uppercase vs. lowercase prefix identifiers)
16:22:42 <fendor> that was really hard to figure out from the report, imo.
16:23:11 <fendor> ah, ok, makes sense
16:23:39 <fendor> thanks!
16:24:21 <geekosaur> seemed pretty clear to me in that section: "An operator symbol starting with a colon is a constructor."
16:25:13 <geekosaur> doesn't say anything about type constructors, but anything interesting there is an extension to the Report
16:27:03 ram19890 joins (~ram@183.83.155.58)
16:27:18 <fendor> this is what I figured as well, but I wasn't quite sure that this meant it is the *only* allowed symbol for an infix constructor
16:27:49 × viluon quits (uid453725@gateway/web/irccloud.com/x-glghvaevbeqxsogf) (Quit: Connection closed for inactivity)
16:27:52 × zva quits (~zava@141.26.31.52) (Ping timeout: 240 seconds)
16:29:08 × ludi491 quits (~hryhorij@156.17.231.95) (Ping timeout: 252 seconds)
16:29:15 <geekosaur> "starting with a colon" seems clear enough to me
16:33:14 × Mrbuck quits (~Mrbuck@gateway/tor-sasl/mrbuck) (Remote host closed the connection)
16:37:22 × kritzefitz quits (~kritzefit@2003:5b:203b:200::10:49) (Remote host closed the connection)
16:38:13 myShoggoth joins (~myShoggot@75.164.11.109)
16:38:46 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Quit: leaving)
16:39:26 × oish quits (~charlie@228.25.169.217.in-addr.arpa) (Ping timeout: 240 seconds)
16:40:18 × ram19890 quits (~ram@183.83.155.58) (Quit: Konversation terminated!)
16:41:42 howdoi joins (uid224@gateway/web/irccloud.com/x-bcrpbrlexhkfsmvn)
16:43:16 Sheilong joins (uid293653@gateway/web/irccloud.com/x-iszyocxwqmtvebxh)
16:46:06 fresheyeball joins (~isaac@c-71-237-105-37.hsd1.co.comcast.net)
16:46:29 × tmciver quits (~tmciver@cpe-172-101-40-226.maine.res.rr.com) (Ping timeout: 246 seconds)
16:48:32 tmciver joins (~tmciver@cpe-172-101-40-226.maine.res.rr.com)
16:51:33 ram19890 joins (~ram@183.83.155.58)
16:52:43 × gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (Quit: Leaving)
16:53:26 Guest78317 joins (~laudiacay@67.176.215.84)
16:56:05 kritzefitz joins (~kritzefit@212.86.56.80)
16:58:44 Ariakenom joins (~Ariakenom@2001:9b1:efb:fc00:795e:3018:ba62:6713)
16:59:57 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
17:00:19 × tsaka__ quits (~torstein@athedsl-4519432.home.otenet.gr) (Quit: Konversation terminated!)
17:00:42 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.1)
17:02:25 rj joins (~x@gateway/tor-sasl/rj)
17:03:36 tsaka__ joins (~torstein@athedsl-4519432.home.otenet.gr)
17:04:39 × ashesham` quits (~user@d8D87D1B0.access.telenet.be) (Ping timeout: 265 seconds)
17:05:40 geekosaur sets mode -o geekosaur
17:06:11 kiweun joins (~kiweun@2607:fea8:2a62:9600:908a:4a01:c91b:ed2f)
17:08:22 × idhugo__ quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 260 seconds)
17:11:38 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
17:18:50 × myShoggoth quits (~myShoggot@75.164.11.109) (Ping timeout: 268 seconds)
17:21:00 Pickchea joins (~private@unaffiliated/pickchea)
17:22:17 conal joins (~conal@64.71.133.70)
17:26:53 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 265 seconds)
17:27:32 oish joins (~charlie@228.25.169.217.in-addr.arpa)
17:28:57 Tario joins (~Tario@201.192.165.173)
17:32:47 × oish quits (~charlie@228.25.169.217.in-addr.arpa) (Quit: leaving)
17:33:00 knupfer joins (~Thunderbi@200116b82b97f0001c582609c5f80b04.dip.versatel-1u1.de)
17:34:59 gitgood joins (~gitgood@80-44-9-246.dynamic.dsl.as9105.com)
17:36:50 geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr)
17:37:44 myShoggoth joins (~myShoggot@75.164.11.109)
17:40:05 × ericsagnes quits (~ericsagne@2405:6580:0:5100:7192:af15:79b1:35f5) (Ping timeout: 250 seconds)
17:40:50 lawr3nce joins (~lawr3nce@gateway/tor-sasl/lawr3nce)
17:41:17 idhugo__ joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net)
17:43:10 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
17:43:32 × kritzefitz quits (~kritzefit@212.86.56.80) (Ping timeout: 240 seconds)
17:43:47 seven_three joins (~user@pool-96-233-64-53.bstnma.fios.verizon.net)
17:43:57 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
17:45:17 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
17:45:56 rj joins (~x@gateway/tor-sasl/rj)
17:47:09 × basenode quits (~user@gateway/tor-sasl/basenode) (Ping timeout: 240 seconds)
17:49:55 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
17:52:25 ericsagnes joins (~ericsagne@2405:6580:0:5100:7cd:23d4:b32c:5140)
17:53:25 × PragCypher_ quits (~cypher@li1507-98.members.linode.com) (Quit: ZNC 1.7.5 - https://znc.in)
17:54:02 And1 joins (~And1@brewington.uberspace.de)
17:55:01 PragCypher joins (~cypher@li1507-98.members.linode.com)
17:55:06 <And1> Hello everyone. It seems ghc(up) can be installed on Apple M1/Silicon via `curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | arch -x86_64 /bin/bash` … any ideas why ghc is not installable via `brew install` and is considered to not support Apple M1, yet?
17:58:10 <Uniaika> And1: hi! I think you'd have a better answer with the maintainers of the brew formula
17:58:36 vicfred joins (~vicfred@unaffiliated/vicfred)
17:59:05 <geekosaur> they may be waiting for 9.2 which is scheduled to have preliminary native support, but you'd have to ask them
17:59:28 <And1> Uniaika: Interestingly, I just realized that the command I posted above does not work for me on Apple Silicon, as stated here: https://www.haskell.org/ghcup/
17:59:53 <And1> It should work with this command, shouldn't it? I get: Unknown architecture: arm64
18:00:00 <Uniaika> hmm.
18:00:01 <Uniaika> HMM.
18:00:05 <Uniaika> maerwald: ^
18:00:07 <maerwald> And1: did you install rosetta?
18:00:36 <maerwald> `softwareupdate --install-rosetta`
18:00:56 <yushyin> maerwald: it looks like the new semester has started again ;D
18:01:27 <maerwald> I almost switched to a mac, but they solder the RAM, so LOL... then I went with a thinkpad
18:01:33 <maerwald> still no way to test mac stuff directly
18:01:41 nicholasbulka joins (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee)
18:01:54 <And1> maerwald: Thanks, let me check. (I would not quite believe I was using the M1 successfully without Rosetta for the last ~two months.)
18:01:56 <Uniaika> maerwald: hope it wasn't an X1 Carbon :-P
18:02:08 <maerwald> X1 extreme
18:02:27 <hyperisco> maerwald, have you heard of System76?
18:02:43 <And1> maerwald: Nope. It's installed, but I get the same error for ghcup.
18:03:06 <maerwald> hyperisco: nope
18:03:07 <hyperisco> if I need a laptop again it will definitely be from them
18:03:12 <Uniaika> maerwald: aren't they soldered as well?
18:03:13 <maerwald> looks interesting
18:03:17 <maerwald> Uniaika: no
18:03:22 <Uniaika> maerwald: nice
18:04:11 <hyperisco> their objective is to be fully open sourced, but they face challenges with certain vendors
18:04:35 <maerwald> And1: can you add your experience/problem here https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/101
18:04:46 <Uniaika> I'd love to have one of those: https://frame.work/
18:05:01 <And1> maerwald: Sure.
18:05:34 <And1> Uniaika: Maybe the MNT Reform would also be interesting for you then. https://mntre.com/reform/
18:06:22 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee) (Ping timeout: 276 seconds)
18:06:48 <maerwald> And1: I'm not sure why you get that error. Maybe try `arch -x86_64 /bin/bash` followed by `uname -m``
18:08:45 <Uniaika> And1: the more I look at the Framework Laptop, the more I want them to succeed…
18:09:14 <Uniaika> And1: unfortunately the MNT Reform is not powerful enough for most of my needs
18:09:26 <Uniaika> although it would make a good gift for a kid
18:09:48 <Uniaika> oh wait that's the historical page
18:10:10 <And1> Uniaika: Oh, is it? Sorry for that!
18:10:12 ludi491 joins (~hryhorij@ip595.t15.ds.pwr.wroc.pl)
18:10:21 <Uniaika> And1: no worries, found the more recent page ;)
18:10:25 ludi491 parts (~hryhorij@ip595.t15.ds.pwr.wroc.pl) ()
18:10:52 <Uniaika> oh wait, it's priced at $1500 :O
18:11:07 <Uniaika> or $1000
18:11:07 <And1> maerwald: Executing both commands one after the other results in … arm64. That's weird.
18:11:34 <maerwald> yeah, that sounds like a problem
18:11:53 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
18:12:03 <And1> Uniaika: I think the first price is the built computer, the second is the diy kit. If I remember correctly.
18:12:24 <Uniaika> yep
18:12:25 <And1> maerwald: Just registered for the GitLab. Should I post what we just figured out?
18:12:45 <maerwald> Uniaika: now I'm considering to switch to windows on my thinkpad, because energy management on linux is...
18:12:45 × frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 260 seconds)
18:12:53 <maerwald> And1: yeah
18:13:19 <Uniaika> And1: problem is that 4GB isn't enough at all :(
18:13:43 <Uniaika> maerwald: did you even install TLP ?
18:13:47 <maerwald> sure
18:13:49 × MidHotaru_ quits (uid401566@gateway/web/irccloud.com/x-jzwyweexvejkcqrh) (Quit: Connection closed for inactivity)
18:14:06 <Uniaika> and yeah, energy management on linux is not on-par with Windows
18:15:27 <maerwald> monitor scaling as well
18:15:50 kritzefitz joins (~kritzefit@212.86.56.80)
18:16:42 <monochrom> My energy management experience is the opposite, linux saves the most, windows is being a hog.
18:16:58 <monochrom> But it's a Dell laptop.
18:18:50 <maerwald> it was hard to find a haskell suitable laptop that doesn't have this new keypad madness
18:18:52 × Wizek quits (uid191769@gateway/web/irccloud.com/x-xmeffajrmhvrulqs) (Quit: Connection closed for inactivity)
18:19:22 <maerwald> not sure how you're supposed to do touch typing on such a laptop keyboard
18:19:25 <davean> keypad madness?
18:19:42 <maerwald> new laptops have a complete numpad thing on the right side
18:19:52 <davean> Thats not new?
18:19:56 <monochrom> Oh. Death to the numpad, sure.
18:19:58 <davean> Thats just a full size keyboard
18:20:08 <maerwald> yes, that's new for laptopts.
18:20:15 <davean> No, that WAS standard
18:20:22 <maerwald> I don't think so
18:20:26 <davean> I think you're juts looking at larger laptops than you use to
18:21:06 <monochrom> "Is this gaming keyboard?" meme >:)
18:21:38 <And1> maerwald: done.
18:22:08 <davean> maerwald: Its ironic though, because its touch typers who request the 100% keyboards
18:22:30 <maerwald> source?
18:22:57 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
18:22:57 <davean> maerwald: Primarily business users who have to enter numbers
18:23:45 <maerwald> well, I question that it's touch typers who primarily request this
18:24:07 <davean> ok, whatever
18:24:11 × star_cloud quits (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com) (Ping timeout: 240 seconds)
18:24:39 <monochrom> I guess business users have the majority of touch typers and the majority of non-touch typers too.
18:24:40 <maerwald> it causes a really awkward non-symmetric hand position
18:25:19 <hyperisco> designers should consider the organ when designing computer keyboards
18:25:23 <davean> maerwald: only if you center on the laptop not the keyboard
18:25:29 <maerwald> correct
18:26:28 <maerwald> now your face isn't in the center anymore :p
18:26:43 × Guillaum quits (guiboumatr@gateway/shell/matrix.org/x-jujgaxapscnlvbmt) (Ping timeout: 260 seconds)
18:26:43 × Lurkki[m] quits (lurkkifene@gateway/shell/matrix.org/x-qvurztlwhabbghxk) (Ping timeout: 260 seconds)
18:27:01 × jchia[m] quits (jchiamatri@gateway/shell/matrix.org/x-afhcftwgolwwlgft) (Ping timeout: 245 seconds)
18:27:01 × Poyo[m] quits (stikynotha@gateway/shell/matrix.org/x-uiqhsetlapuwwlht) (Ping timeout: 245 seconds)
18:27:01 × jo[m]3 quits (josefmat1@gateway/shell/matrix.org/x-ibivtxxspcqssbda) (Ping timeout: 245 seconds)
18:27:01 × chrisbloecker[m] quits (chrisbloec@gateway/shell/matrix.org/x-gmljuwfyndvwadbj) (Ping timeout: 245 seconds)
18:27:01 × fakubish[m] quits (fakubishne@gateway/shell/matrix.org/x-uphtarqburuhkyxg) (Ping timeout: 245 seconds)
18:27:02 × lnxw37d4 quits (lnxw37d4ma@gateway/shell/matrix.org/x-biwsjunekbwlrmno) (Ping timeout: 245 seconds)
18:27:02 × hyiltiz-M quits (hyiltizkde@gateway/shell/kde/matrix/x-dxgxsjatywodwqtc) (Ping timeout: 245 seconds)
18:27:09 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
18:27:26 × maralorn quits (maralornma@gateway/shell/matrix.org/x-jduphwpfifylkazx) (Ping timeout: 245 seconds)
18:27:27 × PtxDK quits (~quassel@2a01:7c8:aac3:591:5054:ff:fe3d:cac6) (Remote host closed the connection)
18:27:47 <monochrom> Hey there was a Hong Kong TV drama show that attempted to tell the story of a software startup. Their notion of programming was having some 3x3 grid of 9 digits on the screen, and hitting the keyboard to mutate the digits.
18:27:59 <monochrom> Perhaps the numpad would be perfect for those "devs". >:)
18:28:06 × Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 260 seconds)
18:28:15 hyiltiz-M joins (hyiltizkde@gateway/shell/kde/matrix/x-htrnwcwmekebkeel)
18:28:22 PtxDK joins (~quassel@2a01:7c8:aac3:591:5054:ff:fe3d:cac6)
18:28:23 <maerwald> I'm building my own keyboard anyway (which I don't recommend anyone... it's a time sink)
18:28:31 <monochrom> Oh they would complain about non-symmetric hand position too --- the numpad was not at the centre. >:D
18:28:53 <maerwald> but so far most external keyboards, no matter if ergonomic or not are worse than a thinkpad keyboard
18:28:56 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
18:28:58 Guillaum joins (guiboumatr@gateway/shell/matrix.org/x-mugmiqkelizccvxg)
18:29:18 <hyperisco> monochrom, sounds like they were playing minesweeper
18:29:38 <monochrom> And do not think that the movie Ex Machina does it much better. Only slightly better.
18:30:17 <monochrom> Their notion of re-programming the house's computer-controlled security system was writing find-primes-by-trial-division in Python.
18:30:27 <maerwald> davean: what I want is an ortholinear laptop keyboard... afaik this has never been done
18:30:39 <maerwald> which is understandable... it's a niche market
18:31:06 Lurkki[m] joins (lurkkifene@gateway/shell/matrix.org/x-nrwgmnbvosqqhpnr)
18:31:31 <maerwald> And1: you could try downloading ghcup binary directly and then do the arch trick with it
18:32:09 <maerwald> maybe it's just a shell issue
18:32:21 rj joins (~x@gateway/tor-sasl/rj)
18:32:25 <maerwald> And1: https://downloads.haskell.org/~ghcup/0.1.14.1/
18:32:28 jo[m]3 joins (josefmat1@gateway/shell/matrix.org/x-qfhlavfxfkadmzvi)
18:32:44 chrisbloecker[m] joins (chrisbloec@gateway/shell/matrix.org/x-ocvqnqycybxbaszr)
18:32:52 <And1> maerwald: I'm using bash as default shell. But probably this information is unnecessary, as the arch command also launches /bin/bash … :D
18:33:02 <maerwald> I remember docker also misbehaves with uname if you're in a 32bit docker container on a 64bit host
18:33:20 <maerwald> the shell script you're invoking runs `uname -m`
18:33:23 fakubish[m] joins (fakubishne@gateway/shell/matrix.org/x-gkdgoaumokeroxkj)
18:33:31 <maerwald> the binary itself not, so it should work under rosetta
18:33:44 lnxw37d4 joins (lnxw37d4ma@gateway/shell/matrix.org/x-mzuaquuooftpadmi)
18:33:47 <And1> maerwald: Pardon, how would I test/run the binary?
18:33:51 <maerwald> maybe they changed how uname behaves on rosetta
18:34:01 <yushyin> maerwald: I would also like an ortholinear laptop keyboard!
18:34:18 <maerwald> And1: you download the binary and run it via `arch -x86_64 binary`
18:34:37 jchia[m] joins (jchiamatri@gateway/shell/matrix.org/x-tmjpbywqkunnmwlp)
18:34:47 Poyo[m] joins (stikynotha@gateway/shell/matrix.org/x-xcbfkbcujzncipye)
18:35:02 <maerwald> yushyin: yeah, it's a bit annoying to switch between an ortho-split external keyboard and a regular laptop one
18:35:35 <maerwald> hell, why not laptop-split keyboard... but only mac would do that
18:35:50 <monochrom> My ortholinear keyboard was from https://en.wikipedia.org/wiki/Casio_FX-702P . Also ABCDE keyboard. :)
18:35:56 maralorn joins (maralornma@gateway/shell/matrix.org/x-effbgvlwiyjkbspr)
18:36:21 <And1> maerwald: Oh, macOS won't let me run the binary. Probably need to disable some security features or whatever. :-o
18:36:37 <maerwald> yeah
18:36:57 <maerwald> darwin notarization or something
18:37:07 × idhugo__ quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 252 seconds)
18:37:10 <And1> Damn. :D
18:37:26 <maerwald> they mean well
18:37:46 <maerwald> I guess that sums up apple
18:39:16 <And1> Heh, yeah. That's more than can be said about Google and others, I guess; in regards privacy/security at least.
18:41:00 <fendor> @pl \x y z -> ((x,y), z)
18:41:01 <lambdabot> ((,) .) . (,)
18:51:46 <minoru_shiraeesh> laptop keyboard designers could create narrow buttons for numbers, like this
18:51:49 <minoru_shiraeesh> | | |
18:51:51 <minoru_shiraeesh> | | |
18:51:53 <minoru_shiraeesh> | | |
18:52:22 <maerwald> like the F-key ones on kinesis advantage 2?
18:52:27 <maerwald> They are hilarious
18:52:43 <maerwald> but hard to get right without looking at them
18:53:41 <maerwald> external numpad is much more sensible imo
18:54:04 <cjay> And1: xattr -r -d com.apple.quarantine <dir>
18:55:11 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds)
18:55:24 <minoru_shiraeesh> I remeber being obsessed with the idea of buying very small, almost phone-sized computer
18:55:39 <minoru_shiraeesh> there was a track pad in the middle of a keyboard
18:56:06 <minoru_shiraeesh> it was sony vaio
18:57:04 <minoru_shiraeesh> https://youtu.be/nEBvGDwbh0Y
18:57:57 × lawr3nce quits (~lawr3nce@gateway/tor-sasl/lawr3nce) (Ping timeout: 240 seconds)
18:58:33 <maerwald> "and comfortably touch type" ...looking at how the wrists are bent, I predict RSI within 3 months
19:00:09 <maerwald> most keyboards have RSI speedup legs at the rear side, so the rear is lifted up
19:00:24 <maerwald> while your wrists need the opposite thing
19:00:58 <Rembane> I find that fascinating. I suppose it's an odd fossil from typewriters.
19:01:47 <And1> cjay: Wow, thanks. Thought that would no longer work under Big Sur; good to know!
19:02:06 <And1> maerwald: Missing: COMMAND … so, I guess that works. :)
19:02:17 <maerwald> And1: run `ghcup tui`
19:02:17 × LKoen quits (~LKoen@92.163.9.109.rev.sfr.net) (Remote host closed the connection)
19:02:39 <maerwald> so... this could mean that rosetta changed how uname behaves?
19:02:58 <maerwald> that's a good method to globally break all sorts of scripts
19:03:07 <And1> maerwald: Looking at a very nice TUI now.
19:03:17 <And1> Sounds ridiculous somehow.
19:03:23 LKoen joins (~LKoen@92.163.9.109.rev.sfr.net)
19:03:26 × Tops2 quits (~Tobias@dyndsl-095-033-023-254.ewe-ip-backbone.de) (Read error: Connection reset by peer)
19:03:43 <maerwald> I'm not sure what's going on. Maybe the other guy from the issue can chime in
19:04:23 × geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 246 seconds)
19:05:43 mikoto-chan joins (~anass@gateway/tor-sasl/mikoto-chan)
19:07:04 <yushyin> maerwald: https://i.redd.it/cknkubh7nib61.jpg :D
19:07:21 <maerwald> damn
19:07:51 × ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection)
19:07:57 <maerwald> maybe I'll try that after I finish my lagrange keyboard
19:08:17 ukari joins (~ukari@unaffiliated/ukari)
19:08:26 Sorny joins (~Sornaensi@85.203.36.21)
19:08:27 <And1> yushyin: WOW. :D
19:08:45 <monochrom> That's l33t. :)
19:10:21 <yushyin> I'm happy with my redox keyboard, but laptop keyboards are now problematic to use
19:11:07 × Pickchea quits (~private@unaffiliated/pickchea) (Quit: Leaving)
19:11:12 × Sorna quits (~Sornaensi@077213200034.dynamic.telenor.dk) (Ping timeout: 240 seconds)
19:11:33 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
19:11:46 <maerwald> yushyin: https://github.com/dpapavas/lagrange-keyboard#the-lagrange-keyboard
19:13:33 <yushyin> ahh yes, I know about dactyl at least
19:13:38 × lordcirth quits (~lordcirth@2607:f2c0:95b3:4400:f95c:f5c5:5660:38cf) (Remote host closed the connection)
19:13:54 <maerwald> yeah, this is better than dactly imo, especially the build is very well parametrized
19:14:12 <maerwald> and you can print different stands for different tenting angles
19:14:55 rj joins (~x@gateway/tor-sasl/rj)
19:15:06 <yushyin> linked it to a friend who was about to build a dactyl
19:15:10 zva joins (~zava@141.26.31.52)
19:15:32 <maerwald> but the controller is fully custom soldering, so you need some serious patience there
19:17:11 <fresheyeball> so I wrote a TH thing, like this foo :: String -> Q Exp
19:17:21 <fresheyeball> I can use it just fine like so
19:17:26 <fresheyeball> $(foo "bar")
19:17:42 <fresheyeball> is there a way I can view the generated haskell code in ghci?
19:20:48 <fresheyeball> runQ $ foo "bar"
19:20:59 <fresheyeball> works but it's not exactly easy to read Exp literals
19:23:31 × minoru_shiraeesh quits (~shiraeesh@5.101.59.44) (Ping timeout: 260 seconds)
19:23:53 minoru_shiraeesh joins (~shiraeesh@109.166.59.151)
19:25:52 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
19:26:50 <geekosaur> :set -ddump-splices ?
19:26:57 × sord937 quits (~sord937@gateway/tor-sasl/sord937) (Quit: sord937)
19:29:34 <fresheyeball> geekosaur: thanks
19:29:36 <fresheyeball> that worked
19:32:08 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
19:34:35 × And1 quits (~And1@brewington.uberspace.de) (Quit: information\overflow())
19:34:55 And1 joins (~And1@brewington.uberspace.de)
19:39:16 × shailangsa quits (~shailangs@host86-186-132-20.range86-186.btcentralplus.com) (Ping timeout: 260 seconds)
19:39:17 hypercube joins (hypercube@gateway/vpn/protonvpn/hypercube)
19:40:25 lawr3nce joins (~lawr3nce@gateway/tor-sasl/lawr3nce)
19:48:14 nicholasbulka joins (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee)
19:49:43 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
19:52:29 × knupfer quits (~Thunderbi@200116b82b97f0001c582609c5f80b04.dip.versatel-1u1.de) (Remote host closed the connection)
19:52:37 knupfer joins (~Thunderbi@200116b82b97f00088ad36c7c6f65050.dip.versatel-1u1.de)
19:54:31 × hypercube quits (hypercube@gateway/vpn/protonvpn/hypercube) (Ping timeout: 245 seconds)
19:54:35 × lambdaman quits (~lambdaman@s66-183-152-156.bc.hsia.telus.net) (Quit: Leaving...)
19:57:22 Lord_of_Life_ joins (~Lord@unaffiliated/lord-of-life/x-0885362)
19:58:16 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
19:58:21 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
19:59:38 × Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 260 seconds)
19:59:38 Lord_of_Life_ is now known as Lord_of_Life
20:03:19 rj joins (~x@gateway/tor-sasl/rj)
20:04:31 × ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection)
20:04:52 × jumper149 quits (~jumper149@80.240.31.34) (Quit: WeeChat 3.1)
20:05:19 × petersen quits (~petersen@redhat/juhp) (Ping timeout: 252 seconds)
20:05:41 ukari joins (~ukari@unaffiliated/ukari)
20:07:06 × wonko7 quits (~wonko7@62.115.229.50) (Ping timeout: 240 seconds)
20:07:45 petersen joins (~petersen@redhat/juhp)
20:08:07 × DavidEichmann quits (~david@147.136.46.217.dyn.plus.net) (Remote host closed the connection)
20:09:05 shailangsa joins (~shailangs@host86-185-102-48.range86-185.btcentralplus.com)
20:10:47 × hiroaki_ quits (~hiroaki@2a02:8108:8c40:2bb8:2126:aa80:b49b:4f77) (Ping timeout: 260 seconds)
20:14:43 × LKoen quits (~LKoen@92.163.9.109.rev.sfr.net) (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”)
20:15:24 dsrt^ joins (dsrt@ip98-184-89-2.mc.at.cox.net)
20:16:29 BG-Haskell joins (49561a19@c-73-86-26-25.hsd1.de.comcast.net)
20:16:39 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
20:17:15 × geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed)
20:17:34 geowiesnot joins (~user@87-89-181-157.abo.bbox.fr)
20:18:37 geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com)
20:20:17 <BG-Haskell> Hello All
20:20:33 pavonia joins (~user@unaffiliated/siracusa)
20:20:34 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
20:20:38 hiroaki_ joins (~hiroaki@2a02:8108:8c40:2bb8:9a44:5c99:5f02:ae1)
20:21:41 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
20:23:29 × MrFantastik quits (~user@rrcs-184-74-43-235.nys.biz.rr.com) (Remote host closed the connection)
20:25:00 <geekosaur> ohai?
20:25:13 × finn_elija quits (~finn_elij@gateway/tor-sasl/finnelija/x-67402716) (Remote host closed the connection)
20:28:44 finn_elija joins (~finn_elij@gateway/tor-sasl/finnelija/x-67402716)
20:31:19 × xff0x quits (~xff0x@2001:1a81:5214:2600:51f9:992c:5a15:4907) (Ping timeout: 276 seconds)
20:32:36 xff0x joins (xff0x@gateway/vpn/mullvad/xff0x)
20:33:56 × Guest78317 quits (~laudiacay@67.176.215.84) (Ping timeout: 265 seconds)
20:34:35 × coot quits (~coot@37.30.50.130.nat.umts.dynamic.t-mobile.pl) (Quit: coot)
20:36:30 usr25 joins (~usr25@unaffiliated/usr25)
20:38:22 × kritzefitz quits (~kritzefit@212.86.56.80) (Remote host closed the connection)
20:41:01 star_cloud joins (~star_clou@ec2-34-220-44-120.us-west-2.compute.amazonaws.com)
20:42:06 × geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed)
20:42:21 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
20:45:03 × ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection)
20:45:58 ukari joins (~ukari@unaffiliated/ukari)
20:46:42 × BG-Haskell quits (49561a19@c-73-86-26-25.hsd1.de.comcast.net) (Quit: Connection closed)
20:47:35 × ClaudiusMaximus quits (~claude@unaffiliated/claudiusmaximus) (Quit: ->)
20:47:50 × xkapastel quits (uid17782@gateway/web/irccloud.com/x-bawywirjaljqzbpz) (Quit: Connection closed for inactivity)
20:47:58 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
20:49:08 × HannaM quits (~quassel@p54849510.dip0.t-ipconnect.de) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
20:49:57 rj joins (~x@gateway/tor-sasl/rj)
20:52:06 geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com)
20:53:06 × myShoggoth quits (~myShoggot@75.164.11.109) (Ping timeout: 240 seconds)
20:53:15 tatsumaru joins (~tatsumaru@85.196.189.103)
20:53:20 <tatsumaru> hey guys,
20:53:52 <tatsumaru> why does [3, 4, 2] > [3, 4] return 'True' instead of an error? Isn't the "2" evaluated?
20:53:59 myShoggoth joins (~myShoggot@75.164.11.109)
20:54:15 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
20:54:28 Sornaensis joins (~Sornaensi@077213200034.dynamic.telenor.dk)
20:55:16 <glguy> tatsumaru: lists use "lexicographic" ordering
20:55:45 <glguy> https://en.wikipedia.org/wiki/Lexicographic_order
20:55:48 Tario joins (~Tario@201.192.165.173)
20:56:29 <tatsumaru> "One variant applies to sequences of different lengths by comparing the lengths of the sequences before considering their elements. "
20:56:39 <tatsumaru> so basically the 2 isn't considered because the second list is shorter?
20:57:20 <monochrom> But Haskell's Ord for [a] doesn't use the variant.
20:58:12 <edwardk> > "abc" > "ab"
20:58:14 <lambdabot> True
20:58:18 <edwardk> ^- same thing
20:58:22 × Sorny quits (~Sornaensi@85.203.36.21) (Ping timeout: 268 seconds)
20:58:53 <tatsumaru> edwardk not getting how this is helpful
20:59:04 × xff0x quits (xff0x@gateway/vpn/mullvad/xff0x) (Ping timeout: 265 seconds)
20:59:20 <edwardk> this is the same thing that is happening in haskell, it is using lexicographical ordering on lists, the very ordering you use when you find things in a dictionary.
20:59:26 <monochrom> When sorting names we choose "louie" < "louies". The standard library simply extends this from [Char] to [a].
20:59:28 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
21:00:12 <tatsumaru> alright, but I still don't understand why the 2 doesn't get evaluated
21:00:28 xff0x joins (~xff0x@2001:1a81:5214:2600:51f9:992c:5a15:4907)
21:01:07 <monochrom> Does it help if you know "[3,4]" is syntax sugar for "3 : (4 : [])"?
21:01:17 <edwardk> compare (x:xs) (y:ys) = case compare x y of { LT -> LT; EQ -> compare xs ys; GT -> GT }; compare [] [] = EQ; compare [] (_:_) = LT; compare (_:_) [] = GT
21:01:33 <monochrom> and then that.
21:01:37 × Varis quits (~Tadas@unaffiliated/varis) (Remote host closed the connection)
21:01:59 <edwardk> when it starts it compares 3:4:2:[] with 3:4:[]. so we start on the first compare pattern, which then compares 3 with 3, gets EQ and compares the tails
21:02:10 <monochrom> Near the end of the recursive algorithm, it is comparing [] against non-[], done, doesn't even care.
21:02:26 × myShoggoth quits (~myShoggot@75.164.11.109) (Ping timeout: 240 seconds)
21:02:32 <edwardk> we then compare 4:2:[] with 4:[] -- which compares the heads (compare 4 4 yields EQ, which recurses again with 2:[] and []
21:02:34 <monochrom> > [] < undefined : undefined
21:02:36 <lambdabot> True
21:02:56 <edwardk> now we fall into the last case compare (_:_) [] = GT
21:03:08 Guest78317 joins (~laudiacay@67.176.215.84)
21:03:11 <edwardk> > [2] > []
21:03:13 <lambdabot> True
21:04:00 <edwardk> lexicographical comparison is comparing element by element through the two lists until one of the lists runs out and the other doesn't, or until it encounters a difference in the values contained.
21:04:19 <edwardk> so notice how compare (_:_) [] = GT -- didn't care a whit about what you stored in the list.
21:04:45 <tatsumaru> i am not familiar with the (_:_) construction yet
21:04:49 <edwardk> > 'a':'b':(undefined:[]) > "ab"
21:04:51 <lambdabot> True
21:05:05 <edwardk> (_:_) is just a pattern throwing away both the x and the xs in the pattern match
21:05:26 <edwardk> foo (x:xs) = "hello" could be written as foo (_:_) = "hello" -- since the body doesn't need the name x or xs.
21:05:29 <monochrom> The _ is "wildcard pattern" and it matches unconditionally and also doesn't care.
21:05:36 <edwardk> const a _ = a
21:05:42 <edwardk> throws away the second argument
21:05:59 <monochrom> The : you're supposed to know if you use Haskell lists at all.
21:06:15 <edwardk> : is just how you cons onto a list.
21:06:15 <tatsumaru> well IIUC : means append to the beginning of the list
21:06:20 <edwardk> > 1:2:3:[]
21:06:22 <lambdabot> [1,2,3]
21:06:37 <edwardk> > case [1,2,3] of x:xs -> x
21:06:40 <lambdabot> 1
21:06:44 <edwardk> > case [1,2,3] of x:xs -> xs
21:06:46 <lambdabot> [2,3]
21:07:11 × Guest78317 quits (~laudiacay@67.176.215.84) (Ping timeout: 240 seconds)
21:08:06 × malumore_ quits (~malumore@151.62.126.110) (Ping timeout: 240 seconds)
21:08:20 <edwardk> so basically the definition of compare for lists matches on the two lists, walks through them if they both have elements it compares the heads and proceeeds recursively if they are the same, if they both are empty they are the same, and if one has elements and the other does not then the one with elements is considered greater. just like how 'dogfood' comes after 'dog' in the dictionary.
21:08:22 <ski> > let x:xs = [1,2,3] in (x,xs)
21:08:24 <lambdabot> (1,[2,3])
21:09:18 <tatsumaru> so basically it interchanges between different definitions of greater depending on the case?
21:09:43 <tatsumaru> sometimes it's greater because 3 > 2 and sometimes it's greater because the list is longer
21:09:45 <monochrom> I don't understand that question.
21:10:05 × geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed)
21:10:21 <edwardk> the only time it ever 'compares list lengths' is when one ran out of elements completely.
21:10:23 geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com)
21:10:25 <xsperry> tatsumaru, what would you prefer? that smaller list is greater? that an error is thrown?
21:10:36 <xsperry> (or rather returned)
21:10:46 <geekosaur> and why?
21:11:19 <tatsumaru> I am not making preferences just trying to figure it out
21:11:38 ubert joins (~Thunderbi@178.115.130.126.wireless.dyn.drei.com)
21:11:46 <monochrom> And there are two "it"s that clearly refer to two unrelated things so the question reflects that you are thinking unclearly.
21:11:46 <tatsumaru> in terms of what would make most sense to me as a noob programmer is that it would throw an error because one list has more indexes than the other
21:12:07 × hyperisco quits (~hyperisco@d192-186-117-226.static.comm.cgocable.net) (Ping timeout: 265 seconds)
21:12:43 nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
21:12:50 barakkl1993 joins (~barakkley@2.55.154.74)
21:12:51 <ski> each list can be either empty or non-empty. since there's two lists, that makes four combinations. both empty means they lists are equal. one empty and one non-empty means the empty one is less than the non-empty one. both non-empty .. then we compare the first element of both lists. only if they're equal do we continue to compare the tails of the two lists
21:13:02 <nut> what is the time complexity of list join (++) ?
21:13:12 <ski> join ?
21:13:17 <nut> concat
21:13:39 <edwardk> that isn't terribly useful if you want to, say, use those lists as a key in a map. here we want 'Ord' to give us a comparison that is a total function that tells us if xs < ys, if xs == ys, or if xs > ys. that is the role served by compare, by <, <=, =>, >, ==, /= in haskell.
21:13:40 <ski> `xs ++ ys' takes time proportional to the length of `xs'
21:13:42 <monochrom> The time cost of xs++ys is proportional to the length of xs.
21:13:43 <edwardk> they are 'total'
21:14:08 <xsperry> tatsumaru, sort function uses <. if Ord for list was defined the way you propose, you could only sort a list of strings if all the strings were of the same length.
21:14:17 <monochrom> ys and xs++ys can share the ys part.
21:14:23 <tatsumaru> if longer lists are greater then why is [2, 2] > [3] false ?
21:14:40 <monochrom> 2<3
21:14:51 <monochrom> GG
21:14:53 <ski> because the remainder of the lists are only considered, in case the head elements differ
21:14:57 <nut> ski: i see, you'd have to traverse xs
21:15:06 <monochrom> ski: Eqaul!
21:15:12 <edwardk> on the other hand you could well come up with a class for 'partial orders' where the question a <=? b = False and b <=? a = False at the same time is perfectly acceptable. no 'errors' need be thrown, then you could say for that that two lists can only compare as <=? if, say they are exactly the same length _and_ say, every single element compares as <= its corresponding sibling in the other list.
21:15:22 <monochrom> nut: It also has to clone xs.
21:15:35 <tatsumaru> so this is what puzzles me whether the boolean output is based on the total length of the list or on comparing each individual integers to each other
21:15:40 <edwardk> tatsumaru: why does 'catfood' come before 'dog' in the dictionary?
21:15:42 <ski> in `[2,2] > [3]', we have `2 < 3', hence the list comparision is `False'. we never get to comparing the tails, per `[2] > []'
21:16:16 <tatsumaru> edwardk ok this made it clearer, basically both things matter
21:17:24 × geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed)
21:17:36 × nut quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Remote host closed the connection)
21:17:41 geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com)
21:18:24 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 265 seconds)
21:18:26 × ubert quits (~Thunderbi@178.115.130.126.wireless.dyn.drei.com) (Ping timeout: 260 seconds)
21:18:50 <ski> tatsumaru : corresponding elements are compared, successively. we only continue this comparision, as long as previous corresponding element comparisions have turned out to compare equal, and (obviously) as long as there's more elements of both lists to compare with each other. so, as soon as one (or both) lists end, this process also stops. but it also stops if an element comparision compares not equal
21:19:14 <tatsumaru> just realized you could actually do this with char as well "catfood" < "dog"
21:19:20 <edwardk> think of this as walking through both lists discarding common prefixes. when you're done discarding the common prefix, the next elements if they exist disagree. which one comes first? if they both don't exist, its becauseyour lists are the same, if one exists and the other doesn't, its because you are looking at something like the "dog" vs "dogfood"
21:19:21 <ski> yep
21:20:15 <ski> tatsumaru : as an exercise, you could define `lessThan :: Ord a => [a] -> [a] -> Bool' yourself ?
21:21:01 <tatsumaru> I am not sure what that means yet I am literally on chapter 1 of the book.
21:21:09 × mikoto-chan quits (~anass@gateway/tor-sasl/mikoto-chan) (Ping timeout: 240 seconds)
21:21:20 <tatsumaru> is this a function definition
21:21:26 <ski> yes, it would be
21:21:48 <geekosaur> well, strictly speaking that was the type signature for a function
21:22:07 <ski> (what i gave would be the corresponding type signature. if you prefer, you could do e.g. `lessThan :: [Integer] -> [Integer] -> Bool' instead. or `lessThan :: [Char] -> [Char] -> Bool')
21:23:17 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
21:24:31 × knupfer quits (~Thunderbi@200116b82b97f00088ad36c7c6f65050.dip.versatel-1u1.de) (Ping timeout: 245 seconds)
21:24:39 <tatsumaru> by the way is the new haskell 2020 spec going to be compatible with what I am learning right now?
21:24:52 × s00pcan quits (~chris@107.181.165.217) (Ping timeout: 240 seconds)
21:24:55 <tatsumaru> which is haskell 2010
21:24:55 <monochrom> There is no Haskell 2020.
21:25:33 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
21:25:35 <tatsumaru> hmm, the wiki says 'Haskell 2020 announced' preview release
21:26:56 s00pcan joins (~chris@075-133-056-178.res.spectrum.com)
21:27:49 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 252 seconds)
21:27:51 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 245 seconds)
21:28:11 olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber)
21:28:49 ludi49 joins (~hryhorij@156.17.231.95)
21:29:00 rj joins (~x@gateway/tor-sasl/rj)
21:32:17 danvet_ joins (~danvet@212-51-149-181.fiber7.init7.net)
21:34:09 × rj quits (~x@gateway/tor-sasl/rj) (Remote host closed the connection)
21:34:21 jesystani joins (~thorn@2404:4404:17f1:4900:819e:dd03:7c1b:1df4)
21:34:22 Guest78317 joins (~laudiacay@67.176.215.84)
21:34:31 rj joins (~x@gateway/tor-sasl/rj)
21:35:09 × lawr3nce quits (~lawr3nce@gateway/tor-sasl/lawr3nce) (Ping timeout: 240 seconds)
21:35:21 × aidecoe quits (~aidecoe@unaffiliated/aidecoe) (Remote host closed the connection)
21:36:14 Neuromancer joins (~Neuromanc@unaffiliated/neuromancer)
21:38:24 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
21:38:36 × Guest78317 quits (~laudiacay@67.176.215.84) (Ping timeout: 252 seconds)
21:39:21 × michalz quits (~user@185.246.204.61) (Remote host closed the connection)
21:41:11 × ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Remote host closed the connection)
21:41:46 ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
21:43:17 myShoggoth joins (~myShoggot@75.164.11.109)
21:43:57 tatsumaru parts (~tatsumaru@85.196.189.103) ()
21:46:26 × ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 240 seconds)
21:47:09 maroloccio joins (~marolocci@pousada3ja.mma.com.br)
21:48:00 geiger_ joins (~geiger@90.212.77.86)
21:50:47 × geiger quits (~geiger@90.212.77.86) (Ping timeout: 265 seconds)
21:54:11 × danvet_ quits (~danvet@212-51-149-181.fiber7.init7.net) (Ping timeout: 240 seconds)
21:54:51 × danvet quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 260 seconds)
21:56:25 × Lowl3v3l quits (~Lowl3v3l@dslb-002-207-103-026.002.207.pools.vodafone-ip.de) (Ping timeout: 252 seconds)
21:58:35 nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
21:59:10 <nut> if (++) in Data.List is too slow, what data structure to consider for fast concat ?
21:59:55 <monochrom> Data.Sequence.Seq
22:00:11 <nut> thanks
22:00:23 <monochrom> without actually knowing your context or application or problem domain
22:02:30 × zva quits (~zava@141.26.31.52) (Ping timeout: 268 seconds)
22:02:54 <nut> monochrom: I'm doing a tree traversal algorithm. I get a list from both left and right subtree which I need to combime
22:03:38 <nut> monochrom: So I suppose instead of list, I can try a Seq a
22:04:26 <monochrom> "difference list" i.e. [a]->[a]
22:05:42 <nut> monochrom: wow, thanks!
22:05:55 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee) (Remote host closed the connection)
22:05:56 hc_ joins (~hc@fsfe/hc)
22:06:01 <monochrom> Instead of Tree->[X], have f::Tree->[X]->[X]. f (Branch left right) = f left . f right; f (Leaf x) = \s -> x : s
22:06:38 <monochrom> For the whole tree, use "f my_whole_tree []".
22:06:45 nicholasbulka joins (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee)
22:06:54 Guest78317 joins (~laudiacay@67.176.215.84)
22:07:10 × hc quits (~hc@fsfe/hc) (Read error: Connection reset by peer)
22:07:10 × piele quits (~piele@tbonesteak.creativeserver.net) (Quit: No Ping reply in 180 seconds.)
22:07:23 tsaka_ joins (~torstein@athedsl-4519432.home.otenet.gr)
22:07:32 <nut> Is this Haskell specific data structure? monochrom
22:07:51 <monochrom> No, you can do this for every FP language.
22:07:53 <nut> monochrom: I can't seem to find references in other languages
22:07:55 × jesystani quits (~thorn@2404:4404:17f1:4900:819e:dd03:7c1b:1df4) (Ping timeout: 260 seconds)
22:08:09 <nut> non FP languages
22:08:13 piele joins (~piele@tbonesteak.creativeserver.net)
22:08:15 <monochrom> But then I guess it is best used with laziness.
22:08:24 <monochrom> s/non/anti/
22:08:37 <monochrom> Clearly, anti FP got to be anti F.
22:08:39 jesystani joins (~thorn@2404:4404:17f1:4900:1be9:7d25:ab7d:6509)
22:08:51 <nut> haha
22:09:14 <monochrom> "Tree->[X]->[X]" fundamentally requires one to be serious about functions.
22:09:31 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 245 seconds)
22:09:40 <monochrom> Or at least the function composition in "f left . f right"
22:09:43 × usr25 quits (~usr25@unaffiliated/usr25) (Quit: Leaving)
22:10:28 <nut> What do you mean?
22:10:45 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
22:10:55 <monochrom> An anti-FP language will not make it easy to use function composition.
22:12:46 <nut> monochrom: In your previous code, you've added a [X]. Is it supposed to be an accumulator?
22:13:12 <monochrom> whereas the difference list trick is built around function composition.
22:13:12 × Guest78317 quits (~laudiacay@67.176.215.84) (Ping timeout: 265 seconds)
22:13:13 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee) (Ping timeout: 245 seconds)
22:13:13 ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
22:13:13 × __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving)
22:13:13 × tsaka__ quits (~torstein@athedsl-4519432.home.otenet.gr) (Ping timeout: 260 seconds)
22:13:26 <nut> i see
22:13:49 × fendor quits (~fendor@178.165.131.162.wireless.dyn.drei.com) (Remote host closed the connection)
22:13:52 <nut> So your code snippets demonstrates the use of function composition
22:14:12 <nut> But I don't see how that composition made things fast
22:14:49 <nut> monochrom: do you mean it turned concat into function application?
22:14:53 <monochrom> I don't know what counts as accumulator. The [X] parameter is a suffix. f does prepending.
22:14:54 <monochrom> f (Branch (Leaf x) (Leaf y)) suffix = x : y : suffix
22:15:03 <monochrom> Yes
22:15:27 × Ariakenom quits (~Ariakenom@2001:9b1:efb:fc00:795e:3018:ba62:6713) (Quit: Leaving)
22:15:29 <geekosaur> I think they meant the type signature and [X] was "list of X"
22:15:47 <nut> monochrom: it's a small aha moment for me
22:16:05 rj joins (~x@gateway/tor-sasl/rj)
22:16:09 ph88 joins (~ph88@2a02:8109:9e00:7e5c:d5ef:86b3:afc4:9258)
22:18:24 × ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 252 seconds)
22:18:56 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
22:19:25 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
22:22:08 dpl_ joins (~dpl@77-121-78-163.chn.volia.net)
22:22:12 × nut quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 240 seconds)
22:22:51 × dpl quits (~dpl@77-121-78-163.chn.volia.net) (Ping timeout: 268 seconds)
22:23:43 <infinisil> Could also use https://hackage.haskell.org/package/dlist-1.0/docs/Data-DList.html
22:24:19 × olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Remote host closed the connection)
22:24:56 × barakkl1993 quits (~barakkley@2.55.154.74) (Ping timeout: 260 seconds)
22:25:41 <infinisil> Oh they're gone
22:27:44 × Sornaensis quits (~Sornaensi@077213200034.dynamic.telenor.dk) (Ping timeout: 246 seconds)
22:32:01 × lassulus quits (~lassulus@NixOS/user/lassulus) (Ping timeout: 245 seconds)
22:33:39 nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
22:35:08 × son0p quits (~ff@181.136.122.143) (Read error: Connection reset by peer)
22:37:02 lassulus joins (~lassulus@NixOS/user/lassulus)
22:38:06 × nineonin_ quits (~nineonine@50.216.62.2) (Ping timeout: 240 seconds)
22:41:41 hypercube joins (hypercube@gateway/vpn/protonvpn/hypercube)
22:41:44 × Sheilong quits (uid293653@gateway/web/irccloud.com/x-iszyocxwqmtvebxh) (Quit: Connection closed for inactivity)
22:42:30 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
22:42:41 × Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 240 seconds)
22:47:20 × Guest46085 quits (~textual@zrcout.mskcc.org) (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:47:26 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 245 seconds)
22:55:09 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
22:56:21 Guest78317 joins (~laudiacay@67.176.215.84)
22:58:41 rj joins (~x@gateway/tor-sasl/rj)
22:59:37 nicholasbulka joins (~nicholasb@2601:900:4301:da0:c46c:29eb:6d58:88ee)
23:01:06 × Guest78317 quits (~laudiacay@67.176.215.84) (Ping timeout: 260 seconds)
23:02:15 × thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 258 seconds)
23:02:20 sm2n_ joins (~sm2n@bras-base-hmtnon143hw-grc-13-70-54-76-62.dsl.bell.ca)
23:03:10 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
23:05:10 × sm2n quits (~sm2n@70.54.76.62) (Ping timeout: 252 seconds)
23:09:40 nibot joins (45d11556@69-209-21-86.lightspeed.sntcca.sbcglobal.net)
23:12:15 sm2n joins (~sm2n@bras-base-hmtnon143hw-grc-13-70-54-76-62.dsl.bell.ca)
23:12:50 <newhoggy> @bgamari: Any chance you could bump the upper bounds for monoidal-containers? https://github.com/bgamari/monoidal-containers/issues/78
23:12:51 <lambdabot> Unknown command, try @list
23:12:54 DavidEichmann joins (~david@147.136.46.217.dyn.plus.net)
23:13:08 <newhoggy> bgamari: Any chance you could bump the upper bounds for monoidal-containers? https://github.com/bgamari/monoidal-containers/issues/78
23:13:42 cantstanya joins (~chatting@gateway/tor-sasl/cantstanya)
23:13:56 × sm2n_ quits (~sm2n@bras-base-hmtnon143hw-grc-13-70-54-76-62.dsl.bell.ca) (Ping timeout: 246 seconds)
23:14:24 sleblanc joins (~sleblanc@unaffiliated/sebleblanc)
23:15:03 × juri_ quits (~juri@178.63.35.222) (Ping timeout: 252 seconds)
23:16:45 Alleria joins (~textual@2603-7000-3040-0000-e52b-abc5-9db9-302a.res6.spectrum.com)
23:17:08 Alleria is now known as Guest66770
23:18:12 × nut quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 240 seconds)
23:18:57 nineonine joins (~nineonine@50.216.62.2)
23:20:01 × Narinas quits (~Narinas@187-178-93-112.dynamic.axtel.net) (Ping timeout: 252 seconds)
23:21:07 × Guest66770 quits (~textual@2603-7000-3040-0000-e52b-abc5-9db9-302a.res6.spectrum.com) (Ping timeout: 250 seconds)
23:21:33 × electricityZZZZ quits (~electrici@135-180-3-82.static.sonic.net) (Remote host closed the connection)
23:22:58 ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
23:23:35 ortz joins (~egigs@108-89-5-25.lightspeed.dybhfl.sbcglobal.net)
23:23:44 <ortz> is there an irc channel for Rust?
23:24:00 <ortz> I tried #rust, but it's invite-only
23:24:29 <hpc> i don't think anyone here can help with that
23:24:48 <ortz> i figured there'd be a bit of overlap
23:25:26 <yushyin> also rust community mostly uses discord and zulip
23:25:52 <ortz> discord is annoying, it wants an email just for me to pop in and ask a question
23:25:57 <hpc> or mozilla's irc network, it seems
23:25:59 <hpc> https://prev.rust-lang.org/en-US/community.html
23:26:15 <yushyin> mozilla stopped using irc
23:26:20 <hpc> oh
23:26:27 <hpc> freenode's #rust might just be squatting the name
23:26:46 <yushyin> they are now using matrix.org, afaik
23:27:15 <yushyin> there is an unoffical rust channel on freenode ##rust
23:28:41 × ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 240 seconds)
23:29:18 <yushyin> hpc: prev.rust-lang.org seems to be an old unmaintained website :/
23:34:45 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds)
23:36:07 × ph88 quits (~ph88@2a02:8109:9e00:7e5c:d5ef:86b3:afc4:9258) (Ping timeout: 260 seconds)
23:36:36 epicte7us joins (~epictetus@ip72-194-54-201.sb.sd.cox.net)
23:37:08 × epicte7us quits (~epictetus@ip72-194-54-201.sb.sd.cox.net) (Client Quit)
23:37:36 ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
23:39:23 × hiroaki_ quits (~hiroaki@2a02:8108:8c40:2bb8:9a44:5c99:5f02:ae1) (Ping timeout: 260 seconds)
23:39:41 × ep1ctetus quits (~epictetus@ip72-194-54-201.sb.sd.cox.net) (Ping timeout: 240 seconds)
23:42:02 juri_ joins (~juri@178.63.35.222)
23:42:31 × ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 260 seconds)
23:44:40 ph88 joins (~ph88@2a02:8109:9e00:7e5c:d5ef:86b3:afc4:9258)
23:47:26 × cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Ping timeout: 240 seconds)
23:51:23 Narinas joins (~Narinas@187-178-93-112.dynamic.axtel.net)
23:52:28 × Jd007 quits (~Jd007@162.156.11.151) (Quit: Jd007)
23:52:34 × Synthetica quits (uid199651@gateway/web/irccloud.com/x-uzlgvfmvgotbpzjj) (Quit: Connection closed for inactivity)
23:53:35 ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
23:53:57 × hendursa1 quits (~weechat@gateway/tor-sasl/hendursaga) (Remote host closed the connection)
23:54:51 hendursa1 joins (~weechat@gateway/tor-sasl/hendursaga)
23:54:54 quinn joins (~quinn@c-73-223-224-163.hsd1.ca.comcast.net)
23:55:16 × nibot quits (45d11556@69-209-21-86.lightspeed.sntcca.sbcglobal.net) (Quit: Connection closed)
23:55:45 × hendursa1 quits (~weechat@gateway/tor-sasl/hendursaga) (Remote host closed the connection)
23:56:02 × xsperry quits (~as@unaffiliated/xsperry) (Remote host closed the connection)
23:56:20 hendursa1 joins (~weechat@gateway/tor-sasl/hendursaga)
23:58:54 Codaraxis__ joins (~Codaraxis@141.98.255.149)
23:59:06 × ddellacosta quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 245 seconds)
23:59:14 nineonin_ joins (~nineonine@50.216.62.2)
23:59:40 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
23:59:50 cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net)

All times are in UTC on 2021-04-20.