Home freenode/#haskell: Logs Calendar

Logs on 2020-10-30 (freenode/#haskell)

00:00:02 × Guest31792 quits (~Fuchs@154.13.1.56) ()
00:00:28 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 268 seconds)
00:00:29 texasmynsted joins (~texasmyns@104.140.52.75)
00:00:52 polyrain joins (~polyrain@130.102.13.189)
00:01:07 texasmyn_ joins (~texasmyns@104.140.52.75)
00:01:34 Tario joins (~Tario@200.119.184.34)
00:01:50 × texasmyn_ quits (~texasmyns@104.140.52.75) (Remote host closed the connection)
00:01:50 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 264 seconds)
00:02:27 texasmyn_ joins (~texasmyns@104.140.52.75)
00:04:43 × texasmynsted quits (~texasmyns@104.140.52.75) (Ping timeout: 258 seconds)
00:07:15 × texasmyn_ quits (~texasmyns@104.140.52.75) (Ping timeout: 268 seconds)
00:09:15 nibbling joins (~nibbling@165.227.18.242)
00:11:37 × cods quits (~fred@unaffiliated/cods) (Ping timeout: 258 seconds)
00:11:51 Foritus joins (~buggery@cpc91334-watf11-2-0-cust153.15-2.cable.virginm.net)
00:11:53 cods joins (~fred@tuxee.net)
00:13:08 × nibbling quits (~nibbling@165.227.18.242) (Client Quit)
00:13:19 nibbling joins (~nibbling@165.227.18.242)
00:15:48 × nibbling quits (~nibbling@165.227.18.242) (Client Quit)
00:15:53 × acidjnk_new2 quits (~acidjnk@p200300d0c72260337583e474f5800943.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
00:17:48 × vacm quits (~vacwm@70.23.92.191) (Quit: Textual IRC Client: www.textualapp.com)
00:18:39 × nineonine quits (~textual@216.81.48.202) (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:19:22 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
00:19:44 × m0rphism quits (~m0rphism@HSI-KBW-046-005-177-122.hsi8.kabel-badenwuerttemberg.de) (Ping timeout: 240 seconds)
00:20:24 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Client Quit)
00:21:22 × dcoutts_ quits (~duncan@33.14.75.194.dyn.plus.net) (Ping timeout: 272 seconds)
00:21:59 <ghoulguy> maerwald: Is ghcup 0.1.12 waiting on more testing?
00:22:33 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
00:25:31 wroathe_ is now known as wroathe
00:25:31 × chkno quits (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net) (Read error: Connection reset by peer)
00:26:03 chkno joins (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net)
00:26:11 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 258 seconds)
00:28:38 × noan quits (~noan@2604:a880:400:d0::12fc:5001) (Quit: ZNC 1.8.1 - https://znc.in)
00:28:52 texasmynsted joins (~texasmyns@104.140.52.75)
00:29:00 noan joins (~noan@2604:a880:400:d0::12fc:5001)
00:29:37 texasmyn_ joins (~texasmyns@104.140.52.75)
00:32:00 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
00:32:00 × gentauro quits (~gentauro@unaffiliated/gentauro) (Read error: Connection reset by peer)
00:32:36 gentauro joins (~gentauro@unaffiliated/gentauro)
00:32:42 dcoutts_ joins (~duncan@33.14.75.194.dyn.plus.net)
00:33:33 × texasmynsted quits (~texasmyns@104.140.52.75) (Ping timeout: 260 seconds)
00:34:04 × jedws quits (~jedws@101.184.150.81) (Ping timeout: 240 seconds)
00:34:05 × xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 240 seconds)
00:37:25 jedws joins (~jedws@101.184.150.81)
00:37:32 × conal quits (~conal@66.115.157.138) (Quit: Computer has gone to sleep.)
00:39:04 christo joins (~chris@81.96.113.213)
00:44:15 × p-core quits (~Thunderbi@2001:718:1e03:5128:2ab7:7f35:48a1:8515) (Ping timeout: 268 seconds)
00:47:04 × tdhttt quits (~tdhttt@89.45.90.31) (Ping timeout: 240 seconds)
00:47:06 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
00:48:05 × akad_ quits (~akad@109107030050.radomsko.vectranet.pl) (Ping timeout: 240 seconds)
00:49:39 tdhttt joins (~tdhttt@2600:8802:2203:2500:7dae:b2c2:4784:ea3f)
00:49:39 × Tario quits (~Tario@200.119.184.34) (Read error: Connection reset by peer)
00:49:55 Tario joins (~Tario@186.176.130.227)
00:50:31 × GyroW_ quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
00:50:46 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
00:50:46 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
00:50:46 GyroW joins (~GyroW@unaffiliated/gyrow)
00:51:22 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:a7:5aa8:702f:4d52) (Ping timeout: 260 seconds)
00:52:01 ericsagnes joins (~ericsagne@2405:6580:0:5100:e025:6b7e:a41d:7b14)
00:52:51 hack_bot joins (~hack_bot@178.162.212.214)
00:53:52 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:54:10 × Tario quits (~Tario@186.176.130.227) (Ping timeout: 258 seconds)
00:54:52 <hyiltiz> no reason we cannot implement the graphics grammer in a haskell DSL tho
00:55:20 <hyiltiz> haskell is much better suited for the task than R; in fact, ggplot only overloads (+)
00:55:44 <hyiltiz> and what ggplot calls + is kinda like the monad bind
00:55:53 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
00:56:01 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
00:56:47 × texasmyn_ quits (~texasmyns@104.140.52.75) (Remote host closed the connection)
00:56:48 <hyiltiz> hadley whichman probably is also well aware of the monadic nature of his DSL; he focuses more heavily on functional these days
00:56:55 Tario joins (~Tario@201.192.165.173)
00:57:10 hackage crdt-event-fold 1.0.0.2 - Garbage collected event folding CRDT. https://hackage.haskell.org/package/crdt-event-fold-1.0.0.2 (rickowens)
00:57:26 texasmynsted joins (~texasmyns@104.140.52.75)
00:58:37 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
01:02:01 × texasmynsted quits (~texasmyns@104.140.52.75) (Ping timeout: 264 seconds)
01:03:45 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 258 seconds)
01:10:46 texasmynsted joins (~texasmyns@104.140.52.75)
01:10:49 Jonkimi727406120 joins (~Jonkimi@223.213.166.96)
01:14:57 × TMA quits (tma@twin.jikos.cz) (Ping timeout: 260 seconds)
01:15:42 × texasmynsted quits (~texasmyns@104.140.52.75) (Ping timeout: 268 seconds)
01:15:43 TMA joins (tma@twin.jikos.cz)
01:18:20 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
01:19:05 × mbomba quits (~mbomba@142.114.9.241) (Ping timeout: 258 seconds)
01:20:44 × Deide quits (~Deide@217.155.19.23) (Quit: Seeee yaaaa)
01:21:02 × dhil quits (~dhil@195.213.192.122) (Ping timeout: 264 seconds)
01:21:41 texasmynsted joins (~texasmyns@104.140.52.75)
01:21:45 Lord_of_Life_ joins (~Lord@46.217.219.201)
01:22:32 texasmyn_ joins (~texasmyns@104.140.52.75)
01:22:50 × alp_ quits (~alp@2a01:e0a:58b:4920:6800:79d6:f6e9:b658) (Ping timeout: 264 seconds)
01:22:50 × Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 264 seconds)
01:23:59 nineonine joins (~textual@216-19-190-182.dyn.novuscom.net)
01:24:16 texasmyn_ is now known as texasmynsted_
01:24:20 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 268 seconds)
01:24:40 × texasmynsted_ quits (~texasmyns@104.140.52.75) (Client Quit)
01:24:45 olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber)
01:24:59 texasmyn_ joins (~texasmyns@104.140.52.75)
01:25:44 × texasmynsted quits (~texasmyns@104.140.52.75) (Ping timeout: 240 seconds)
01:25:48 softwarm joins (4408f588@ip68-8-245-136.sd.sd.cox.net)
01:26:07 conal joins (~conal@66.115.157.138)
01:27:39 texasmyn_ is now known as texasmynsted
01:28:45 × KhoN_2 quits (~KhoN@cm-84.208.147.132.getinternet.no) (Ping timeout: 240 seconds)
01:29:26 × st8less quits (~st8less@2603:a060:11fd:0:11a8:48f2:e89a:10e3) (Ping timeout: 264 seconds)
01:31:11 st8less joins (~st8less@inet-167-224-197-181.isp.ozarksgo.net)
01:31:14 × Jonkimi727406120 quits (~Jonkimi@223.213.166.96) (Ping timeout: 265 seconds)
01:31:32 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
01:32:10 hackage digit 0.10 - A data-type representing digits 0-9 and other combinations https://hackage.haskell.org/package/digit-0.10 (TonyMorris)
01:32:13 KhoN joins (~KhoN@cm-84.208.147.132.getinternet.no)
01:38:35 xerox_ joins (~xerox@unaffiliated/xerox)
01:39:15 jbox joins (~atlas@unaffiliated/jbox)
01:42:01 × conal quits (~conal@66.115.157.138) (Ping timeout: 260 seconds)
01:48:19 conal_ joins (~conal@64.71.133.70)
01:49:36 × dsturnbull quits (sid347899@gateway/web/irccloud.com/x-xjhlceifjqvpqvdm) (Read error: Connection reset by peer)
01:49:36 × edwinb quits (sid69486@gateway/web/irccloud.com/x-uzgutqxewvyjtsgl) (Read error: Connection reset by peer)
01:49:51 × nick_h quits (sid319833@gateway/web/irccloud.com/x-omwgtsberokhnnup) (Ping timeout: 244 seconds)
01:49:55 × Firedancer quits (sid336191@gateway/web/irccloud.com/x-lxrtxgmxxnrqvfvu) (Ping timeout: 240 seconds)
01:49:56 × benl23 quits (sid284234@gateway/web/irccloud.com/x-mykntzjgnngsyngw) (Read error: Connection reset by peer)
01:49:57 × rann quits (sid175221@gateway/web/irccloud.com/x-rsexmirciwaviewy) (Ping timeout: 260 seconds)
01:49:57 × PoliticsII______ quits (sid193551@gateway/web/irccloud.com/x-vnvglhlgcdrmzohj) (Ping timeout: 260 seconds)
01:49:57 × gluegadget quits (sid22336@gateway/web/irccloud.com/x-jdgygofdapzniovg) (Ping timeout: 260 seconds)
01:49:58 × joel135 quits (sid136450@gateway/web/irccloud.com/x-revgtfychtzqfixn) (Ping timeout: 260 seconds)
01:50:13 × adius quits (sid321344@gateway/web/irccloud.com/x-fevubjfnjnczxgiy) (Read error: Connection reset by peer)
01:50:23 × hamishmack quits (sid389057@gateway/web/irccloud.com/x-ncidighjmedmicss) (Read error: Connection reset by peer)
01:50:32 × acertain quits (uid470584@gateway/web/irccloud.com/x-nuijhjibtvepkxua) (Ping timeout: 260 seconds)
01:50:32 × affinespaces quits (sid327561@gateway/web/irccloud.com/x-vnawyltnmuxsidss) (Ping timeout: 260 seconds)
01:50:33 × lucasb quits (uid333435@gateway/web/irccloud.com/x-vdikopfssarieyds) (Read error: Connection reset by peer)
01:50:33 × dmj` quits (sid72307@gateway/web/irccloud.com/x-qflxzvuqiztidpuf) (Read error: Connection reset by peer)
01:50:45 × hnOsmium0001 quits (uid453710@gateway/web/irccloud.com/x-ehxybuxikisvwbkv) (Read error: Connection reset by peer)
01:50:54 joel135 joins (sid136450@gateway/web/irccloud.com/x-pppqazmuonflegfo)
01:51:01 adius joins (sid321344@gateway/web/irccloud.com/x-tsjvbmdyswxbltja)
01:51:06 nick_h joins (sid319833@gateway/web/irccloud.com/x-qnwqcxnepqhxpufs)
01:51:06 Firedancer joins (sid336191@gateway/web/irccloud.com/x-hyzigtsebzrvzmdr)
01:51:06 dsturnbull joins (sid347899@gateway/web/irccloud.com/x-uawwozpxtxtrrqmh)
01:51:06 hamishmack joins (sid389057@gateway/web/irccloud.com/x-ozwasearskoxrztl)
01:51:07 × heyj quits (sid171370@gateway/web/irccloud.com/x-ihekfkoaipxroskj) (Ping timeout: 260 seconds)
01:51:14 gluegadget joins (sid22336@gateway/web/irccloud.com/x-lvckmaknkvyxabnz)
01:51:14 edwinb joins (sid69486@gateway/web/irccloud.com/x-scskswtevqzxoxpf)
01:51:14 acertain joins (sid470584@gateway/web/irccloud.com/x-fisxzvdyqjtaymih)
01:51:15 PoliticsII______ joins (sid193551@gateway/web/irccloud.com/x-ezmkktbpttxccjku)
01:51:24 affinespaces joins (sid327561@gateway/web/irccloud.com/x-ulxjdfowznxqutkz)
01:51:30 rann joins (sid175221@gateway/web/irccloud.com/x-ncptwvbelgpxvrhv)
01:51:31 hnOsmium0001 joins (uid453710@gateway/web/irccloud.com/x-ruzdsogkoyuwohsp)
01:51:41 lucasb joins (uid333435@gateway/web/irccloud.com/x-kiyetgcadtticoue)
01:51:44 benl23 joins (sid284234@gateway/web/irccloud.com/x-kweziwrdikjyykbe)
01:52:12 heyj joins (sid171370@gateway/web/irccloud.com/x-clcpomavaqzfbrgp)
01:52:13 dmj` joins (sid72307@gateway/web/irccloud.com/x-mokiihfzgsqydwnq)
01:52:25 × dmj` quits (sid72307@gateway/web/irccloud.com/x-mokiihfzgsqydwnq) (Excess Flood)
01:52:46 × whaletechno quits (~whaletech@unaffiliated/whaletechno) (Quit: ha det bra)
01:53:05 × Sgeo quits (~Sgeo@ool-18b982ad.dyn.optonline.net) (Read error: Connection reset by peer)
01:53:37 delYsid parts (~user@vra-171-40.tugraz.at) ("ERC (IRC client for Emacs 27.1.50)")
01:54:13 dmj` joins (sid72307@gateway/web/irccloud.com/x-rsiipfauoercnqib)
01:54:50 Sgeo joins (~Sgeo@ool-18b982ad.dyn.optonline.net)
02:02:10 hackage musicw 0.3.6 - Sound synthesis library, to be used with GHCJS and Web Audio API https://hackage.haskell.org/package/musicw-0.3.6 (dktr0)
02:02:26 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 264 seconds)
02:05:49 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
02:07:03 × jedws quits (~jedws@101.184.150.81) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:08:26 × benjamin-l quits (~benjamin@2601:1c0:8800:67e0:fa16:54ff:febc:2e60) (Ping timeout: 264 seconds)
02:12:19 elliott__ joins (~elliott@pool-108-51-141-12.washdc.fios.verizon.net)
02:12:54 geowiesnot joins (~user@87-89-181-157.abo.bbox.fr)
02:12:56 × urodna quits (~urodna@unaffiliated/urodna) (Quit: urodna)
02:14:43 × hekkaidekapus quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Ping timeout: 240 seconds)
02:14:58 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
02:17:13 hekkaidekapus joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
02:17:18 jedws joins (~jedws@101.184.150.81)
02:19:50 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 268 seconds)
02:21:49 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 264 seconds)
02:24:56 Jonkimi727406120 joins (~Jonkimi@119.123.241.90)
02:25:20 × nineonine quits (~textual@216-19-190-182.dyn.novuscom.net) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:33:43 × Sgeo quits (~Sgeo@ool-18b982ad.dyn.optonline.net) (Read error: Connection reset by peer)
02:34:09 wretchswollen joins (~jvw@135-180-15-188.fiber.dynamic.sonic.net)
02:36:20 × shatriff quits (~vitaliish@176.52.219.10) (Remote host closed the connection)
02:36:26 × texasmynsted quits (~texasmyns@104.140.52.75) ()
02:36:29 Stanley00 joins (~stanley00@unaffiliated/stanley00)
02:36:33 gioyik_ joins (~gioyik@186.102.94.1)
02:37:05 × gioyik quits (~gioyik@186.118.247.118) (Ping timeout: 260 seconds)
02:37:35 Sgeo joins (~Sgeo@ool-18b982ad.dyn.optonline.net)
02:38:33 × gioyik_ quits (~gioyik@186.102.94.1) (Read error: Connection reset by peer)
02:39:07 × mimi_vx quits (~mimi@tulipan.habr.nat.praha12.net) (Remote host closed the connection)
02:39:51 × djellemah quits (~djellemah@2601:5c2:100:96c:e008:b638:39fe:6a54) (Quit: Leaving)
02:40:00 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
02:40:11 × Chi1thangoo quits (~Chi1thang@87.112.60.168) (Ping timeout: 268 seconds)
02:41:10 toorevitimirp joins (~tooreviti@117.182.180.36)
02:42:29 × jedws quits (~jedws@101.184.150.81) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:43:55 gioyik_ joins (~gioyik@179.32.231.178)
02:44:47 jedws joins (~jedws@101.184.150.81)
02:45:11 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)
02:45:33 petersen joins (~petersen@redhat/juhp)
02:45:35 fresheyeball joins (~isaac@c-71-237-105-37.hsd1.co.comcast.net)
02:47:07 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:52:14 wretchswollen is now known as crestfallen
02:52:20 × crestfallen quits (~jvw@135-180-15-188.fiber.dynamic.sonic.net) (Quit: Lost terminal)
02:52:53 × lucasb quits (uid333435@gateway/web/irccloud.com/x-kiyetgcadtticoue) (Quit: Connection closed for inactivity)
02:54:07 nbloomf joins (~nbloomf@76.217.43.73)
02:55:36 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 268 seconds)
02:55:36 × fresheyeball quits (~isaac@c-71-237-105-37.hsd1.co.comcast.net) (Quit: WeeChat 2.7.1)
03:00:02 × hack_bot quits (~hack_bot@178.162.212.214) ()
03:00:38 × xff0x_ quits (~fox@2001:1a81:52b5:c700:721b:f319:6c8c:effe) (Ping timeout: 264 seconds)
03:02:21 xff0x_ joins (~fox@2001:1a81:52d0:1400:82e7:d433:290a:90f3)
03:04:09 Volt_ joins (~Volt_@c-73-145-164-70.hsd1.mi.comcast.net)
03:08:24 × macrover quits (~macrover@ip70-189-231-35.lv.lv.cox.net) (Ping timeout: 240 seconds)
03:08:28 falafel_ joins (~falafel@71-34-132-121.clsp.qwest.net)
03:09:49 × geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 264 seconds)
03:10:52 × DTZUZU quits (~DTZUZU@S0106bcd165662a4d.vs.shawcable.net) (Read error: Connection reset by peer)
03:11:10 × lagothrix quits (~lagothrix@unaffiliated/lagothrix) (Killed (wilhelm.freenode.net (Nickname regained by services)))
03:11:19 lagothrix joins (~lagothrix@unaffiliated/lagothrix)
03:11:36 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
03:13:15 DTZUZU joins (~DTZUZU@S0106bcd165662a4d.vs.shawcable.net)
03:13:35 cabpa joins (~cabpa@110.54.169.154)
03:15:46 christo joins (~chris@81.96.113.213)
03:16:13 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
03:16:35 × jedws quits (~jedws@101.184.150.81) (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:17:30 nineonine joins (~textual@216-19-190-182.dyn.novuscom.net)
03:19:21 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
03:19:28 × nineonine quits (~textual@216-19-190-182.dyn.novuscom.net) (Client Quit)
03:20:59 Saukk joins (~Saukk@2001:998:f9:2914:1c59:9bb5:b94c:4)
03:21:16 × falafel_ quits (~falafel@71-34-132-121.clsp.qwest.net) (Remote host closed the connection)
03:21:38 falafel_ joins (~falafel@71-34-132-121.clsp.qwest.net)
03:23:04 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Client Quit)
03:23:48 unihernandez22 joins (~Unai@168.197.200.20)
03:23:51 <unihernandez22> Hi
03:24:27 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Read error: Connection reset by peer)
03:24:36 × cabpa quits (~cabpa@110.54.169.154) (Remote host closed the connection)
03:24:36 <hyiltiz-M> Hello
03:24:43 <yushyin> hello
03:24:55 Stanley00 joins (~stanley00@unaffiliated/stanley00)
03:25:12 <hyiltiz-M> Do people not using Matrix see this Avatar icon?
03:25:21 <unihernandez22> https://pastebin.com/JttfKa2t
03:25:32 <unihernandez22> Is there another way to do that?
03:25:41 <unihernandez22> Because it is too slow
03:25:46 <jamestmartin> hyiltiz-M: I don't know what you're talking about, so I'd say probably not
03:26:19 <unihernandez22> It is for these benchmarks https://github.com/jabbalaci/SpeedTests
03:26:22 <sm[m]> hyiltiz-M: not even matrix users see it :) just a place holder H avatar here
03:31:05 × theDon quits (~td@muedsl-82-207-238-079.citykom.de) (Ping timeout: 240 seconds)
03:31:10 <hyiltiz-M> Awesome! I'd hate to clutter everyone's IRC cache with a stupic avatar
03:31:26 × conal_ quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
03:31:39 vicfred joins (~vicfred@unaffiliated/vicfred)
03:32:05 jedws joins (~jedws@101.184.150.81)
03:33:17 theDon joins (~td@94.134.91.17)
03:33:27 × jedws quits (~jedws@101.184.150.81) (Client Quit)
03:33:27 × Aquazi quits (uid312403@gateway/web/irccloud.com/x-hdjxwzczxilznuyg) (Quit: Connection closed for inactivity)
03:34:01 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
03:34:59 <unihernandez22> Can anyone help me? :)
03:35:31 × polyrain quits (~polyrain@130.102.13.189) (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:35:41 × falafel_ quits (~falafel@71-34-132-121.clsp.qwest.net) (Ping timeout: 268 seconds)
03:35:45 × ddellacosta quits (~dd@86.106.121.168) (Ping timeout: 240 seconds)
03:36:45 <koz_> unihernandez22: Make your cache a Vector.
03:36:50 <koz_> !! on lists is not very good.
03:37:30 <hyiltiz> unihernandez22: u don't seem to be using memoisation either (tho the cache variable seems to be trying to do so?)
03:39:26 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Read error: Connection reset by peer)
03:39:56 Stanley00 joins (~stanley00@unaffiliated/stanley00)
03:40:05 × Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 240 seconds)
03:40:50 <dibblego> > :t (!!) -- ftw
03:40:50 <dibblego> (!!) -- ftw :: Ixed s => s -> Index s -> Maybe (IxValue s)
03:40:52 <lambdabot> <hint>:1:1: error: <hint>:1:1: error: parse error on input ‘:’
03:41:39 <unihernandez22> hyiltiz: The cache are the squares of the digits
03:42:40 <hyiltiz> yeah i see that; but the rec. func. isM isn't re-uisng any of its computations, no?
03:42:59 <unihernandez22> No
03:43:24 <unihernandez22> Because the algorithm must be the same as the other languages, for the benchmark
03:44:40 christo joins (~chris@81.96.113.213)
03:45:09 × andi- quits (~andi-@NixOS/user/andi-) (Remote host closed the connection)
03:45:18 slack1256 joins (~slack1256@191.126.7.140)
03:46:41 codygman joins (codygman@gateway/vpn/privateinternetaccess/codygman)
03:46:56 × fandi__ quits (~fandi@118.97.77.114) (Read error: Connection reset by peer)
03:47:13 motherfsck joins (~motherfsc@unaffiliated/motherfsck)
03:47:17 × motherfsck quits (~motherfsc@unaffiliated/motherfsck) (Client Quit)
03:48:04 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 240 seconds)
03:49:24 × slack1256 quits (~slack1256@191.126.7.140) (Remote host closed the connection)
03:50:08 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
03:50:17 andi- joins (~andi-@NixOS/user/andi-)
03:52:41 polyrain joins (~polyrain@130.102.13.189)
03:53:38 Stanley|00 joins (~stanley00@unaffiliated/stanley00)
03:54:09 arahaelHour is now known as arahael
03:54:14 <dolio> It's not a cache of the squares of digits, though.
03:54:26 <unihernandez22> dolio ??
03:54:42 <dolio> It's a cache of digits raised to themselves as a power.
03:54:53 <unihernandez22> Oh, yes
03:55:09 Stanley00_ joins (~stanley00@unaffiliated/stanley00)
03:55:56 thir joins (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de)
03:56:10 Tario joins (~Tario@201.192.165.173)
03:56:33 <dolio> If it is supposed to be squares, using a list is almost certain to be slower.
03:57:11 nineonine joins (~textual@216-19-190-182.dyn.novuscom.net)
03:57:16 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 268 seconds)
03:57:28 <unihernandez22> No, I got confused
03:57:46 <unihernandez22> It's suposed to be the digits raised to themselves
03:58:24 × Stanley|00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 240 seconds)
03:58:25 × ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 240 seconds)
03:58:45 <dolio> Well, I'm unsure what would be faster in some of those scenarios. I'd probably bet on the list still being slower, I guess.
03:58:58 × nineonine quits (~textual@216-19-190-182.dyn.novuscom.net) (Client Quit)
03:59:22 <unihernandez22> https://pastebin.com/si3PT0Wr
03:59:27 <unihernandez22> That's a bit faster
04:00:58 × thir quits (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
04:01:51 falafel_ joins (~falafel@71-34-132-121.clsp.qwest.net)
04:02:40 ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net)
04:03:26 × codygman quits (codygman@gateway/vpn/privateinternetaccess/codygman) (Ping timeout: 268 seconds)
04:03:36 codygman joins (codygman@gateway/vpn/privateinternetaccess/codygman)
04:03:49 × howdoi quits (uid224@gateway/web/irccloud.com/x-vtjahgetnoyujbco) (Quit: Connection closed for inactivity)
04:05:07 <Axman6> unihernandez22: btw, filter (\i -> isMunchausen i) [0 .. 440_000_000] is the same as filter isMunchausen [0 .. 440_000_000]
04:06:12 <unihernandez22> Oh yes, that's because the function was different before
04:07:38 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
04:07:45 × codygman quits (codygman@gateway/vpn/privateinternetaccess/codygman) (Ping timeout: 240 seconds)
04:07:57 <Axman6> this feels like one of those problems that spending sometime thinking about it would let you drasticly reduce the number of numbers you needed to check
04:07:58 codygman joins (~codygman@47-184-107-46.dlls.tx.frontiernet.net)
04:08:37 <Axman6> I assume there's some relatively simple relationship between calc n and calc (n+1)
04:09:03 <Axman6> I find this code quite hard to follow though
04:09:23 <Axman6> it feels like it's just a fold over the digits
04:10:21 <unihernandez22> calc is the sum of digits raised to themselves
04:10:28 <unihernandez22> as a power
04:11:12 <Axman6> I would try and make things a little simpler to follow by doing something like calc = sum . map recourse . digits or something
04:11:24 <Axman6> rather than passing in f to recourse
04:12:21 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 258 seconds)
04:12:45 <Axman6> breaking the problem down into smaller, composible parts will make it clearer what the relationship between n and n+1 is, at least
04:12:53 <dsal> That `return 0` is super weird. If you got rid of that, you could also get rid of the do. And you could get rid of the lambda in the filter.
04:13:12 <dsal> `main = mapM_ print $ filter isMunchausen [0 .. 440_000_000]`
04:13:33 <Axman6> surprised that return 0 even type checks, but then remembered that main can have type IO a
04:13:45 <Axman6> even though we always use main :: IO ()
04:13:54 <dsal> Ah. I didn't realize that. I've never seen that. Yeah, I always ()
04:14:44 <dolio> I don't think it actually does what is expected, though.
04:15:18 <dolio> It should be `exitSuccess` if you want to do that explicitly.
04:15:28 <Axman6> yeah I'm not convinced it does either... thouggh IU just realised I was parsing cache ! r + f q ad cache ! (r + f q) and not (cache ! r) + (f q)
04:16:05 Axman6 has had about three hours sleep and struggles to type at the best of times. Good luck everybody
04:16:23 × justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) (Ping timeout: 268 seconds)
04:18:26 <unihernandez22> dsal, I changed that, but the problem here is the speed
04:19:10 <dsal> Sure, understood. I'm just looking at all the things. My brain can translate code without understanding it. I'm on that level right now.
04:20:04 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
04:20:21 <Axman6> > let digits 0 = []; digits n = case quotRem n 10 of (n',d) -> d : digits n' in digits 12345
04:20:23 <lambdabot> [5,4,3,2,1]
04:20:44 <dsal> I don't understand what you're trying to do.
04:21:01 <Axman6> > let digits 0 = []; digits n = case quotRem n 10 of (n',d) -> d : digits n'; square n = n^n in map square $ digits 12345
04:21:04 <lambdabot> <hint>:1:77: error:
04:21:04 <lambdabot> <hint>:1:77: error: Parse error in pattern: square
04:21:21 <unihernandez22> dsal https://github.com/jabbalaci/SpeedTests
04:22:19 <dsal> Ah, that's helpful.
04:23:07 <Axman6> > let digits 0 = []; digits n = case quotRem n 10 of (n',d) -> d : digits n'; ; square n = n^n in map square $ digits 12345
04:23:09 <lambdabot> <hint>:1:79: error:
04:23:09 <lambdabot> <hint>:1:79: error: Parse error in pattern: square
04:23:21 <Axman6> > let digits 0 = []; digits n = (case quotRem n 10 of (n',d) -> d : digits n') ; square n = n^n in map square $ digits 12345
04:23:24 <lambdabot> [3125,256,27,4,1]
04:23:33 <Axman6> > let digits 0 = []; digits n = (case quotRem n 10 of (n',d) -> d : digits n') ; square n = n^n in sum $ map square $ digits 12345
04:23:35 <lambdabot> 3413
04:24:01 <Axman6> > let digits 0 = []; digits n = (case quotRem n 10 of (n',d) -> d : digits n') ; square n = n^n in map (sum . map square . digits) [1000..]
04:24:04 <lambdabot> [4,4,7,30,259,3128,46659,823546,16777219,387420492,4,4,7,30,259,3128,46659,8...
04:24:34 <Axman6> > let digits 0 = []; digits n = (case quotRem n 10 of (n',d) -> d : digits n') ; square n = n^n in filter (\n -> n == sum . map square . digits $ n) [1..]
04:24:36 <lambdabot> error:
04:24:36 <lambdabot> • Couldn't match expected type ‘(c -> c) -> Bool’
04:24:36 <lambdabot> with actual type ‘Bool’
04:24:47 <Axman6> > let digits 0 = []; digits n = (case quotRem n 10 of (n',d) -> d : digits n') ; square n = n^n in filter (\n -> n == (sum . map square . digits $ n) [1..]
04:24:50 <lambdabot> <hint>:1:155: error:
04:24:50 <lambdabot> <hint>:1:155: error:
04:24:50 <lambdabot> parse error (possibly incorrect indentation or mismatched brackets)
04:24:51 <Axman6> > let digits 0 = []; digits n = (case quotRem n 10 of (n',d) -> d : digits n') ; square n = n^n in filter (\n -> n == (sum . map square . digits $ n)) [1..]
04:24:57 <lambdabot> mueval-core: Time limit exceeded
04:24:58 <dsal> Doing things on one line is hard. heh
04:25:23 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 258 seconds)
04:26:11 <Axman6> so an interesting thing about this is that the tail of the result of digits is the same for n and n+1 unless the last digit is 10, which shows there's some caching to be had
04:26:17 × petersen quits (~petersen@redhat/juhp) (Ping timeout: 260 seconds)
04:26:36 <int-e> square n = n^n?!
04:26:45 <Axman6> fight me
04:26:55 <dsal> dimensionate
04:27:06 <Axman6> tetrate?
04:27:28 <unihernandez22> int-e hahaha
04:28:05 _vaibhavingale_ joins (~Adium@203.188.228.9)
04:29:32 drbean joins (~drbean@TC210-63-209-96.static.apol.com.tw)
04:30:32 <unihernandez22> Ok... I'm going to sleep
04:30:59 <int-e> smurf, frobnicate, foo, bar, baz, xyzzy, barney, fred.
04:32:24 <Axman6> I thought n ^ n was tetration
04:32:42 <Axman6> no
04:32:58 <Axman6> it's smaller than that
04:33:10 <Axman6> (me calls it pentration)
04:33:26 <int-e> nah, tetration is something silly like n ^^ m = iterate (n^) n !! m
04:33:32 <Axman6> yeah
04:33:50 cabpa joins (~cabpa@110.54.186.150)
04:34:47 <unihernandez22> selfpow n = n ^ n
04:35:14 <MarcelineVQ> dupsquare
04:35:21 <Axman6> > 9 ^ 9
04:35:24 <lambdabot> 387420489
04:35:34 <Axman6> join (^)
04:35:57 <int-e> How about `nendo n` because it counts endomorphisms from an n-element set to itself...
04:36:30 <Axman6> sounds like a Star Wars character
04:38:58 <Axman6> unihernandez22: btw, using Vector would make the indexing more efficient, since Arrays allow you to have arbitrary indexes, so there's alwats a conversion between your index and the underlying index into the array. Vector plus uunsafeIndex would be the best once you know it can never index out of bounds
04:39:00 × cabpa quits (~cabpa@110.54.186.150) (Remote host closed the connection)
04:39:02 × xff0x_ quits (~fox@2001:1a81:52d0:1400:82e7:d433:290a:90f3) (Ping timeout: 264 seconds)
04:39:33 xff0x_ joins (~fox@2001:1a81:52d0:1400:3530:ba40:6a60:b17e)
04:40:48 <unihernandez22> Axman6, but I need it without external packages
04:41:00 cabpa joins (~cabpa@110.54.186.150)
04:41:15 nineonine joins (~textual@216-19-190-182.dyn.novuscom.net)
04:43:03 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
04:45:42 <unihernandez22> Axman6, I tried directly with a function defined for each digit statically, and the speed doesn't change
04:46:10 <unihernandez22> So that's not the problem
04:46:46 <dsal> Yeah, it's unlikely your problem is that exponentiation is slow, but more that you're doing it more than you need to.
04:47:10 × avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:48:51 <unihernandez22> dsal, but with other languages it take ~5 seconds
04:48:59 <unihernandez22> And with Haskell 1 minute
04:49:14 × hiroaki quits (~hiroaki@2a02:908:4b18:e20::8d72) (Ping timeout: 264 seconds)
04:49:17 <unihernandez22> So I think I'm doing something wrong
04:52:34 jedws joins (~jedws@101.184.150.81)
04:53:26 × ericsagnes quits (~ericsagne@2405:6580:0:5100:e025:6b7e:a41d:7b14) (Ping timeout: 264 seconds)
04:54:05 × polyrain quits (~polyrain@130.102.13.189) (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:54:11 avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz)
04:55:35 <dsal> Let me try it...
04:58:34 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
04:59:08 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
04:59:47 lahwran joins (~lahwran@178.239.168.171)
05:01:28 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
05:01:40 hiroaki joins (~hiroaki@2a02:908:4b18:e20::8f6e)
05:03:01 christo joins (~chris@81.96.113.213)
05:03:33 polyrain joins (~polyrain@130.102.13.189)
05:03:38 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 264 seconds)
05:05:08 ericsagnes joins (~ericsagne@2405:6580:0:5100:58d8:d49c:65f5:d6a2)
05:06:20 × polyrain quits (~polyrain@130.102.13.189) (Client Quit)
05:06:20 × chkno quits (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net) (Read error: Connection reset by peer)
05:06:49 day_ joins (~Unknown@unaffiliated/day)
05:07:03 polyrain joins (~polyrain@130.102.13.189)
05:07:03 chkno joins (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net)
05:07:34 <unihernandez22> Ok... Bye
05:07:35 × avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:08:01 × Volt_ quits (~Volt_@c-73-145-164-70.hsd1.mi.comcast.net) (Quit: )
05:08:10 <Axman6> well I got it to 23s using LLVM, but it is still surprising it's unable to optimise it as well as the quite similar C code
05:09:13 tsrt^ joins (tsrt@ip98-184-89-2.mc.at.cox.net)
05:09:44 × day quits (~Unknown@unaffiliated/day) (Ping timeout: 240 seconds)
05:09:45 day_ is now known as day
05:12:13 <monsterchrom> int-e, Axman6: As in, Lando counts left Kan ("Lan") extensions? :)
05:13:37 × Saukk quits (~Saukk@2001:998:f9:2914:1c59:9bb5:b94c:4) (Remote host closed the connection)
05:15:04 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
05:16:24 × acarrico quits (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) (Ping timeout: 240 seconds)
05:17:00 × nbloomf quits (~nbloomf@76.217.43.73) (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:17:35 <dsal> Yeah, this is strangely slow. Why can't my computer math faster?
05:17:47 × zaquest quits (~notzaques@5.128.210.178) (Quit: Leaving)
05:20:18 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 272 seconds)
05:24:18 zaquest joins (~notzaques@5.128.210.178)
05:25:20 × vicfred quits (~vicfred@unaffiliated/vicfred) (Quit: Leaving)
05:30:05 × verement quits (~anonymous@cpe-76-167-229-223.san.res.rr.com) (Ping timeout: 240 seconds)
05:33:02 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
05:33:14 × jluttine quits (~jluttine@87-95-204-180.bb.dnainternet.fi) (Ping timeout: 258 seconds)
05:33:34 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
05:34:02 christo joins (~chris@81.96.113.213)
05:34:58 jluttine joins (~jluttine@87-95-204-180.bb.dnainternet.fi)
05:35:48 × cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Ping timeout: 265 seconds)
05:35:50 verement joins (~anonymous@cpe-76-167-229-223.san.res.rr.com)
05:39:38 × polyrain quits (~polyrain@130.102.13.189) (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:41:28 vonfry joins (~user@181.115.198.104.bc.googleusercontent.com)
05:44:12 × unihernandez22 quits (~Unai@168.197.200.20) (Quit: Leaving)
05:46:09 hackage which 0.2 - Determine the full path to an executable. https://hackage.haskell.org/package/which-0.2 (abrar)
05:50:02 plutoniix joins (~q@node-uqc.pool-125-24.dynamic.totinternet.net)
05:56:25 pera joins (~pera@unaffiliated/pera)
05:57:25 thir joins (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de)
05:57:26 perry6942066 joins (6ee39737@110.227.151.55)
05:59:53 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
06:00:01 × lahwran quits (~lahwran@178.239.168.171) ()
06:01:24 × thir quits (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
06:02:28 × plutoniix quits (~q@node-uqc.pool-125-24.dynamic.totinternet.net) (Ping timeout: 246 seconds)
06:02:31 takuan joins (~takuan@178-116-218-225.access.telenet.be)
06:04:50 × dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 264 seconds)
06:07:35 plutoniix joins (~q@ppp-49-237-18-197.revip6.asianet.co.th)
06:07:41 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
06:11:23 × jedws quits (~jedws@101.184.150.81) (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:11:40 × perry6942066 quits (6ee39737@110.227.151.55) (Remote host closed the connection)
06:12:53 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
06:12:56 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
06:15:53 christo joins (~chris@81.96.113.213)
06:19:41 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
06:27:13 bartemius joins (~bartemius@109-252-20-20.nat.spd-mgts.ru)
06:30:14 × nschoe quits (~quassel@2a01:e0a:3c4:c7b0:c945:6e87:b509:d89a) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
06:42:53 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
06:46:04 × falafel_ quits (~falafel@71-34-132-121.clsp.qwest.net) (Ping timeout: 240 seconds)
06:52:29 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
06:54:51 × nineonine quits (~textual@216-19-190-182.dyn.novuscom.net) (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:56:51 alp_ joins (~alp@2a01:e0a:58b:4920:39fb:a32b:68ff:61b3)
06:57:23 falafel_ joins (~falafel@71-34-132-121.clsp.qwest.net)
06:59:50 chaosmasttter joins (~chaosmast@p200300c4a70a4101f96c699b406ffa93.dip0.t-ipconnect.de)
07:00:04 × softwarm quits (4408f588@ip68-8-245-136.sd.sd.cox.net) (Ping timeout: 245 seconds)
07:00:48 howdoi joins (uid224@gateway/web/irccloud.com/x-uyyqinprnfdxpgmh)
07:01:26 christo joins (~chris@81.96.113.213)
07:02:26 hhmmss joins (3dded63f@61-222-214-63.HINET-IP.hinet.net)
07:02:31 polyrain joins (~polyrain@130.102.13.189)
07:04:24 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds)
07:04:46 asheshambasta joins (~user@ptr-e1lysawl9rr13i61o92.18120a2.ip6.access.telenet.be)
07:06:02 × christo quits (~chris@81.96.113.213) (Ping timeout: 264 seconds)
07:07:30 cfricke joins (~cfricke@unaffiliated/cfricke)
07:07:49 × solonarv quits (~solonarv@astrasbourg-653-1-117-122.w90-33.abo.wanadoo.fr) (Ping timeout: 268 seconds)
07:09:02 × falafel_ quits (~falafel@71-34-132-121.clsp.qwest.net) (Ping timeout: 264 seconds)
07:11:04 danvet joins (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa)
07:12:19 × gioyik_ quits (~gioyik@179.32.231.178) (Quit: WeeChat 2.9)
07:14:27 petersen joins (~petersen@redhat/juhp)
07:15:24 × Amras quits (~Amras@unaffiliated/amras0000) (Ping timeout: 240 seconds)
07:15:42 × duairc quits (~shane@ana.rch.ist) (Ping timeout: 256 seconds)
07:16:21 × Sheilong quits (uid293653@gateway/web/irccloud.com/x-lzoeccbcuqfwnwby) (Quit: Connection closed for inactivity)
07:17:37 mananamenos joins (~mananamen@84.122.202.215.dyn.user.ono.com)
07:19:05 xiinotulp joins (~q@ppp-223-24-166-140.revip6.asianet.co.th)
07:19:47 × jbox quits (~atlas@unaffiliated/jbox) (Quit: WeeChat 2.9)
07:21:00 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
07:22:24 × plutoniix quits (~q@ppp-49-237-18-197.revip6.asianet.co.th) (Ping timeout: 240 seconds)
07:22:41 × cabpa quits (~cabpa@110.54.186.150) (Ping timeout: 260 seconds)
07:24:46 Robert1 joins (~Robert@217.146.82.202)
07:25:29 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
07:27:36 nineonine joins (~textual@216-19-190-182.dyn.novuscom.net)
07:29:22 × nineonine quits (~textual@216-19-190-182.dyn.novuscom.net) (Client Quit)
07:29:24 geowiesnot joins (~user@87-89-181-157.abo.bbox.fr)
07:30:37 × sfvm quits (~sfvm@37.228.215.148) (Remote host closed the connection)
07:34:32 × Sgeo quits (~Sgeo@ool-18b982ad.dyn.optonline.net) (Read error: Connection reset by peer)
07:37:20 × DirefulSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Remote host closed the connection)
07:38:12 DirefulSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt)
07:45:01 AlterEgo- joins (~ladew@124-198-158-163.dynamic.caiway.nl)
07:46:24 × xff0x_ quits (~fox@2001:1a81:52d0:1400:3530:ba40:6a60:b17e) (Ping timeout: 240 seconds)
07:47:45 xff0x_ joins (~fox@2001:1a81:52d0:1400:178e:93d:529c:83a3)
07:47:57 unlink_ joins (~unlink2@p57b85d53.dip0.t-ipconnect.de)
07:48:10 × jrqc quits (~rofl@96.78.87.197) (Ping timeout: 258 seconds)
07:49:25 × unlink2 quits (~unlink2@p200300ebcf180b00a39cfda93b79d512.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
07:49:28 jrqc joins (~rofl@96.78.87.197)
07:50:52 kritzefitz joins (~kritzefit@fw-front.credativ.com)
07:52:15 FreeBirdLjj joins (~freebirdl@101.228.42.108)
07:54:04 × justsomeguy quits (~justsomeg@unaffiliated/--/x-3805311) (Ping timeout: 268 seconds)
07:56:30 <dminuoso> Mmm, I've been pondering about whether a SelectiveDo notation makes sense.
07:56:31 vilpan joins (~0@212.117.1.172)
07:56:58 <dminuoso> One of my annoyances with selective functors has been the ergonomics since you can't use do expressively
07:57:44 × FreeBirdLjj quits (~freebirdl@101.228.42.108) (Ping timeout: 240 seconds)
07:58:05 thir joins (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de)
07:58:16 <dminuoso> Though things are bearable if you use `branch` a lot, such that code looks a bit if/then/else-y
07:59:36 × hnOsmium0001 quits (uid453710@gateway/web/irccloud.com/x-ruzdsogkoyuwohsp) (Quit: Connection closed for inactivity)
08:01:46 dhouthoo joins (~dhouthoo@ptr-eiv6509pb4ifhdr9lsd.18120a2.ip6.access.telenet.be)
08:03:19 × thir quits (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
08:05:26 × vonfry quits (~user@181.115.198.104.bc.googleusercontent.com) (Ping timeout: 264 seconds)
08:07:38 × geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 268 seconds)
08:10:52 × ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Read error: Connection reset by peer)
08:11:12 ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net)
08:15:01 Franciman joins (~francesco@host-79-36-167-172.retail.telecomitalia.it)
08:15:11 × xiinotulp quits (~q@ppp-223-24-166-140.revip6.asianet.co.th) (Read error: Connection reset by peer)
08:15:46 × MattMareo quits (~mattl@unaffiliated/mattmareo) (Quit: WeeChat 2.7.1)
08:15:47 xiinotulp joins (~q@ppp-27-55-76-28.revip3.asianet.co.th)
08:16:24 × ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 240 seconds)
08:17:28 jonathanx joins (~jonathan@dyn-8-sc.cdg.chalmers.se)
08:19:50 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
08:21:52 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
08:23:52 × Varis quits (~Tadas@unaffiliated/varis) (Remote host closed the connection)
08:24:34 britva joins (~britva@31-10-157-156.cgn.dynamic.upc.ch)
08:28:13 Sanchayan joins (~Sanchayan@106.200.201.167)
08:29:19 × ephemera_ quits (~E@122.34.1.187) (Ping timeout: 265 seconds)
08:30:03 × polyrain quits (~polyrain@130.102.13.189) (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:30:28 ephemera_ joins (~E@122.34.1.187)
08:31:13 Varis joins (~Tadas@unaffiliated/varis)
08:38:13 chele joins (~chele@ip5b416ea2.dynamic.kabel-deutschland.de)
08:38:50 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
08:41:05 × drbean quits (~drbean@TC210-63-209-96.static.apol.com.tw) (Ping timeout: 260 seconds)
08:46:10 × alp_ quits (~alp@2a01:e0a:58b:4920:39fb:a32b:68ff:61b3) (Remote host closed the connection)
08:46:11 m0rphism joins (~m0rphism@HSI-KBW-046-005-177-122.hsi8.kabel-badenwuerttemberg.de)
08:46:31 alp_ joins (~alp@2a01:e0a:58b:4920:4824:2411:72d0:af73)
08:48:55 thc202 joins (~thc202@unaffiliated/thc202)
08:48:57 × justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 268 seconds)
08:49:09 ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net)
08:53:58 × ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 246 seconds)
08:58:47 grimgnr joins (~user@94.19.246.43)
09:00:01 × Robert1 quits (~Robert@217.146.82.202) ()
09:00:05 × io_r_us[m] quits (commandlin@gateway/shell/matrix.org/x-vgfwulljnqdvxelo) (Quit: Idle for 30+ days)
09:06:06 jedws joins (~jedws@101.184.150.81)
09:07:22 dhil joins (~dhil@195.213.192.122)
09:07:38 cabpa joins (~cabpa@110.54.186.150)
09:08:14 × brown121407 quits (~brown1214@fsf/member/brown121407) (Quit: ZNC 1.8.2 - https://znc.in)
09:08:33 idhugo joins (~idhugo@users-1190.st.net.au.dk)
09:10:17 whatisRT joins (~whatisRT@2002:5b41:6a33:0:cdb:717d:49e3:4e14)
09:10:34 × howdoi quits (uid224@gateway/web/irccloud.com/x-uyyqinprnfdxpgmh) (Quit: Connection closed for inactivity)
09:14:58 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 2.9)
09:18:23 cfricke joins (~cfricke@unaffiliated/cfricke)
09:22:38 × troydm quits (~troydm@unaffiliated/troydm) (Ping timeout: 260 seconds)
09:22:53 × hhmmss quits (3dded63f@61-222-214-63.HINET-IP.hinet.net) (Remote host closed the connection)
09:24:38 × Sanchayan quits (~Sanchayan@106.200.201.167) (Quit: leaving)
09:26:04 × taurux quits (~taurux@net-93-151-195-63.cust.vodafonedsl.it) (Ping timeout: 240 seconds)
09:27:05 troydm joins (~troydm@unaffiliated/troydm)
09:27:07 × DirefulSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Remote host closed the connection)
09:27:49 taurux joins (~taurux@net-130-25-101-121.cust.vodafonedsl.it)
09:28:15 DirefulSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt)
09:32:26 × xiinotulp quits (~q@ppp-27-55-76-28.revip3.asianet.co.th) (Ping timeout: 264 seconds)
09:32:39 jakob_ joins (~textual@p200300f49f16220014c54729be697eb4.dip0.t-ipconnect.de)
09:32:51 × whatisRT quits (~whatisRT@2002:5b41:6a33:0:cdb:717d:49e3:4e14) (Read error: Connection reset by peer)
09:32:51 xiinotulp joins (~q@ppp-27-55-90-211.revip3.asianet.co.th)
09:37:07 × DirefulSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Remote host closed the connection)
09:39:21 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
09:39:37 ubert joins (~Thunderbi@p200300ecdf1e5396e6b318fffe838f33.dip0.t-ipconnect.de)
09:42:38 × strangeglyph quits (~strangegl@37.120.174.35) (Quit: User terminated)
09:42:49 strangeglyph joins (~strangegl@boreeas.net)
09:44:16 brown121407 joins (~brown1214@2001:19f0:6c01:2b9c:3c66:4201:22f3:3ebc)
09:44:16 × brown121407 quits (~brown1214@2001:19f0:6c01:2b9c:3c66:4201:22f3:3ebc) (Changing host)
09:44:16 brown121407 joins (~brown1214@fsf/member/brown121407)
09:44:27 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 268 seconds)
09:45:38 × bliminse quits (~bliminse@host109-158-129-241.range109-158.btcentralplus.com) (Ping timeout: 264 seconds)
09:46:13 bliminse joins (~bliminse@host109-158-129-241.range109-158.btcentralplus.com)
09:46:18 × xff0x_ quits (~fox@2001:1a81:52d0:1400:178e:93d:529c:83a3) (Ping timeout: 268 seconds)
09:46:57 xff0x_ joins (~fox@2001:1a81:52d0:1400:27e4:ce:8da5:24fb)
09:48:29 × brown121407 quits (~brown1214@fsf/member/brown121407) (Client Quit)
09:54:31 DavidEichmann joins (~david@43.240.198.146.dyn.plus.net)
09:54:31 kreative joins (~kreative@84.39.117.57)
09:55:06 DirefulSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt)
09:59:26 <maerwald> ApplicativDo was a mistake imo, SelectiveDo won't be any better
10:01:40 hackage in-other-words 0.1.1.0 - A higher-order effect system where the sky's the limit https://hackage.haskell.org/package/in-other-words-0.1.1.0 (KingoftheHomeless)
10:03:28 fendor joins (~fendor@77.119.131.209.wireless.dyn.drei.com)
10:03:53 <merijn> ApplicativeDo is to complicated
10:04:39 <Rembane> What's the syntax for ApplicativeDo? Left arrows?
10:06:32 <Kolkrabe> It's the usual do-notation, IIRC
10:06:48 × jonathanx quits (~jonathan@dyn-8-sc.cdg.chalmers.se) (Remote host closed the connection)
10:07:11 jonathanx joins (~jonathan@dyn-8-sc.cdg.chalmers.se)
10:07:13 brown121407 joins (~brown1214@mail.121407.xyz)
10:07:14 × brown121407 quits (~brown1214@mail.121407.xyz) (Changing host)
10:07:14 brown121407 joins (~brown1214@fsf/member/brown121407)
10:08:16 <merijn> Rembane: Do syntax, but with voodoo black magic deciding if it works or you get a type error
10:09:26 Chi1thangoo joins (~Chi1thang@87.112.60.168)
10:09:46 <Rembane> merijn: That sounds like something I don't want in a programming language.
10:10:08 <[exa]> Rembane: some people hate the applicative .. <$> .. <*> .. <*> .. noodles
10:10:23 <dminuoso> Rembane: Well, think of it as a freebie.
10:10:31 <dminuoso> Consider the use case of haxl
10:10:48 <dminuoso> You get the expressivity of monadic code, but with automatic parallelization whenever possible
10:11:00 <dminuoso> If you dont want it, you get no automatic parallelization
10:11:41 <lortabac> maybe they should have added an explicit keyword for ApplicativeDo
10:11:42 <Rembane> [exa]: I love them! :)
10:11:52 <Rembane> dminuoso: That is a very good point though.
10:13:14 <[exa]> they overloaded `do` instead of using `doA` or something?
10:13:27 <lortabac> [exa]: yes
10:13:30 <[exa]> I hoped that people have learned from `mdo`
10:14:39 cleveraware joins (~kali@45.133.7.43)
10:14:51 <dminuoso> Introducing new keywords is very unpopular in GHC.
10:15:01 <dminuoso> It causes friction every time
10:15:34 <[exa]> lucky we have pretty nice isolated extensions!
10:15:45 <[exa]> ( :] )
10:15:54 × Chi1thangoo quits (~Chi1thang@87.112.60.168) (Ping timeout: 268 seconds)
10:15:58 <Uniaika> hmm, I think there will be an extension for having Selective do without RebindableSyntax
10:16:05 <Uniaika> damnit, I can't recall its name
10:16:16 <dminuoso> If there is, Id be very curious what the ergonomics is
10:16:37 <dminuoso> Is it a sort of modified case-of?
10:16:42 <dminuoso> a kind of `applicative-case-of`?
10:17:14 <dminuoso> (That seems to be the only way that can make sense)
10:18:02 × cabpa quits (~cabpa@110.54.186.150) (Ping timeout: 264 seconds)
10:20:23 <dminuoso> Such that you could do `let s :: Parser (Either L R); s = ...; in caseS s of Left x -> ...; Right x -> ...;
10:20:40 <Uniaika> dminuoso: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0216-qualified-do.rst
10:20:46 <Uniaika> it's QualifiedDo!
10:21:06 <Uniaika> and here is the MR https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3436
10:21:07 <dminuoso> Uniaika: I recall that, but Im not sure whether it could help at all
10:21:19 <dminuoso> Selective requires a case-of version, rather than a do version
10:21:40 <dminuoso> But case-of has no RebindableSyntax to speak of
10:21:58 <dminuoso> Or rather a weird cross between `case of` and `(>>=)`
10:22:09 <[exa]> +1 ^
10:22:09 <dminuoso> Without guards?
10:23:05 <[exa]> they kindof "made sure this works" with having the Either type in the paper (so that a->b branch "must" be executed) but it would clearly help if the whole patternmatching mechanism was supported
10:23:23 <dminuoso> [exa]: Except you can rig the same type signature with just Applicative
10:23:30 <dminuoso> So the type signature alone is not strong enough
10:23:41 thblt parts (~thblt@unaffiliated/thblt) ("ERC (IRC client for Emacs 27.1)")
10:24:19 <[exa]> still kindof thinking how's the select useful in the common case when the decision trees don't really terminate
10:24:46 cleveraware parts (~kali@45.133.7.43) ()
10:25:41 <merijn> [exa]: The Selective Functor paper is pretty goood :)
10:25:48 <[exa]> yeah reading it now
10:25:57 <Uniaika> yes it's a good read
10:26:30 <dminuoso> Im still hoping parsley will become a thing some day
10:26:31 <Uniaika> as a follow-up and concrete implementation, there is also : https://github.com/kowainik/validation-selective
10:26:45 <dminuoso> https://github.com/J-mie6/ParsleyHaskell
10:26:52 <dminuoso> It's still being developed on
10:26:57 kuribas joins (~user@ptr-25vy0i7skjncktb6m9t.18120a2.ip6.access.telenet.be)
10:27:22 <Uniaika> hi kuribas :)
10:27:46 <[exa]> dminuoso: is there any read on parsley?
10:28:02 dyamon joins (~dyamon@cpc69058-oxfd26-2-0-cust662.4-3.cable.virginm.net)
10:28:04 <dminuoso> [exa]: There was a presenstation on Haskell eXchange 2018
10:28:17 <dminuoso> But I think the skillcasts are not publically available unless you bought a ticket
10:28:31 <dminuoso> (Or was it 2019?)
10:28:46 <[exa]> dminuoso: can you sum it up in like 1 sentence? I can read through the code but you know... :D
10:29:14 <dminuoso> [exa]: So selective is a cross between monad and applicative. You get dynamic choise based on previous results, but static analyzability.
10:29:25 <dminuoso> The idea is to build a parser optimizer in template haskell using that knowledge.
10:29:43 <kuribas> Uniaika: hey :)
10:29:44 <dminuoso> Where TH would probe and dissect your parser, and transform it
10:30:00 <[exa]> dminuoso: ooh okay
10:30:29 <[exa]> I don't like the TH part but it makes sense for sure
10:31:15 <dminuoso> Im not sure whether it still uses TH, but I think the demo used it
10:32:03 <dminuoso> TH at least would avoid some external tooling that you need to glue into the build process
10:32:47 <dminuoso> In a perfect world this would probably be a compiler plugin
10:33:39 <[exa]> like the point with TH is that it's getting back to bison-ish parser processors agaon
10:34:06 <[exa]> *again
10:34:06 <dminuoso> except you get to describe your parser with your beloved parser combinators
10:34:12 vilpan parts (~0@212.117.1.172) ()
10:34:24 <dminuoso> *and* get the benefits of the parser generator generating a better performing parser
10:34:34 <dminuoso> (or perhaps even detect parser bugs)
10:35:21 <[exa]> shift-reduce conflicts yay!
10:35:25 <dminuoso> external tool I think is very unlikely, because of multiple modules, language extensions, etc..
10:35:39 hackage modern-uri 0.3.3.0 - Modern library for working with URIs https://hackage.haskell.org/package/modern-uri-0.3.3.0 (mrkkrp)
10:35:42 <dminuoso> so I think TH and compiler plugin are your only options
10:35:52 <dminuoso> Unless you offload the parser combinator into a haskell-like DSL
10:36:10 <[exa]> anyway you still cannot use the old-fashioned patternmatch or if in the parser b/c it wouldn't get caught by Selective, right?
10:36:21 <dminuoso> Sure you can
10:36:42 <dminuoso> selective just wouldnt know about it, and assume both effects can happen
10:37:05 [exa] puzzled now
10:37:06 <dminuoso> superficially it'd just see:
10:37:17 <dminuoso> branch :: Selective f => f (Either a b) -> f (a -> c) -> f (b -> c) -> f c
10:37:25 <dminuoso> branch f g h
10:37:29 × petersen quits (~petersen@redhat/juhp) (Ping timeout: 268 seconds)
10:37:33 <[exa]> oh the ifs are rewritten by TH?
10:37:34 <dminuoso> and know that these three effects can all happen
10:37:43 <dminuoso> no, the structure on selective itself
10:37:45 <dminuoso> think
10:37:58 <[exa]> sorry I'm probably missing something important
10:37:58 <dminuoso> imagine this was written in a Free fashion
10:38:10 <dminuoso> with Monad you couldnt realistically go in and manipulate much
10:38:11 × DirefulSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Read error: Connection reset by peer)
10:38:15 <dminuoso> (even if its a free monad)
10:38:22 <dminuoso> thta is, manipulate without changing the meaning
10:38:42 <dminuoso> the core issue is
10:38:45 <dminuoso> % :t (>>=)
10:38:45 <yahb> dminuoso: Monad m => m a -> (a -> m b) -> m b
10:38:57 DirefulSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt)
10:38:59 <[exa]> yeah, you can get new effects from "environment"
10:39:06 <[exa]> (with monads)
10:39:18 <dminuoso> Is an optimization barrier. To optimize into >>= it would require GHC to analyze the function itself, leading very quickly to halting problems
10:39:38 <dminuoso> or not just optimization, but introspection
10:39:49 <dminuoso> consider optparse-applicative otoh, which can statically give you informatoin about the parser structure
10:39:53 <dminuoso> it can tell you exactly what flags are possible
10:40:21 <[exa]> yeah that's understood, that is impossible with (Appl|Select)ives
10:40:25 <dminuoso> but optparse applicative does not have the power to say "if you first specify -f, then we accept another flag -g, otherwise we accept -h in additoin"
10:40:57 <dminuoso> selective gives you that power, while allowing the tooling to analyze and tell you `-f/-g/-h` are possible
10:41:20 <dminuoso> so some optparse-selective could give you dynamic choices, while maintaining the analyzability to generate help pages from
10:41:27 <dminuoso> the reason is
10:41:34 <[exa]> oh I get it now sorry
10:41:39 <dminuoso> if it sees `branch f g h`, then it knows all `f, g and h` are possible
10:42:15 <dminuoso> equivalent to how `(,,) <$> f <*> g <*> h` lets you know that all `f, g and h` are possible
10:42:18 <[exa]> the confusion was that I somehow expected that you could have 2 branches of code that are switched by a simple 'if' (outside of selective) but that's impossible b/c you don't have >>= to extract the boolean
10:42:50 <dminuoso> Right, the branching in selective functors is constrained to `select/branch`
10:43:08 <dminuoso> Which is why I said that the equivalent to do-notation would be some version of `case-of`
10:43:15 <dminuoso> So instead of saying
10:43:26 <dminuoso> `branch f (branch g h i) j k`
10:43:29 <dminuoso> you might be able to say
10:43:44 <typetetris> Whats a small server side rendering web framework to look at?
10:43:57 <dminuoso> caseS f of G -> ...; H -> ...; I -> ...; J -> ...
10:44:03 <typetetris> Especially for creating easy links between pages.
10:44:21 <dminuoso> Where caseS is a "sort-of" constrained version of bind
10:45:02 <dminuoso> But such a thing would require some first-class way of specifying generic pattern matching
10:45:42 <dminuoso> typetetris: you can just use servant or scotty?
10:46:11 <[exa]> hm, lenses? `caseS :: [ (Prism ... , sel) ] -> sel -> sel`
10:46:54 <typetetris> dminuoso: now you mention it, there is a link creating function in servant?
10:47:23 <dminuoso> typetetris: Mmm, perhaps you could concoct such a thing yourself?
10:47:41 <dminuoso> Add some type combinator to tag endpoints
10:47:43 <[exa]> typetetris: I used scotty and just made a small function that gave the correct link to given routes
10:48:02 <dminuoso> Such that you can say `Tag "foo" :> "foo" :> Get '[] NoContent`
10:48:13 <[exa]> typetetris: if I got it correctly you basically want to make sure that rendered html anchors match what's in routing?
10:48:18 gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh)
10:48:42 <[exa]> dminuoso: anyway thanks for explanation :]
10:48:54 <dminuoso> And then pull out the route through some `getUrl :: (KnownSymbol k, MonadFail m) => Proxy k -> m Url`
10:49:02 <dminuoso> With some magic machinery that needs to be written
10:49:17 <typetetris> [exa]: yes
10:49:20 _noblegas joins (uid91066@gateway/web/irccloud.com/x-sqjfvivbwmtlawjw)
10:49:26 <dminuoso> That would be some real type tetris right there.
10:49:37 <merijn> dminuoso: Please make optparse-selective so I won't have to ;)
10:49:47 <typetetris> dminuoso: I knew, I need to change my nickname some time ... :(
10:49:57 ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net)
10:50:04 <dminuoso> typetetris: I think it should be quite possible, in fact.
10:50:11 <dminuoso> ANd useful
10:50:20 <typetetris> dminuoso: I think it is already there :)
10:50:47 × dexterfoo quits (dexter@2a01:7e00::f03c:91ff:fe86:59ec) (Ping timeout: 272 seconds)
10:50:53 flx_ joins (flux@coffee.modeemi.fi)
10:50:59 × cocreature quits (~cocreatur@eirene.uberspace.de) (Read error: Connection reset by peer)
10:51:03 × Geekingfrog quits (geekingfro@2a01:7e01::f03c:92ff:fe48:8bdf) (Remote host closed the connection)
10:51:14 Geekingfrog joins (~geekingfr@li2156-64.members.linode.com)
10:51:15 cocreature joins (~cocreatur@eirene.uberspace.de)
10:51:35 <[exa]> merijn: hopefully that could finally allow the global options leaking to subparsers :]
10:51:46 <dminuoso> typetetris: https://hackage.haskell.org/package/servant-0.16.2/docs/Servant-Links.html
10:51:50 <merijn> [exa]: That's already fixed, I think?
10:51:56 <[exa]> merijn: O_O
10:52:04 dexterfoo joins (dexter@2a01:7e00::f03c:91ff:fe86:59ec)
10:52:06 <dminuoso> typetetris: Would that work for you?
10:52:11 [exa] opens docs
10:52:31 <merijn> [exa]: https://github.com/pcapriotti/optparse-applicative/issues/294
10:52:41 × Jon quits (jon@dow.land) (Ping timeout: 272 seconds)
10:52:48 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
10:52:52 <typetetris> dminuoso: I will take a look at it.
10:53:05 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
10:53:05 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
10:53:05 GyroW joins (~GyroW@unaffiliated/gyrow)
10:53:11 <[exa]> merijn: w o n d e r f u l
10:53:23 <dminuoso> Personally, I'd try very hard to avoid yesod. I'd take any pain to get links with servant instead :p
10:53:25 <merijn> [exa]: It's even on hackage already :)
10:53:52 Jon joins (~jon@redmars.org)
10:54:23 <typetetris> What is that selective thing you are talking about?
10:54:24 × ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 240 seconds)
10:54:40 hackage mu-schema 0.3.1.1 - Format-independent schemas for serialization https://hackage.haskell.org/package/mu-schema-0.3.1.1 (AlejandroSerrano)
10:55:13 × m0rphism quits (~m0rphism@HSI-KBW-046-005-177-122.hsi8.kabel-badenwuerttemberg.de) (Quit: WeeChat 2.7.1)
10:55:13 × mflux quits (flux@coffee.modeemi.fi) (Ping timeout: 272 seconds)
10:55:21 flx_ is now known as mflux
10:55:57 <[exa]> merijn: are there any code changes required? (I'm on optparse 0.16)
10:56:01 <merijn> typetetris: Selective functors
10:56:16 <merijn> [exa]: The changelog has some stuff on how to enable it
10:56:24 <dminuoso> Ah what I wouldnt give for "disabling the type system" for just a moment, so I could build [1,[2,3,4],5,6,[7,8]] and flatten it...
10:56:26 <[exa]> great, thanks
10:56:26 <merijn> or disable? I don't remember
10:56:30 <dminuoso> Is there any cool tricks to build lists like that?
10:57:04 <merijn> typetetris: https://hackage.haskell.org/package/selective
10:57:17 <merijn> typetetris: See the paper linked in the docs for an explanation of the niche it fills
10:57:46 × andreas303 quits (~andreas@gateway/tor-sasl/andreas303) (Remote host closed the connection)
10:59:11 p-core joins (~Thunderbi@2001:718:1e03:5128:2ab7:7f35:48a1:8515)
11:00:11 <[exa]> back to selectives...this sounds like a great way to describe DFAs (and regexes)
11:00:15 × lyxia quits (~lyxia@poisson.chat) (Ping timeout: 256 seconds)
11:00:55 andreas303 joins (~andreas@gateway/tor-sasl/andreas303)
11:03:24 [exa] takes a huge melting pot and combines alternative+selective
11:04:59 whatisRT joins (~whatisRT@2002:5b41:6a33:0:cdb:717d:49e3:4e14)
11:06:04 × carlomagno quits (~cararell@148.87.23.9) (Ping timeout: 240 seconds)
11:09:35 <[exa]> merijn: anyway it's off by default, enabled by `prefs $ subparserInline <> helpShowGlobals`, thanks a lot!
11:09:49 × jonathanx quits (~jonathan@dyn-8-sc.cdg.chalmers.se) (Remote host closed the connection)
11:10:41 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 2.9)
11:11:49 <Uniaika> dminuoso: not that I know of :/
11:12:03 <Uniaika> except maybe building your own AST of values and operating on it
11:15:11 hackage mu-protobuf 0.4.0.1 - Protocol Buffers serialization and gRPC schema import for Mu microservices https://hackage.haskell.org/package/mu-protobuf-0.4.0.1 (AlejandroSerrano)
11:15:45 <dminuoso> Well, Im just using a slightly modifivation of Writer
11:16:01 cfricke joins (~cfricke@unaffiliated/cfricke)
11:16:08 <dminuoso> newtype ListW e a = ListW { unListW (Writer [e] a) }
11:16:22 <dminuoso> with some putE :: e -> ListW e (); putEs :: [e] -> ListW e ();
11:16:36 × Stanley00_ quits (~stanley00@unaffiliated/stanley00) ()
11:17:04 <dminuoso> So I can do `execList $ do { putE a; putEs bs; putE c; putE; d; putEs es }`
11:17:37 __monty__ joins (~toonn@unaffiliated/toonn)
11:18:48 × chaosmasttter quits (~chaosmast@p200300c4a70a4101f96c699b406ffa93.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
11:19:13 <Uniaika> that's uh… that's a way to do it indeed :D
11:21:35 <dminuoso> an alternative is just `[a] <> bs <> [c] <> [d] <> es` and align it nicely vertically
11:21:43 <dminuoso> Perhaps Ill just do that and not care
11:22:39 hackage megaparsec 9.0.1 - Monadic parser combinators https://hackage.haskell.org/package/megaparsec-9.0.1 (mrkkrp)
11:22:50 carlomagno joins (~cararell@148.87.23.4)
11:23:39 hackage megaparsec-tests 9.0.1 - Test utilities and the test suite of Megaparsec https://hackage.haskell.org/package/megaparsec-tests-9.0.1 (mrkkrp)
11:26:06 × pta2002 quits (~quassel@104.248.23.110) (Remote host closed the connection)
11:27:48 × rprije quits (~rprije@194-193-168-77.tpgi.com.au) (Ping timeout: 256 seconds)
11:28:50 × alp_ quits (~alp@2a01:e0a:58b:4920:4824:2411:72d0:af73) (Ping timeout: 264 seconds)
11:29:47 invaser joins (~Thunderbi@31.148.23.125)
11:30:37 × olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Remote host closed the connection)
11:31:46 × bliminse quits (~bliminse@host109-158-129-241.range109-158.btcentralplus.com) (Ping timeout: 256 seconds)
11:32:41 rprije joins (~rprije@194-193-168-77.tpgi.com.au)
11:32:44 bliminse joins (~bliminse@host109-158-129-241.range109-158.btcentralplus.com)
11:34:50 × Jonkimi727406120 quits (~Jonkimi@119.123.241.90) (Ping timeout: 264 seconds)
11:36:40 duairc joins (~shane@ana.rch.ist)
11:41:20 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
11:43:21 <dexterfoo> i am using: cabal v2-build how can i see which versions of dependencies are being used?
11:43:52 geekosaur joins (ac3a3b6a@172.58.59.106)
11:44:21 <dminuoso> dexterfoo: you can use cabal-plan
11:46:00 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds)
11:46:01 jud^ joins (~jud@cpe-70-113-106-222.austin.res.rr.com)
11:47:19 chaosmasttter joins (~chaosmast@p200300c4a70a4101f96c699b406ffa93.dip0.t-ipconnect.de)
11:49:14 × jud quits (~jud@unaffiliated/jud) (Ping timeout: 264 seconds)
11:49:16 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
11:49:26 GyroW joins (~GyroW@d54C03E98.access.telenet.be)
11:49:26 × GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host)
11:49:26 GyroW joins (~GyroW@unaffiliated/gyrow)
11:51:49 × rprije quits (~rprije@194-193-168-77.tpgi.com.au) (Ping timeout: 264 seconds)
11:52:59 <kuribas> dminuoso: I think you want DList?
11:54:01 lyxia joins (~lyxia@poisson.chat)
11:54:10 <kuribas> https://hackage.haskell.org/package/dlist
11:54:33 <kuribas> which is basically Endo
11:54:35 <kuribas> :t Endo
11:54:37 <lambdabot> (a -> a) -> Endo a
11:55:40 FreeBirdLjj joins (~freebirdl@101.228.42.108)
11:57:10 <kuribas> DList creates a tree internally, then you flatten it to a list
11:57:20 <kuribas> in linear time
11:57:27 × kreative quits (~kreative@84.39.117.57) (Remote host closed the connection)
11:57:28 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
11:57:38 × aarvar quits (~foewfoiew@50.35.43.33) (Ping timeout: 264 seconds)
11:59:32 thir joins (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de)
11:59:32 alp_ joins (~alp@2a01:e0a:58b:4920:9845:4ef6:8c4:f55e)
12:01:02 × whatisRT quits (~whatisRT@2002:5b41:6a33:0:cdb:717d:49e3:4e14) (Ping timeout: 260 seconds)
12:01:14 × FreeBirdLjj quits (~freebirdl@101.228.42.108) (Ping timeout: 264 seconds)
12:01:15 drbean joins (~drbean@TC210-63-209-168.static.apol.com.tw)
12:02:00 × Varis quits (~Tadas@unaffiliated/varis) (Remote host closed the connection)
12:03:28 m0rphism joins (~m0rphism@HSI-KBW-046-005-177-122.hsi8.kabel-badenwuerttemberg.de)
12:04:26 × thir quits (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
12:04:32 Varis joins (~Tadas@unaffiliated/varis)
12:05:17 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:07:19 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
12:12:04 × Tario quits (~Tario@201.192.165.173) (Ping timeout: 240 seconds)
12:15:03 <merijn> dexterfoo: That depends why you wanna know :p
12:16:29 <merijn> If the reason is, say, "because I wanna get a reproducible configuration" then the answer is "you probably want (v2-)freeze"
12:17:20 Jonkimi727406120 joins (~Jonkimi@223.213.166.96)
12:18:00 × pera quits (~pera@unaffiliated/pera) (Ping timeout: 268 seconds)
12:18:33 Tario joins (~Tario@200.119.186.141)
12:22:14 × Jonkimi727406120 quits (~Jonkimi@223.213.166.96) (Ping timeout: 264 seconds)
12:22:33 shatriff joins (~vitaliish@176.52.219.10)
12:22:34 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:27:57 <dminuoso> Mmm. Im starting to approach 150k lines of Haskell code for this library..
12:28:15 <dminuoso> Compilation times are getting worse every day...
12:28:16 Jonkimi727406120 joins (~Jonkimi@223.213.166.96)
12:28:27 × bgamari quits (~bgamari@2001:470:e438::1) (Ping timeout: 260 seconds)
12:29:30 <dminuoso> All for the sake of type safety. I should have build this codec library with runtime dictionaries, and some Dynamic sprinkling.
12:34:05 bgamari joins (~bgamari@72.65.123.7)
12:35:05 motherfsck joins (~motherfsc@unaffiliated/motherfsck)
12:37:41 bitmagie joins (~Thunderbi@200116b8061a0500a0d25f1411c67124.dip.versatel-1u1.de)
12:38:33 × zopsi quits (~zopsi@irc.dir.ac) (Remote host closed the connection)
12:38:57 zopsi joins (zopsi@2600:3c00::f03c:91ff:fe14:551f)
12:39:42 <__monty__> Is this a single-person codebase?
12:41:53 × bitmagie quits (~Thunderbi@200116b8061a0500a0d25f1411c67124.dip.versatel-1u1.de) (Client Quit)
12:42:01 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
12:42:37 FreeBirdLjj joins (~freebirdl@101.228.42.108)
12:43:09 × codygman quits (~codygman@47-184-107-46.dlls.tx.frontiernet.net) (Read error: Connection reset by peer)
12:43:37 <dminuoso> Yes.
12:43:40 <dminuoso> code generated
12:43:44 × Jonkimi727406120 quits (~Jonkimi@223.213.166.96) (Ping timeout: 256 seconds)
12:43:47 GyroW_ joins (~GyroW@d54c03e98.access.telenet.be)
12:43:47 × GyroW_ quits (~GyroW@d54c03e98.access.telenet.be) (Changing host)
12:43:47 GyroW_ joins (~GyroW@unaffiliated/gyrow)
12:43:56 codygman joins (~codygman@47-184-107-46.dlls.tx.frontiernet.net)
12:44:02 <dminuoso> If I went the Dynamic route, this would probably be a 500-1000 lines thing
12:44:24 × alx741 quits (~alx741@181.196.68.193) (Ping timeout: 240 seconds)
12:44:41 × GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 260 seconds)
12:45:43 icebreak1r joins (~icebreake@c83-251-253-157.bredband.comhem.se)
12:45:51 jonathanx joins (~jonathan@dyn-8-sc.cdg.chalmers.se)
12:46:05 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds)
12:46:43 × icebreak1r quits (~icebreake@c83-251-253-157.bredband.comhem.se) (Client Quit)
12:47:44 icebreaker joins (~icebreake@c83-251-253-157.bredband.comhem.se)
12:48:20 urodna joins (~urodna@unaffiliated/urodna)
12:50:01 <tomsmeding> I'm waiting for the day when ghc can meaningfully compile modules of a single package in parallel with speedup factor actually reasonably close the number of threads
12:50:16 <tomsmeding> that day I shall be happy
12:50:50 ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net)
12:53:40 fendor_ joins (~fendor@078132040188.public.t-mobile.at)
12:53:47 knupfer joins (~Thunderbi@HSI-KBW-046-005-192-105.hsi8.kabel-badenwuerttemberg.de)
12:54:57 akad_ joins (~akad@109107030050.radomsko.vectranet.pl)
12:55:00 × ubert quits (~Thunderbi@p200300ecdf1e5396e6b318fffe838f33.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
12:55:17 × fendor_ quits (~fendor@078132040188.public.t-mobile.at) (Client Quit)
12:55:36 rlaager1 joins (~rlaager@84.39.116.180)
12:56:01 × ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 264 seconds)
12:56:28 sam___ joins (~sam@210.152.205.77.rev.sfr.net)
12:56:40 × icebreaker quits (~icebreake@c83-251-253-157.bredband.comhem.se) (Changing host)
12:56:40 icebreaker joins (~icebreake@unaffiliated/icebreaker)
12:57:07 × sam___ quits (~sam@210.152.205.77.rev.sfr.net) (Client Quit)
12:57:23 <merijn> tomsmeding: The parallelism there is limited by the dependency graph of your modules
12:57:43 <tomsmeding> I know, I have extensive experience with building makefiles ;)
12:57:57 <tomsmeding> currently ghc doesn't even try though
12:58:11 ubert joins (~Thunderbi@p200300ecdf1e5396e6b318fffe838f33.dip0.t-ipconnect.de)
12:58:19 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
12:58:27 <tomsmeding> the -j option only compiles a single module using multiple threads, I think, and I find that to give marginal to no speedup in practice
12:58:49 knupfer1 joins (~Thunderbi@HSI-KBW-046-005-192-105.hsi8.kabel-badenwuerttemberg.de)
12:59:00 <tomsmeding> running multiple ghc's in parallel with 'make' suffers from lots of ghc overhead I'm told, though I actually haven't tried that recently...
12:59:17 <tomsmeding> (and also doesn't play nice with cabal and friends)
12:59:41 <merijn> Well, there's Shake ;)
13:01:21 hyperisco joins (~hyperisco@d192-186-117-226.static.comm.cgocable.net)
13:01:37 LKoen joins (~LKoen@81.255.219.130)
13:02:53 × knupfer quits (~Thunderbi@HSI-KBW-046-005-192-105.hsi8.kabel-badenwuerttemberg.de) (Ping timeout: 265 seconds)
13:02:53 knupfer1 is now known as knupfer
13:04:44 machinedgod joins (~machinedg@24.105.81.50)
13:05:43 knupfer1 joins (~Thunderbi@HSI-KBW-046-005-192-105.hsi8.kabel-badenwuerttemberg.de)
13:07:57 × knupfer quits (~Thunderbi@HSI-KBW-046-005-192-105.hsi8.kabel-badenwuerttemberg.de) (Ping timeout: 268 seconds)
13:07:57 knupfer1 is now known as knupfer
13:09:25 × Rudd0 quits (~Rudd0@185.189.115.108) (Ping timeout: 260 seconds)
13:12:35 knupfer1 joins (~Thunderbi@HSI-KBW-046-005-192-105.hsi8.kabel-badenwuerttemberg.de)
13:12:57 <tomsmeding> that replaces the 'make' in my messages above, doesn't it?
13:13:45 × codygman quits (~codygman@47-184-107-46.dlls.tx.frontiernet.net) (Ping timeout: 240 seconds)
13:13:57 sam___ joins (~sam@210.152.205.77.rev.sfr.net)
13:14:58 × knupfer quits (~Thunderbi@HSI-KBW-046-005-192-105.hsi8.kabel-badenwuerttemberg.de) (Ping timeout: 265 seconds)
13:14:58 knupfer1 is now known as knupfer
13:15:00 codygman joins (~codygman@2600:380:f938:a10f:573f:2468:f5ab:7302)
13:15:21 × danvet quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 268 seconds)
13:17:10 × sam___ quits (~sam@210.152.205.77.rev.sfr.net) (Quit: Lost terminal)
13:17:12 leonardys joins (~leonard@118.136.34.164)
13:18:31 Amras joins (~Amras@unaffiliated/amras0000)
13:18:57 × _noblegas quits (uid91066@gateway/web/irccloud.com/x-sqjfvivbwmtlawjw) (Quit: Connection closed for inactivity)
13:19:03 × alp_ quits (~alp@2a01:e0a:58b:4920:9845:4ef6:8c4:f55e) (Ping timeout: 268 seconds)
13:19:26 knupfer1 joins (~Thunderbi@HSI-KBW-046-005-192-105.hsi8.kabel-badenwuerttemberg.de)
13:19:38 sam___ joins (~sam@210.152.205.77.rev.sfr.net)
13:20:23 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:20:54 × geekosaur quits (ac3a3b6a@172.58.59.106) (Ping timeout: 245 seconds)
13:21:02 Deide joins (~Deide@217.155.19.23)
13:21:22 × knupfer quits (~Thunderbi@HSI-KBW-046-005-192-105.hsi8.kabel-badenwuerttemberg.de) (Ping timeout: 246 seconds)
13:21:22 knupfer1 is now known as knupfer
13:21:57 mimi_vx joins (~mimi@tulipan.habr.nat.praha12.net)
13:22:45 × ubert quits (~Thunderbi@p200300ecdf1e5396e6b318fffe838f33.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
13:23:18 geekosaur joins (ac3a3bca@172.58.59.202)
13:23:41 × dyamon quits (~dyamon@cpc69058-oxfd26-2-0-cust662.4-3.cable.virginm.net) (Quit: WeeChat 2.9)
13:26:38 dyamon joins (~dyamon@cpc69058-oxfd26-2-0-cust662.4-3.cable.virginm.net)
13:27:11 bahamas joins (~lucian@unaffiliated/bahamas)
13:27:38 alx741 joins (~alx741@181.196.68.193)
13:28:48 × knupfer quits (~Thunderbi@HSI-KBW-046-005-192-105.hsi8.kabel-badenwuerttemberg.de) (Ping timeout: 260 seconds)
13:29:58 × sam___ quits (~sam@210.152.205.77.rev.sfr.net) (Ping timeout: 260 seconds)
13:30:09 × elliott__ quits (~elliott@pool-108-51-141-12.washdc.fios.verizon.net) (Ping timeout: 268 seconds)
13:30:49 <bahamas> can you handle multiple patterns differently in a lambda?
13:31:08 danvet joins (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa)
13:31:18 <geekosaur> not without an explicit case
13:31:33 <geekosaur> (or lambdacase, I guess)
13:34:33 alp_ joins (~alp@88.126.45.36)
13:35:15 pta2002 joins (~quassel@104.248.23.110)
13:35:21 <bahamas> I see
13:39:14 × geekosaur quits (ac3a3bca@172.58.59.202) (Remote host closed the connection)
13:41:13 × xiinotulp quits (~q@ppp-27-55-90-211.revip3.asianet.co.th) (Ping timeout: 258 seconds)
13:41:47 xiinotulp joins (~q@ppp-223-24-190-153.revip6.asianet.co.th)
13:42:47 polyrain joins (~polyrain@2001:8003:e501:6901:f421:89c3:21b0:77a6)
13:42:49 × polyrain quits (~polyrain@2001:8003:e501:6901:f421:89c3:21b0:77a6) (Client Quit)
13:43:14 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
13:43:47 polyrain joins (~polyrain@2001:8003:e501:6901:f421:89c3:21b0:77a6)
13:43:51 × icebreaker quits (~icebreake@unaffiliated/icebreaker) (Quit: leaving)
13:44:01 icebreaker joins (~icebreake@c83-251-253-157.bredband.comhem.se)
13:44:01 × icebreaker quits (~icebreake@c83-251-253-157.bredband.comhem.se) (Changing host)
13:44:01 icebreaker joins (~icebreake@unaffiliated/icebreaker)
13:45:38 × Tario quits (~Tario@200.119.186.141) (Ping timeout: 264 seconds)
13:46:03 refried_ joins (~textual@pool-108-20-26-90.bstnma.fios.verizon.net)
13:46:27 × grimgnr quits (~user@94.19.246.43) (Remote host closed the connection)
13:46:52 sam___ joins (~sam@169.15.23.93.rev.sfr.net)
13:47:18 × codygman quits (~codygman@2600:380:f938:a10f:573f:2468:f5ab:7302) (Read error: Connection reset by peer)
13:47:44 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 258 seconds)
13:47:46 codygman joins (~codygman@47-184-107-46.dlls.tx.frontiernet.net)
13:48:19 × drbean quits (~drbean@TC210-63-209-168.static.apol.com.tw) (Ping timeout: 246 seconds)
13:48:56 Tario joins (~Tario@200.119.186.141)
13:51:08 × mmohammadi9812 quits (~mmohammad@2.178.123.90) (Quit: Quit)
13:54:07 Sgeo joins (~Sgeo@ool-18b982ad.dyn.optonline.net)
13:55:04 × leonardys quits (~leonard@118.136.34.164) (Quit: WeeChat 2.9)
13:55:53 acarrico joins (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net)
14:01:46 kupi joins (uid212005@gateway/web/irccloud.com/x-wakstghvtqhtbzpe)
14:04:07 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
14:04:43 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
14:07:37 × bahamas quits (~lucian@unaffiliated/bahamas) (Quit: leaving)
14:08:25 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds)
14:09:04 × DirefulSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Remote host closed the connection)
14:09:29 DirefulSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt)
14:09:42 <maerwald> I'm also not too pleased with our syntactic options there
14:10:21 <maerwald> but if you use multiwayif...
14:12:02 thblt joins (~thblt@unaffiliated/thblt)
14:15:35 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
14:16:26 cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net)
14:17:10 mmohammadi9812 joins (~mmohammad@5.74.129.53)
14:19:10 hackage mmsyn2 0.3.1.0 - The library that can be used for multiple (Ord a) => a -> b transformations https://hackage.haskell.org/package/mmsyn2-0.3.1.0 (OleksandrZhabenko)
14:19:58 texasmynsted joins (~texasmyns@185.229.59.52)
14:21:55 × Licious quits (~Licious@4e69b241.skybroadband.com) (Ping timeout: 246 seconds)
14:22:41 raichoo joins (~raichoo@dslb-188-101-191-075.188.101.pools.vodafone-ip.de)
14:23:37 × Tario quits (~Tario@200.119.186.141) (Ping timeout: 260 seconds)
14:24:16 Licious joins (~Licious@4e69b241.skybroadband.com)
14:26:34 bennofs1 joins (~benno@dslb-188-106-225-242.188.106.pools.vodafone-ip.de)
14:27:37 brandonhamilton joins (~brandonha@2001:19f0:6c01:1579:5400:2ff:fee8:d636)
14:27:40 Tario joins (~Tario@200.119.184.85)
14:28:57 × polyrain quits (~polyrain@2001:8003:e501:6901:f421:89c3:21b0:77a6) (Quit: Textual IRC Client: www.textualapp.com)
14:29:04 geowiesnot joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr)
14:29:30 pera joins (~pera@unaffiliated/pera)
14:30:16 <texasmynsted> I was reading about haskell deployments and the article talked about upx to compress the executable. It looks like a win. Does anybody here use it for their haskell deployments?
14:30:19 <texasmynsted> https://upx.github.io
14:32:14 × bennofs1 quits (~benno@dslb-188-106-225-242.188.106.pools.vodafone-ip.de) (Quit: WeeChat 2.9)
14:33:33 <merijn> texasmynsted: I think upx is a terrible and dumb idea
14:33:33 × sam___ quits (~sam@169.15.23.93.rev.sfr.net) (Ping timeout: 260 seconds)
14:33:40 <texasmynsted> lol why?
14:33:43 <merijn> texasmynsted: What, exactly, do you expect to win by it?
14:34:09 <maerwald> upx sometime breaks binaries, depending on the algorithm
14:34:17 <texasmynsted> faster deployments because the executable is smaller. Take up less space on the server.
14:34:23 <texasmynsted> Hmm.
14:34:27 <merijn> texasmynsted: Is that really a problem, though?
14:34:40 <maerwald> I wouldn't trust anything that comes out of it. Is there any proof that it's the same binary?
14:34:43 × Tario quits (~Tario@200.119.184.85) (Ping timeout: 265 seconds)
14:34:46 <merijn> texasmynsted: How big are your binaries that this is a significant bottleneck?
14:34:47 <texasmynsted> not one worth breaking binaries over
14:34:54 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
14:35:07 <merijn> texasmynsted: If you want smaller binaries trying using --enable-split-sections and stripping the binary first
14:35:39 texasmynsted reads about --enable-split-sections
14:35:42 <merijn> Especially split sections, which can have an order of magnitude shrink if you have tons of dependencies
14:35:54 <merijn> (it does mean you'll have to rebuild everything first :))
14:36:02 <texasmynsted> If I had to choose, I would rather have a faster binary than a smaller one
14:37:01 <merijn> texasmynsted: Basically, split sections lets you only like relevant portions of your dependencies. So if you only use 1 or 2 functions from, say, lens and lens was compiled with split-sections you pull only a fraction of lens' compiled code into your executable
14:37:25 <merijn> In terms of "impact per effort" it's probably the lowest fruit for Haskell binaries (together with stripping)
14:37:54 <texasmynsted> wow, why is this not the default?
14:38:24 <merijn> texasmynsted: Because older linkers don't support it and only made it into GHC fairly recently (a few years ago I recent to me!)
14:38:33 <texasmynsted> ah okay
14:38:36 <texasmynsted> Thank you.
14:38:46 <merijn> Safer to make it "opt in" then risk breaking toolchains
14:39:14 <texasmynsted> I need to find a ghc news site or something so I can learn these tricks
14:39:19 <merijn> texasmynsted: I would say if binaries are smaller than, say 20 MB it's not worth any effort to go smaller (and even for biggers ones it might not be worth it)
14:39:32 × mmohammadi9812 quits (~mmohammad@5.74.129.53) (Ping timeout: 272 seconds)
14:39:41 <maerwald> well, GHC is already hard to get working on systems that don't have ld.gold
14:39:44 <merijn> texasmynsted: I recommend skimming the very good and often overlooked GHC user guide every so often and reading the release notes for new GHCs
14:39:52 <merijn> @where userguide
14:39:53 <lambdabot> https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/
14:39:56 <maerwald> so not sure backwards compat is hat important
14:40:54 <merijn> texasmynsted: haskell-cafe, haskell-libraries and ghc-devs mailing lists are also a good way to keep an eye on things, they're not that high traffic
14:41:16 <merijn> And lurking in #ghc of course :p
14:41:39 × st8less quits (~st8less@inet-167-224-197-181.isp.ozarksgo.net) (Quit: WeeChat 2.7.1)
14:41:55 ullbeking parts (sid5364@gateway/web/irccloud.com/x-bnsgobzuoimopxhi) ()
14:43:49 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
14:44:55 GyroW_ is now known as GyroW
14:45:00 <texasmynsted> :-)
14:45:02 <texasmynsted> Thank you
14:45:10 hackage snap-server 1.1.2.0 - A web server for the Snap Framework https://hackage.haskell.org/package/snap-server-1.1.2.0 (GregoryCollins)
14:45:15 sam___ joins (~sam@141.104.204.77.rev.sfr.net)
14:45:25 st8less joins (~st8less@2603:a060:11fd:0:609b:358e:1371:386d)
14:45:30 <merijn> But yeah, release notes for new features and the user guide are the most instructive usually
14:45:53 <merijn> texasmynsted: Like, there's an entire section on runtime tweaking and speeding up stuff that I think 80% of people aren't aware off
14:46:01 <merijn> (and getting smaller binaries!)
14:46:09 <texasmynsted> I am reading that now actually
14:46:25 <texasmynsted> (I did not look for, or know it existed before)
14:46:40 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
14:48:05 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds)
14:49:14 × alp_ quits (~alp@88.126.45.36) (Ping timeout: 264 seconds)
14:50:02 GyroW parts (~GyroW@unaffiliated/gyrow) ("Someone stepped on the pi")
14:50:48 × texasmynsted quits (~texasmyns@185.229.59.52) (Read error: Connection reset by peer)
14:51:25 texasmynsted joins (~texasmyns@2600:6c40:700:193f:90f9:db91:64ea:192d)
14:51:41 ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net)
14:51:57 × texasmynsted quits (~texasmyns@2600:6c40:700:193f:90f9:db91:64ea:192d) (Remote host closed the connection)
14:52:24 mmohammadi9812 joins (~mmohammad@2.178.123.90)
14:52:29 Jonkimi727406120 joins (~Jonkimi@223.213.166.96)
14:52:59 texasmynsted joins (~texasmyns@185.229.59.3)
14:56:38 × ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 272 seconds)
14:57:13 alp_ joins (~alp@2a01:e0a:58b:4920:2d4f:a367:8a30:586b)
14:57:55 <tomsmeding> (reading section 9 in the ghc user's guide...)
14:57:58 <tomsmeding> "One time when Float might be a good idea is if you have a lot of them, say a giant array of Floats. They take up half the space in the heap compared to Doubles. However, this isn’t true on a 64-bit machine."
14:58:38 <tomsmeding> this reminds me of the discussion here yesterday(?) aobut Word types in ghc all being 8 bytes long due to their definition being e.g. 'data Word8 = Word8 #Word'
14:58:44 <tomsmeding> s/#Word/Word#/
14:59:04 <tomsmeding> is this the same kind of thing with Float/Double? That sounds stupid
14:59:15 stef204 joins (~stef204@unaffiliated/stef-204/x-384198)
14:59:20 <dolio> Even on 32-bit, they're more than half if boxed.
14:59:35 × p-core quits (~Thunderbi@2001:718:1e03:5128:2ab7:7f35:48a1:8515) (Remote host closed the connection)
15:00:02 × rlaager1 quits (~rlaager@84.39.116.180) ()
15:00:55 <tomsmeding> okay true, boxing reduces space saving, but then with boxing all space bets are off anyway
15:01:25 <__monty__> Hmm, angerman just said something about Word sizing in #ghc, so *maybe* there's work towards changing that?
15:01:55 <dolio> Apparently there is a Word8#, but Word8 doesn't use it.
15:02:16 <angerman> Yes. Word8 = W8# Word8#, Int8 = I8# Int8# is coming.
15:02:30 <tomsmeding> ah! neat stuff
15:02:50 <dolio> I'm not sure how big Word8# actually is, though. There's also Float# that Float actually uses, so it might actually be smaller than Double, unless alignment makes that not happen.
15:03:25 <tomsmeding> Float# adjacent to Float# should theoretically not induce any padding for alignment
15:03:38 <angerman> it's just really annoying to get it in. It's necessary for apple silicon support, as arm64 (that's aarch64 in fruity speak) has a rather funky procedure calling convention for C, where it packs function arguments by their size on the stack.
15:03:42 <tomsmeding> (at least, extrapolating from C :p)
15:03:49 <dolio> I think that'd be the idea.
15:03:59 <angerman> So if you FFI into something it needs to be 4byte int32 on the stack, not just 8bytes for every arg.
15:04:28 <tomsmeding> ah of course this is one of the many things pushed by the ARM work you are doing angerman :)
15:08:28 × xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 246 seconds)
15:09:55 philip_ joins (~philip@92.40.170.16.threembb.co.uk)
15:12:09 × philip_ quits (~philip@92.40.170.16.threembb.co.uk) (Client Quit)
15:14:33 × brandonhamilton quits (~brandonha@2001:19f0:6c01:1579:5400:2ff:fee8:d636) (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:16:14 × dhil quits (~dhil@195.213.192.122) (Ping timeout: 256 seconds)
15:18:52 × amf quits (~amf@adamflott.com) (Quit: WeeChat 2.7.1)
15:18:57 <tomsmeding> in a simple test, an unboxed array from Data.Array.UArray with Floats indeed takes ~4*num_elements bytes of memory, whereas the same with Doubles takes ~8*num_bytes of memory
15:18:58 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 246 seconds)
15:19:11 × geowiesnot quits (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr) (Ping timeout: 265 seconds)
15:19:52 aarvar joins (~foewfoiew@50.35.43.33)
15:20:26 ubert joins (~Thunderbi@p200300ecdf1e5396e6b318fffe838f33.dip0.t-ipconnect.de)
15:20:59 <tomjaguarpaw> I'm trying to build stm from source https://github.com/haskell/stm. The testsuite has a bound base < 4.14 so I can't configure it. What's going on?
15:22:34 <merijn> tomjaguarpaw: the main package only had its dependency bumped a month ago, so maybe they forgot to bump the testsuite?
15:22:45 <tomjaguarpaw> Ah, I'll try just doing that.
15:22:46 ddellacosta joins (~dd@86.106.121.168)
15:22:53 <merijn> CI isn't testing 8.10 yet either
15:22:56 <tomjaguarpaw> How would I build /without/ the test suit, in any case?
15:23:00 × mokulus quits (~mat@176.111.230.96) (Ping timeout: 268 seconds)
15:23:04 <tomjaguarpaw> I tried --disable-tests
15:25:19 <dolio> The cabal file doesn't actually have a test suite.
15:25:41 <tomjaguarpaw> I think it's pulled in by cabal.project
15:25:43 <merijn> dolio: There's a testsuite + cabal file in the testsuite directory and cabal.project pulls it in
15:25:44 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
15:26:35 <dolio> Right, so you should build only the stm package, probably.
15:26:42 × toorevitimirp quits (~tooreviti@117.182.180.36) (Ping timeout: 268 seconds)
15:27:28 vicfred joins (~vicfred@unaffiliated/vicfred)
15:27:41 toorevitimirp joins (~tooreviti@117.182.180.36)
15:28:10 dhil joins (~dhil@195.213.192.107)
15:28:31 <tomjaguarpaw> How would I do that? cabal v2-build stm doesn't seem to work.
15:28:37 <tomjaguarpaw> Nor does cabal v2-build .
15:28:42 <tomjaguarpaw> I'm not sure what the incantation is
15:29:02 <merijn> Just comment out the two lines in cabal.project? :p
15:30:30 × LKoen quits (~LKoen@81.255.219.130) (Remote host closed the connection)
15:30:48 cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
15:32:44 <dolio> Possibly `.:stm` would work. I'm not super familiar with the syntax for specifying things.
15:33:09 × jonathanx quits (~jonathan@dyn-8-sc.cdg.chalmers.se) (Remote host closed the connection)
15:33:29 × justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 268 seconds)
15:33:44 softwarm joins (4408f588@ip68-8-245-136.sd.sd.cox.net)
15:34:33 <angerman> tomsmeding: I think it's also going to possibly provide some foundation for SIMD optimisations; let's see.
15:37:26 dyeplexer joins (~lol@unaffiliated/terpin)
15:39:16 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 2.9)
15:40:35 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
15:40:40 × akad_ quits (~akad@109107030050.radomsko.vectranet.pl) (Ping timeout: 246 seconds)
15:41:37 <tomsmeding> that would be very nice, more optimisations is always a good thing
15:41:58 × Franciman quits (~francesco@host-79-36-167-172.retail.telecomitalia.it) (Quit: Leaving)
15:44:09 hackage polysemy-fskvstore 0.1.0.0 - Run a KVStore as a filesystem in polysemy. https://hackage.haskell.org/package/polysemy-fskvstore-0.1.0.0 (locallycompact)
15:47:21 <mananamenos> hi, `f a b $ f c d $ f w z` is there a way rewrite this this call in some way so that `f` appears once only/
15:47:37 xerox_ joins (~xerox@unaffiliated/xerox)
15:48:02 <mananamenos> `f a b $ f c d $ f w z []`, sorry, meant to write this
15:48:12 <__monty__> (\g -> g a b $ g c d $ g w z []) f
15:48:47 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
15:48:56 <dminuoso> mananamenos: Can you share a bit more context perhaps?
15:50:16 <dminuoso> `f a b (f c b (f w z))` looks like a list, so a recursion scheme could fit.
15:51:54 <mananamenos> dminuoso, just playing with concepts..yes you're probably right, it is recursion scheme that would fit best
15:52:05 <merijn> Or just uncurry + map
15:52:15 <merijn> ah, no, not quite
15:52:23 <dminuoso> uncurry + foldr
15:52:30 <dminuoso> or, rather curry + foldr
15:52:32 brandonhamilton joins (~brandonha@2001:19f0:6c01:1579:5400:2ff:fee8:d636)
15:52:35 <dminuoso> uh
15:52:39 <merijn> :t uncurry
15:52:41 <lambdabot> (a -> b -> c) -> (a, b) -> c
15:52:44 <dminuoso> I always mix them up
15:52:49 <merijn> same
15:54:59 xnt14 joins (~xnt14@185.204.1.185)
15:55:51 solonarv joins (~solonarv@astrasbourg-653-1-117-122.w90-33.abo.wanadoo.fr)
15:56:35 hnOsmium0001 joins (uid453710@gateway/web/irccloud.com/x-msjovqkiidznwkye)
15:56:35 mbomba joins (~mbomba@bras-base-toroon2719w-grc-49-142-114-9-241.dsl.bell.ca)
15:59:42 × raichoo quits (~raichoo@dslb-188-101-191-075.188.101.pools.vodafone-ip.de) (Quit: Lost terminal)
16:01:09 thir joins (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de)
16:01:36 <mananamenos> thanks
16:01:51 × hiroaki quits (~hiroaki@2a02:908:4b18:e20::8f6e) (Ping timeout: 268 seconds)
16:03:04 × brandonhamilton quits (~brandonha@2001:19f0:6c01:1579:5400:2ff:fee8:d636) (Quit: Textual IRC Client: www.textualapp.com)
16:06:10 × thir quits (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
16:07:58 Rudd0 joins (~Rudd0@185.189.115.103)
16:08:25 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
16:10:15 nineonine joins (~textual@216-19-190-182.dyn.novuscom.net)
16:11:28 × nineonine quits (~textual@216-19-190-182.dyn.novuscom.net) (Client Quit)
16:11:31 × bartemius quits (~bartemius@109-252-20-20.nat.spd-mgts.ru) (Remote host closed the connection)
16:12:05 giorgoskos joins (~giorgosko@athedsl-4372657.home.otenet.gr)
16:12:40 <giorgoskos> any hacker here?
16:13:39 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
16:13:40 geekosaur joins (82659a09@host154-009.vpn.uakron.edu)
16:13:59 nineonine joins (~textual@216-19-190-182.dyn.novuscom.net)
16:14:13 × toorevitimirp quits (~tooreviti@117.182.180.36) (Remote host closed the connection)
16:14:28 hiroaki joins (~hiroaki@2a02:908:4b18:e20::f733)
16:15:46 × nineonine quits (~textual@216-19-190-182.dyn.novuscom.net) (Client Quit)
16:16:08 <ghoulguy> giorgoskos, yes, how can I help you?
16:16:27 <giorgoskos> i need someone to help me to hack someone facebook
16:17:02 <Uniaika> wtf
16:18:02 <giorgoskos> any help?
16:18:14 <ghoulguy> giorgoskos, ah OK. You're on the wrong network.
16:18:33 × kritzefitz quits (~kritzefit@fw-front.credativ.com) (Remote host closed the connection)
16:18:35 <giorgoskos> were i go?
16:18:44 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds)
16:18:48 <ghoulguy> giorgoskos, try Google
16:19:02 <giorgoskos> and?
16:19:06 <ghoulguy> and search
16:19:23 <giorgoskos> i found this site for hacks
16:19:27 <giorgoskos> on google
16:19:31 ChanServ sets mode +q *!*@79.130.40.161
16:19:32 <monsterchrom> "We are not a directory service either."
16:20:20 × giorgoskos quits (~giorgosko@athedsl-4372657.home.otenet.gr) (Remote host closed the connection)
16:20:41 × xiinotulp quits (~q@ppp-223-24-190-153.revip6.asianet.co.th) (Ping timeout: 258 seconds)
16:21:06 <monsterchrom> I inflicted shift/reset on my students today. They are now thoroughly turned inside-out.
16:21:07 xiinotulp joins (~q@ppp-49-237-16-83.revip6.asianet.co.th)
16:21:33 <monsterchrom> I also caught a chance to say "now we shift gear to..."
16:22:10 × sam___ quits (~sam@141.104.204.77.rev.sfr.net) (Read error: Connection reset by peer)
16:24:35 <koz_> Not gonna lie - I didn't get shift/reset until I saw their Cont-based type sigs.
16:24:47 <koz_> Then I was like 'oh, so _that's_ what they do, huh'.
16:25:04 <dolio> Which ones?
16:25:39 thblt parts (~thblt@unaffiliated/thblt) ("ERC (IRC client for Emacs 27.1)")
16:25:52 <texasmynsted> sigh Haskell cafe keeps telling my my email address is invalid. Oh well.
16:26:53 seveg joins (~gabriel@2a02-ab04-0249-8d00-7d49-c4e2-4790-91c2.dynamic.v6.chello.sk)
16:26:54 <Uniaika> texasmynsted: oh?
16:27:02 texasmynsted shrug
16:27:04 <texasmynsted> yes
16:27:18 <monsterchrom> Today I showed Racket's shift/reset. But I think I will have a chance to show Haskell's Cont and runCont next month.
16:27:22 wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net)
16:27:24 × wroathe quits (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Client Quit)
16:27:26 <texasmynsted> May try another day.
16:27:31 sam___ joins (~sam@141.104.204.77.rev.sfr.net)
16:27:38 wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net)
16:29:15 livvy joins (~livvy@gateway/tor-sasl/livvy)
16:29:36 × bliminse quits (~bliminse@host109-158-129-241.range109-158.btcentralplus.com) (Ping timeout: 268 seconds)
16:30:18 bliminse joins (~bliminse@host109-158-129-241.range109-158.btcentralplus.com)
16:30:35 <koz_> dolio: https://hackage.haskell.org/package/transformers-0.5.6.2/docs/Control-Monad-Trans-Cont.html#v:reset and https://hackage.haskell.org/package/transformers-0.5.6.2/docs/Control-Monad-Trans-Cont.html#v:shift
16:32:08 <dolio> koz_: Oh, those aren't the good ones. :Þ
16:32:43 <dolio> The good ones are `reset :: Cont r r -> r` and `shift :: ((a -> r) -> r) -> Cont r a`
16:32:43 <monsterchrom> "shift = ContT" is the good one :)
16:32:55 <monsterchrom> err, shift = Cont
16:32:58 <dolio> Yeah.
16:33:29 <monsterchrom> http://www.vex.net/~trebla/haskell/cont.xhtml#shift-reset
16:33:40 <monsterchrom> but it may be better to start from the beginning.
16:33:44 <dolio> They show you how the effect scoping works in the types.
16:34:25 <monsterchrom> http://blog.sigfpe.com/2011/10/quick-and-dirty-reinversion-of-control.html for more confusion :)
16:35:57 nineonine joins (~textual@216-19-190-182.dyn.novuscom.net)
16:36:41 <dolio> ContT is fine, too. It's incorporating other effects.
16:37:41 Tario joins (~Tario@200.119.185.200)
16:37:49 dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
16:39:20 × obihann quits (~jhann@156.34.160.69) (Remote host closed the connection)
16:39:49 <dolio> I haven't really thought about it, but you might be able to make sense of multi-prompt continuations that way, with multiple ContTs.
16:40:09 obihann joins (~jhann@156.34.160.69)
16:40:43 kritzefitz joins (~kritzefit@212.86.56.80)
16:40:44 <monsterchrom> I think sigfpe or you or someone else wrote a blog on that.
16:40:45 Chi1thangoo joins (~Chi1thang@87.112.60.168)
16:41:02 <monsterchrom> but the limitation is it is statically scoped prompts, not dynamic prompts.
16:41:22 <monsterchrom> Then again dynamic prompts can be error-prone like all dynamic things.
16:41:33 nihilazo parts (nihilazoma@gateway/shell/matrix.org/x-ccdjrllyhlmzbsrl) ("User left")
16:42:07 <texasmynsted> monsterchrom: I would like to see your presentation on Haskell's Cont. Will it be available online?
16:43:06 × sam___ quits (~sam@141.104.204.77.rev.sfr.net) (Read error: No route to host)
16:44:50 Franciman joins (~francesco@host-79-36-167-172.retail.telecomitalia.it)
16:46:54 × nineonine quits (~textual@216-19-190-182.dyn.novuscom.net) (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:47:03 christo joins (~chris@81.96.113.213)
16:47:33 nineonine joins (~textual@216-19-190-182.dyn.novuscom.net)
16:48:25 sam___ joins (~sam@141.104.204.77.rev.sfr.net)
16:48:57 <dexterfoo> hSeek gives error "invalid argument" when trying to seek more than approx 16 TB. (15TB or less works). is this a known bug?
16:49:18 <texasmynsted> Okay, I do not know why this is bothering me but . . . I have a String. It may contain a '/' as its last character. I am testing for this by reversing the string and pattern matching '/': _ ->
16:49:52 × nineonine quits (~textual@216-19-190-182.dyn.novuscom.net) (Client Quit)
16:50:12 <texasmynsted> This seems bad because while the strings will never be infinite, reverse feels like an unnecessary expense. Is there a better way?
16:51:02 × chaosmasttter quits (~chaosmast@p200300c4a70a4101f96c699b406ffa93.dip0.t-ipconnect.de) (Ping timeout: 264 seconds)
16:51:05 <kuribas> texasmynsted: nope
16:51:10 <geekosaur> last str == '/' ?
16:51:11 <kuribas> or don't use String, use Text
16:51:31 <monsterchrom> texasmynsted: http://www.vex.net/~trebla/haskell/cont.xhtml
16:51:34 <koala_man> is it a directory? if so, don't bother and just concatenate to form foo//bar
16:51:35 <kuribas> there is no way to avoid traversing the String
16:52:04 <monsterchrom> "Extra credit for getting it to run on an Apple II or a Commodore 64" >:)
16:52:26 <texasmynsted> koala_man: It is a URL, but I only need to add index.html if the last character is /
16:52:28 ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net)
16:53:45 <koala_man> if it's a URL you should probably use a proper URL parser. Consider e.g. https://example.com/?id=42#bar
16:54:12 <texasmynsted> `last` requires that the string be non-empty. Pattern matching would avoid that restriction.
16:55:24 <texasmynsted> I will look for a URL parser.
16:56:01 cosimone joins (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd)
16:56:21 sfvm joins (~sfvm@37.228.215.148)
16:56:23 <dexterfoo> never mind, it seems that hSeek detects the filesystem of the handle and gives "invalid argument" error when trying to seek past the maximum supported file size
16:56:32 × idhugo quits (~idhugo@users-1190.st.net.au.dk) (Ping timeout: 256 seconds)
16:56:48 × cosimone quits (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd) (Remote host closed the connection)
16:57:02 <texasmynsted> The final output has to be String, so using Text to preform the test seems like I may pay more
16:57:04 × ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 240 seconds)
16:57:16 cosimone joins (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd)
16:59:12 × p8m quits (p8m@gateway/vpn/protonvpn/p8m) (Ping timeout: 268 seconds)
16:59:46 <monsterchrom> Use both null and last if the string may be empty. Or write your own recursion.
16:59:52 geowiesnot joins (~user@87-89-181-157.abo.bbox.fr)
17:00:12 × jakob_ quits (~textual@p200300f49f16220014c54729be697eb4.dip0.t-ipconnect.de) (Quit: My Laptop has gone to sleep. ZZZzzz…)
17:00:41 jakob_ joins (~textual@p200300f49f16220014c54729be697eb4.dip0.t-ipconnect.de)
17:01:00 × jakob_ quits (~textual@p200300f49f16220014c54729be697eb4.dip0.t-ipconnect.de) (Client Quit)
17:01:05 × Jonkimi727406120 quits (~Jonkimi@223.213.166.96) (Ping timeout: 240 seconds)
17:01:28 jakob_ joins (~textual@p200300f49f16220014c54729be697eb4.dip0.t-ipconnect.de)
17:01:47 × jakob_ quits (~textual@p200300f49f16220014c54729be697eb4.dip0.t-ipconnect.de) (Client Quit)
17:02:11 jakob_ joins (~textual@p200300f49f16220014c54729be697eb4.dip0.t-ipconnect.de)
17:02:13 <tomjaguarpaw> [__1] skipping: base-4.14.0.0 (has the same characteristics that caused the
17:02:14 <tomjaguarpaw> previous version to fail: excluded by constraint '^>=4.13.0' from
17:02:14 <tomjaguarpaw> 'haddock-api')
17:02:34 <tomjaguarpaw> ^^ does that make sense to anyone? ^>=4.13.0 surely matches 4.14.0 doesn't it?
17:02:34 × jakob_ quits (~textual@p200300f49f16220014c54729be697eb4.dip0.t-ipconnect.de) (Client Quit)
17:02:58 jakob_ joins (~textual@p200300f49f16220014c54729be697eb4.dip0.t-ipconnect.de)
17:03:22 × jakob_ quits (~textual@p200300f49f16220014c54729be697eb4.dip0.t-ipconnect.de) (Client Quit)
17:03:30 × ubert quits (~Thunderbi@p200300ecdf1e5396e6b318fffe838f33.dip0.t-ipconnect.de) (Remote host closed the connection)
17:03:52 × sam___ quits (~sam@141.104.204.77.rev.sfr.net) (Read error: No route to host)
17:03:54 ubert joins (~Thunderbi@p200300ecdf1e5396e6b318fffe838f33.dip0.t-ipconnect.de)
17:04:53 <texasmynsted> thank you monsterchrom
17:04:59 <geekosaur> I thought the leading ^ meant it didn't (makes it follow PVP, so 4.14 is out of scope for 4.13)
17:05:06 conal joins (~conal@64.71.133.70)
17:05:24 rusua joins (uid124537@gateway/web/irccloud.com/x-tukvvfoeealcalpr)
17:05:54 <texasmynsted> if the string is empty it does not require manipulation, so the _anythingElse part of the pattern match is fine
17:06:04 mokulus joins (~mat@176.111.230.96)
17:06:44 × bliminse quits (~bliminse@host109-158-129-241.range109-158.btcentralplus.com) (Ping timeout: 256 seconds)
17:07:29 bliminse joins (~bliminse@host109-158-129-241.range109-158.btcentralplus.com)
17:07:39 × vicfred quits (~vicfred@unaffiliated/vicfred) (Quit: Leaving)
17:09:37 <tomjaguarpaw> geekosaur: Oh, is that what it means
17:09:39 <tomjaguarpaw> Thanks
17:09:50 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
17:12:09 × gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (Remote host closed the connection)
17:14:03 idhugo joins (~idhugo@80-62-116-101-mobile.dk.customer.tdc.net)
17:14:23 sam___ joins (~sam@78.148.22.93.rev.sfr.net)
17:14:25 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
17:14:36 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Client Quit)
17:15:37 vicfred joins (~vicfred@unaffiliated/vicfred)
17:16:03 thir joins (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de)
17:16:58 bartemius joins (~bartemius@109.252.20.20)
17:17:10 hackage phonetic-languages-plus 0.1.0.0 - Some common shared between different packages functions. https://hackage.haskell.org/package/phonetic-languages-plus-0.1.0.0 (OleksandrZhabenko)
17:17:20 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
17:17:42 Kingpatzer joins (~user@c-73-5-166-112.hsd1.mn.comcast.net)
17:20:10 × ubert quits (~Thunderbi@p200300ecdf1e5396e6b318fffe838f33.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
17:21:28 × bliminse quits (~bliminse@host109-158-129-241.range109-158.btcentralplus.com) (Ping timeout: 246 seconds)
17:22:19 gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh)
17:22:20 bliminse joins (~bliminse@host109-158-129-241.range109-158.btcentralplus.com)
17:23:08 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:24:45 <Kingpatzer> hey folks, quick (i hope) and likely dumb question: I just
17:24:45 <Kingpatzer> started worknig through cis194 and I would like to print
17:24:45 <Kingpatzer> out the results from the "testWhatWentWrong" function as
17:24:45 <Kingpatzer> one string per line. Some google fu got me to "mapM_
17:24:45 <Kingpatzer> putStrLn [String]" but that fails with an error because
17:24:45 <Kingpatzer> testWhatWentWrong returns IO [String] and not plain
17:24:45 <Kingpatzer> [String]. Anyway I can accomplish just printnig each
17:24:46 <Kingpatzer> string on it's own line?
17:24:56 <Kingpatzer> oops, sorry about that, pasting didn't work as intended
17:24:58 <ghoulguy> Kingpatzer: please do not paste into your IRC client
17:25:05 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
17:25:30 coot joins (~coot@37.30.51.206.nat.umts.dynamic.t-mobile.pl)
17:25:53 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Client Quit)
17:26:36 <tomsmeding> Kingpatzer: 'testWhatWentWrong >>= mapM_ putStrLn' perhaps? or using do-notation, 'do result <- testWhatWentWrong ; mapM_ putStrLn result'
17:27:04 mastarija joins (~mastarija@93-136-65-246.adsl.net.t-com.hr)
17:27:53 <Kingpatzer> that worked tomsmeding. thanks!
17:28:14 × sam___ quits (~sam@78.148.22.93.rev.sfr.net) (Ping timeout: 264 seconds)
17:28:50 × alp_ quits (~alp@2a01:e0a:58b:4920:2d4f:a367:8a30:586b) (Ping timeout: 264 seconds)
17:29:21 × idhugo quits (~idhugo@80-62-116-101-mobile.dk.customer.tdc.net) (Ping timeout: 260 seconds)
17:30:57 jbox joins (~atlas@unaffiliated/jbox)
17:32:44 <tomsmeding> Kingpatzer: both mean exactly the same thing; >>= is what do-notation "desugars" (converts) to intermally
17:32:52 nineonine joins (~textual@216-19-190-182.dyn.novuscom.net)
17:32:53 × Jesin quits (~Jesin@pool-72-66-101-18.washdc.fios.verizon.net) (Quit: Leaving)
17:33:14 <tomsmeding> you use >>= to "continue" your program having access to the value within the monad, here IO
17:33:23 alp_ joins (~alp@2a01:e0a:58b:4920:a94e:f7d6:8198:b42c)
17:33:42 christo joins (~chris@81.96.113.213)
17:33:50 <tomsmeding> (hooks in nicely in the discussion of continuations just now...)
17:33:56 × coot quits (~coot@37.30.51.206.nat.umts.dynamic.t-mobile.pl) (Quit: coot)
17:34:57 <monsterchrom> For IO we write in callback style. Do you "extract the answer". Supply a callback that receives the answer.
17:35:14 <monsterchrom> or even s/that receives/to receive/
17:35:26 × Kaivo quits (~Kaivo@104-200-86-99.mc.derytele.com) (Ping timeout: 258 seconds)
17:35:26 × xff0x_ quits (~fox@2001:1a81:52d0:1400:27e4:ce:8da5:24fb) (Ping timeout: 264 seconds)
17:35:35 <monsterchrom> http://www.vex.net/~trebla/haskell/IO.xhtml
17:35:49 × bliminse quits (~bliminse@host109-158-129-241.range109-158.btcentralplus.com) (Quit: leaving)
17:35:55 p8m joins (p8m@gateway/vpn/protonvpn/p8m)
17:35:55 <monsterchrom> OTOH CIS194 would not have you dabble in IO without first teaching you this.
17:35:58 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
17:36:14 christo joins (~chris@81.96.113.213)
17:36:39 × thir quits (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de) (Remote host closed the connection)
17:36:46 thir joins (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de)
17:36:52 <monsterchrom> It's pure effectless functional programming for the first 70% at least.
17:37:17 <tomsmeding> as it should be
17:37:45 Kaivo joins (~Kaivo@ec2-15-222-231-32.ca-central-1.compute.amazonaws.com)
17:38:31 × asheshambasta quits (~user@ptr-e1lysawl9rr13i61o92.18120a2.ip6.access.telenet.be) (Remote host closed the connection)
17:39:17 × hiroaki quits (~hiroaki@2a02:908:4b18:e20::f733) (Ping timeout: 268 seconds)
17:40:05 × codygman quits (~codygman@47-184-107-46.dlls.tx.frontiernet.net) (Ping timeout: 260 seconds)
17:41:09 hackage uniqueness-periods-vector-general 0.5.2.0 - Some kind of the optimization approach to data inner structure. https://hackage.haskell.org/package/uniqueness-periods-vector-general-0.5.2.0 (OleksandrZhabenko)
17:42:26 codygman joins (~codygman@2600:380:f938:a10f:573f:2468:f5ab:7302)
17:42:54 × mastarija quits (~mastarija@93-136-65-246.adsl.net.t-com.hr) (Quit: Leaving)
17:43:54 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
17:44:31 × codygman quits (~codygman@2600:380:f938:a10f:573f:2468:f5ab:7302) (Read error: Connection reset by peer)
17:44:37 christo joins (~chris@81.96.113.213)
17:44:53 codygman joins (~codygman@47-184-107-46.dlls.tx.frontiernet.net)
17:45:03 × taurux quits (~taurux@net-130-25-101-121.cust.vodafonedsl.it) (Quit: ZNC 1.7.5 - https://znc.in)
17:45:37 × softwarm quits (4408f588@ip68-8-245-136.sd.sd.cox.net) (Remote host closed the connection)
17:46:23 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
17:49:56 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
17:50:00 <mantovani> exit
17:50:03 zrl joins (4910eeec@c-73-16-238-236.hsd1.vt.comcast.net)
17:50:45 conal joins (~conal@64.71.133.70)
17:53:43 LKoen joins (~LKoen@lstlambert-657-1-123-43.w92-154.abo.wanadoo.fr)
17:54:39 chaosmasttter joins (~chaosmast@p200300c4a70a4101f96c699b406ffa93.dip0.t-ipconnect.de)
17:57:33 xff0x_ joins (~fox@2001:1a81:52d0:1400:27e4:ce:8da5:24fb)
17:57:34 × mbomba quits (~mbomba@bras-base-toroon2719w-grc-49-142-114-9-241.dsl.bell.ca) (Quit: WeeChat 2.9)
17:59:39 × geekosaur quits (82659a09@host154-009.vpn.uakron.edu) (Ping timeout: 245 seconds)
18:00:00 × cosimone quits (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd) (Remote host closed the connection)
18:00:01 × xnt14 quits (~xnt14@185.204.1.185) ()
18:00:25 cosimone joins (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd)
18:03:10 hackage uniqueness-periods-vector-examples 0.14.0.0 - Usage examples for the uniqueness-periods-vector series of packages https://hackage.haskell.org/package/uniqueness-periods-vector-examples-0.14.0.0 (OleksandrZhabenko)
18:03:18 × DirefulSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Read error: Connection reset by peer)
18:03:41 × cosimone quits (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd) (Remote host closed the connection)
18:03:41 × chkno quits (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net) (Read error: Connection reset by peer)
18:03:46 × fredcy quits (~fredcy@mail.yankowski.com) (Quit: ZNC - http://znc.in)
18:03:51 DirefulSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt)
18:04:03 chkno joins (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net)
18:04:05 fredcy joins (~fredcy@mail.yankowski.com)
18:04:05 cosimone joins (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd)
18:04:12 softwarm joins (4408f588@ip68-8-245-136.sd.sd.cox.net)
18:06:03 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
18:08:24 × softwarm quits (4408f588@ip68-8-245-136.sd.sd.cox.net) (Ping timeout: 245 seconds)
18:08:25 × dyamon quits (~dyamon@cpc69058-oxfd26-2-0-cust662.4-3.cable.virginm.net) (Quit: WeeChat 2.9)
18:10:07 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
18:10:22 kuribas is now known as kuribastard
18:12:24 × dyeplexer quits (~lol@unaffiliated/terpin) (Remote host closed the connection)
18:14:35 × kuribastard quits (~user@ptr-25vy0i7skjncktb6m9t.18120a2.ip6.access.telenet.be) (Quit: ERC (IRC client for Emacs 26.3))
18:15:24 × nineonine quits (~textual@216-19-190-182.dyn.novuscom.net) (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:15:38 × wroathe quits (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Ping timeout: 264 seconds)
18:16:21 × cosimone quits (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd) (Remote host closed the connection)
18:17:51 geekosaur joins (82659a09@host154-009.vpn.uakron.edu)
18:17:52 × chkno quits (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net) (Read error: Connection reset by peer)
18:18:04 chkno joins (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net)
18:19:22 coot joins (~coot@37.30.51.206.nat.umts.dynamic.t-mobile.pl)
18:19:25 taurux joins (~taurux@net-130-25-101-121.cust.vodafonedsl.it)
18:19:40 hackage uniqueness-periods-vector-examples 0.14.1.0 - Usage examples for the uniqueness-periods-vector series of packages https://hackage.haskell.org/package/uniqueness-periods-vector-examples-0.14.1.0 (OleksandrZhabenko)
18:19:48 sam___ joins (~sam@210.166.185.81.rev.sfr.net)
18:21:03 × jbox quits (~atlas@unaffiliated/jbox) (Quit: bye ^-^)
18:23:04 × ericsagnes quits (~ericsagne@2405:6580:0:5100:58d8:d49c:65f5:d6a2) (Ping timeout: 268 seconds)
18:24:13 ubert joins (~Thunderbi@p200300ecdf1e53c1e6b318fffe838f33.dip0.t-ipconnect.de)
18:26:01 Jesin joins (~Jesin@pool-72-66-101-18.washdc.fios.verizon.net)
18:28:27 idhugo joins (~idhugo@80-62-116-101-mobile.dk.customer.tdc.net)
18:31:49 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
18:34:49 ericsagnes joins (~ericsagne@2405:6580:0:5100:6fa3:8602:28fd:306c)
18:36:14 elosant joins (~elosant@gateway/tor-sasl/elosant)
18:37:12 × thir quits (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de) (Remote host closed the connection)
18:37:42 thir joins (~thir@pd9e1bd8a.dip0.t-ipconnect.de)
18:38:05 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
18:38:21 cosimone joins (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd)
18:38:44 × alp_ quits (~alp@2a01:e0a:58b:4920:a94e:f7d6:8198:b42c) (Ping timeout: 240 seconds)
18:39:22 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
18:40:10 × idhugo quits (~idhugo@80-62-116-101-mobile.dk.customer.tdc.net) (Ping timeout: 256 seconds)
18:42:49 × thir quits (~thir@pd9e1bd8a.dip0.t-ipconnect.de) (Ping timeout: 264 seconds)
18:45:35 Sheilong joins (uid293653@gateway/web/irccloud.com/x-glxsmlubttuxknpb)
18:46:05 × cosimone quits (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd) (Quit: cosimone)
18:53:15 alp_ joins (~alp@2a01:e0a:58b:4920:309c:8e3:a5b4:6eae)
18:53:17 × Kaivo quits (~Kaivo@ec2-15-222-231-32.ca-central-1.compute.amazonaws.com) (Ping timeout: 268 seconds)
18:53:20 ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net)
18:55:12 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
18:55:12 Kaivo joins (~Kaivo@104-200-86-99.mc.derytele.com)
18:55:54 achadwick joins (~achadwick@84.39.117.57)
18:58:23 × ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 260 seconds)
19:01:34 × _vaibhavingale_ quits (~Adium@203.188.228.9) (Quit: Leaving.)
19:02:27 × livvy quits (~livvy@gateway/tor-sasl/livvy) (Remote host closed the connection)
19:02:37 livvy joins (~livvy@gateway/tor-sasl/livvy)
19:03:40 berberman joins (~berberman@unaffiliated/berberman)
19:04:14 christo joins (~chris@81.96.113.213)
19:04:23 × berberman_ quits (~berberman@unaffiliated/berberman) (Ping timeout: 268 seconds)
19:06:51 × thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 268 seconds)
19:07:52 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
19:08:58 bliminse joins (~bliminse@host109-156-197-211.range109-156.btcentralplus.com)
19:10:29 <joel135> What are the most important haskell libraries to know?
19:11:25 <maerwald> unix
19:11:43 <yushyin> base?
19:13:03 <geekosaur> mtl?
19:13:40 thir joins (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de)
19:14:59 <monsterchrom> What kind of question is that?
19:15:30 <monsterchrom> If it's for a job interview tomorrow, it's already too late.
19:15:38 × alp_ quits (~alp@2a01:e0a:58b:4920:309c:8e3:a5b4:6eae) (Ping timeout: 264 seconds)
19:15:43 <joel135> I don't know if it was a good question.
19:16:11 <monsterchrom> It is a poor question. Only exam crammers would need to know.
19:16:15 <maerwald> It's something you'd say on a dating app if you matched with a haskeller... so to get their attention
19:16:43 <dsal> joel135: The most important haskell libraries to know are the ones that you use the most when building code to do the thing you care about the most.
19:16:57 <monsterchrom> Yeah, that.
19:17:00 <joel135> I get that tautology.
19:17:26 <maerwald> the standad lib base isn't that great, but you'll have to use it anyway
19:17:39 <monsterchrom> The people I know are the people known to everyone who knows everyone I know.
19:17:40 × elosant quits (~elosant@gateway/tor-sasl/elosant) (Quit: WeeChat 2.9)
19:19:01 bennofs1 joins (~benno@dslb-188-106-225-242.188.106.pools.vodafone-ip.de)
19:19:15 <dsal> I like sqlite-simple. I use it a bunch. And optparse-applicative, though I'm open to trying some new ones.
19:19:30 elosant joins (~elosant@gateway/tor-sasl/elosant)
19:19:48 × obihann quits (~jhann@156.34.160.69) (Ping timeout: 268 seconds)
19:20:09 hackage phonetic-languages-vector 0.1.0.0 - A generalization of the functionality of the uniqueness-periods-vector package. https://hackage.haskell.org/package/phonetic-languages-vector-0.1.0.0 (OleksandrZhabenko)
19:20:39 obihann joins (~jhann@156.34.160.69)
19:21:05 sulu joins (~sulu@unaffiliated/sulu)
19:21:09 hackage polysemy-kvstore-jsonfile 0.1.0.0 - Run a KVStore as a single json file in polysemy. https://hackage.haskell.org/package/polysemy-kvstore-jsonfile-0.1.0.0 (locallycompact)
19:21:39 × Franciman quits (~francesco@host-79-36-167-172.retail.telecomitalia.it) (Quit: Leaving)
19:21:39 <dsal> I'm seeing more polysemy stuff. Still not used it, and the last news I read about it made it seem like a hoax.
19:21:44 × thir quits (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
19:21:58 <maerwald> it's slow
19:22:45 <maerwald> just use IO
19:22:50 × tput quits (~tput@S0106a84e3fe54613.ed.shawcable.net) (Ping timeout: 264 seconds)
19:23:02 <dsal> Yeah, there was initially magic about how it erased all the overhead at compile time and made extremely efficient code and then later... that didn't happen.
19:23:42 <maerwald> even if it did trigger the right optimistions, it's a fragile gamble, hence the eff approach from alexi
19:24:22 <maerwald> but I don't even know if we will see that any time soon either
19:25:05 <monsterchrom> That triggered the GHC proposal to add first-class continuations.
19:25:59 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
19:27:08 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 265 seconds)
19:27:22 × mokulus quits (~mat@176.111.230.96) (Ping timeout: 258 seconds)
19:27:51 × elosant quits (~elosant@gateway/tor-sasl/elosant) (Quit: WeeChat 2.9)
19:28:15 lnlsn joins (~user@2804:14c:2b:891d::1000)
19:28:37 knupfer joins (~Thunderbi@200116b82ca7b100f69634fffef0b45f.dip.versatel-1u1.de)
19:28:37 × knupfer quits (~Thunderbi@200116b82ca7b100f69634fffef0b45f.dip.versatel-1u1.de) (Client Quit)
19:28:50 knupfer joins (~Thunderbi@mue-88-130-61-065.dsl.tropolys.de)
19:29:00 × Athas quits (athas@2a01:7c8:aaac:1cf:a58f:f586:d8cf:e687) (Quit: ZNC - http://znc.sourceforge.net)
19:29:08 <dsal> joel135: Can you expand on the nature of your question a bit?
19:29:35 Athas joins (athas@sigkill.dk)
19:30:01 <dsal> My favorite "this library makes things way easier in Haskell than other languages" are STM, async, lens, megaparsec, etc...
19:30:37 × kupi quits (uid212005@gateway/web/irccloud.com/x-wakstghvtqhtbzpe) (Quit: Connection closed for inactivity)
19:31:00 <dsal> The amazonka stuff is pretty good. And conduit.
19:31:48 <joel135> I have known about haskell for a long time, and have during this time learned a lot about the lambda calculus, but the haskell libraries are still as foreign to me as they were at the beginning.
19:31:52 <maerwald> conduit is an example of an over-engineered API imo
19:33:10 <maerwald> streamly seems much more idiomatic haskell, but it's a bit less polished
19:33:34 <maerwald> and a lot faster
19:34:06 <dsal> I wasn't sure about conduit... It's served me pretty well, but yeah, I've not looked hard for something else.
19:34:09 <merijn> I'd argue that streamly is both much more complex and much more over-engineered than conduit >.>
19:34:18 <sm[m]> joel135: a good start is to get familiar with what's in base
19:34:26 <dsal> I don't have experience with alternatives to conduit.
19:34:39 <merijn> streamly's API is super complex and the use of MonadBase/MonadBaseControl is terrible, because those typeclasses are terrible
19:35:24 <joel135> I am tring out some posix functions right now; maybe it can be good to read through base at some level of detail later unless that's too big of a task.
19:36:05 <dsal> joel135: It takes me some effort to study things for the sake of studying them. I have to put a need between myself and my learning goals most of the time. I've got a lot of pragmatic Haskell code for things I do.
19:36:16 × bitmapper quits (uid464869@gateway/web/irccloud.com/x-fgstvrwzsmauzxyr) (Quit: Connection closed for inactivity)
19:37:29 <dsal> I was kind of annoyed that I couldn't find a pread implementation that worked when I was doing a thing that needed it. Then I found one, and the change required to use it was going to be too large to be worth it.
19:37:29 <joel135> What does that mean? "put a need between myself and my learning goals"
19:37:50 <dsal> I learn stuff by intending to use it to solve a real problem I have.
19:38:00 Franciman joins (~francesco@host-79-36-167-172.retail.telecomitalia.it)
19:38:11 <sm[m]> joel135: to be clear, and echoing dsal: learning all of base is way overkill for starter projects. But you can at least skim the modules and you'll know where to look later
19:38:23 <dsal> Or, at the very least, something like Advent of Code.
19:38:35 <Franciman> Hi, I would like to implement the matrix protocol in haskell
19:38:53 <Franciman> anybody likes the idea?
19:38:57 <dsal> Yeah. There are *tons* of things I've "learned" in the sense of having seen before, but "Why would I ever need this?" Then one day realizing, "Holy crap, I need a way to do that thing!"
19:40:33 <sm[m]> Franciman: great idea, please do. But first problem is a name - hmatrix is taken
19:40:56 <joel135> Yes, maybe that is what I should rather do - find a good motivating project first.
19:41:03 <Franciman> sm[m], I thought about this name: linearfunction
19:41:07 <Franciman> but it's cringe
19:41:12 <monsterchrom> hahaha
19:41:14 <sm[m]> facepalm :)
19:41:26 wroathe_ joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net)
19:41:33 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 258 seconds)
19:42:11 wroathe_ is now known as wroathe
19:42:14 <dsal> Franciman: I've never used Matrix, but I like implementing protocols.
19:42:31 <dsal> Franciman: I've created a lot of projects just because I thought of a stupid name and had to build a project around it.
19:42:45 × notzmv quits (~user@unaffiliated/zmv) (Ping timeout: 240 seconds)
19:42:53 <Franciman> this is cool
19:43:10 hackage polysemy-extra 0.1.0.0 - Run a KVStore as a filesystem in polysemy. https://hackage.haskell.org/package/polysemy-extra-0.1.0.0 (locallycompact)
19:44:39 hackage phonetic-languages-common 0.1.0.0 - A generalization of the uniqueness-periods-vector-common package. https://hackage.haskell.org/package/phonetic-languages-common-0.1.0.0 (OleksandrZhabenko)
19:44:41 <dsal> joel135: I do a lot of stuff on the commandline. Learning something like optparse-applicative is a prerequisite for doing anything kind of complicated.
19:44:45 <Franciman> if we can lower the power of google by the means of matrix and haskell, it would be great
19:45:21 <dsal> Is matrix an anti-google thing?
19:45:42 <Franciman> it's a tool I guess, if we can use it as anti-google
19:45:44 <Franciman> then yes
19:45:48 <Franciman> otherwise no
19:46:22 <sm[m]> it's a decentralising thing
19:46:47 <Franciman> maybe it could be used for classrooms
19:46:52 <dsal> joel135: One example of stuffing a bunch of junk into a small very useful (to me) project is https://github.com/dustin/waitforsocket -- I use it to tell when a machine is done rebooting or when a web server is working, or whether I have connectivity, etc... It has a few different parsers for stuff and some fun use of async.
19:47:03 <Franciman> instead of damn mircosoft, zoom, google et al
19:47:06 <dsal> I don't quite understand matrix vs. xmpp. I used to do a lot of stuff with xmpp
19:47:28 <Franciman> eheh neither do I dsal, they are similar, but have different philosophies I guess
19:47:39 <dsal> Oh, says it right there: "Matrix is really a decentralised conversation store rather than a messaging protocol."
19:48:04 <sm[m]> some more discussion here dsal: https://news.ycombinator.com/item?id=17064616
19:48:09 <dsal> The downside is I already use irc and discord and dumb work chat and Signal.
19:48:36 <dsal> "The core Matrix team maintains bridges to Slack, IRC, XMPP and Gitter, and meanwhile the wider Matrix community provides bridges for Telegram, Discord, WhatsApp, Facebook, Hangouts, Signal and many more." -- maybe that's an upside?
19:49:09 <Franciman> the problem is that I can't even implement irc protocol
19:49:15 <Franciman> and matrix is harder ahah
19:49:24 <sm[m]> yes, matrix is really good at bridging to other networks. I've used it as my IRC client for a good while now
19:49:26 <dsal> Can't, or haven't?
19:50:21 <Franciman> I tried, I failed
19:50:23 <joel135> dsal: I'll take your waitforsocket as a small case study :)
19:50:25 <sm[m]> I also participate in some gitter channels (IHP)
19:50:35 <Franciman> man the world is full of chats
19:50:51 <dsal> joel135: It's meant for inspiration. How to have a small goal and fill it with learnings. I've implemented that in like, four languages now. Haskell's worked the best. heh
19:50:55 <sm[m]> slack of course doesn't want to be bridged
19:51:52 <dsal> farn__: Failing is important. I've failed at just about everything I've tried.
19:51:57 <dsal> er, Franciman damnit
19:52:42 <dsal> I've eventually got a few things stable enough that they work pretty well and I don't want to change them. Someone filed a quite reasonable bug against my mqtt client I've not figured out how to deal with. (I'm guessing matrix can't be harder than mqtt).
19:53:26 × Tario quits (~Tario@200.119.185.200) (Ping timeout: 264 seconds)
19:53:52 <Franciman> true
19:54:28 Tario joins (~Tario@200.119.185.200)
19:57:46 alp_ joins (~alp@88.126.45.36)
19:58:06 × DirefulSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Remote host closed the connection)
19:59:02 DirefulSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt)
19:59:09 × motte quits (~weechat@unaffiliated/motte) (Ping timeout: 260 seconds)
19:59:09 × morbeus quits (vhamalai@gateway/shell/tkk.fi/x-xcupkqlqeemccqxa) (Ping timeout: 260 seconds)
19:59:16 morbeus joins (vhamalai@gateway/shell/tkk.fi/x-ufpngpdloddgzoih)
19:59:37 × jluttine quits (~jluttine@87-95-204-180.bb.dnainternet.fi) (Ping timeout: 260 seconds)
19:59:37 × zaquest quits (~notzaques@5.128.210.178) (Ping timeout: 260 seconds)
19:59:37 × Tspoon quits (tlarjoma@hilla.kapsi.fi) (Ping timeout: 260 seconds)
19:59:45 Tspoon joins (tlarjoma@hilla.kapsi.fi)
20:01:21 motte joins (~weechat@unaffiliated/motte)
20:01:29 jluttine joins (~jluttine@87-95-204-180.bb.dnainternet.fi)
20:01:32 zaquest joins (~notzaques@5.128.210.178)
20:03:05 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds)
20:03:26 rprije joins (~rprije@194-193-168-77.tpgi.com.au)
20:03:37 <texasmynsted> I often am unable to reach this channel from Matrix by their bridge
20:03:53 <texasmynsted> I gave up trying so using limechat now.
20:03:56 texasmynsted shrug
20:07:18 × livvy quits (~livvy@gateway/tor-sasl/livvy) (Remote host closed the connection)
20:07:40 conal joins (~conal@64.71.133.70)
20:10:10 hackage phonetic-languages-common 0.1.1.0 - A generalization of the uniqueness-periods-vector-common package. https://hackage.haskell.org/package/phonetic-languages-common-0.1.1.0 (OleksandrZhabenko)
20:10:35 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
20:12:22 livvy joins (~livvy@gateway/tor-sasl/livvy)
20:14:15 avdb joins (~avdb@ip-83-134-109-87.dsl.scarlet.be)
20:14:33 × aarvar quits (~foewfoiew@50.35.43.33) (Ping timeout: 260 seconds)
20:15:39 hackage polysemy-path 0.0.1.0 - Polysemy versions of Path functions. https://hackage.haskell.org/package/polysemy-path-0.0.1.0 (locallycompact)
20:16:42 × stef204 quits (~stef204@unaffiliated/stef-204/x-384198) (Quit: WeeChat 2.9)
20:17:15 stef204 joins (~stef204@unaffiliated/stef-204/x-384198)
20:18:25 <maerwald> sm[m]: I used slack in weechat, but slack API seems to be unreliable, often diconnecting the client. And then the feature creep doesn't translate well to terminal
20:18:58 <maerwald> like ppl post 200 LOC of some code and it messes up your entire terminal
20:19:47 <dminuoso> indeed, slack in weechat is a horrid experience
20:20:52 × _deepfire quits (~user@80.92.100.69) (Remote host closed the connection)
20:21:28 <jjhoo> slack... that thing that doesn't seem to handle formatting ```if this block is too long``` for an outgoing webhook (legacy thing, maybe things are better with slack apps)
20:23:32 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
20:23:39 × avdb quits (~avdb@ip-83-134-109-87.dsl.scarlet.be) (Quit: WeeChat 2.9)
20:23:51 elliott__ joins (~elliott@pool-108-51-141-12.washdc.fios.verizon.net)
20:26:28 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
20:27:10 hackage phonetic-languages-general 0.1.0.0 - A generalization of the uniqueness-periods-vector-general functionality. https://hackage.haskell.org/package/phonetic-languages-general-0.1.0.0 (OleksandrZhabenko)
20:28:32 × lnlsn quits (~user@2804:14c:2b:891d::1000) (Read error: Connection reset by peer)
20:28:40 lnlsn joins (~user@2804:14c:2b:891d::1000)
20:29:07 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
20:29:34 conal joins (~conal@64.71.133.70)
20:30:08 × conal quits (~conal@64.71.133.70) (Client Quit)
20:32:18 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
20:33:55 christo joins (~chris@81.96.113.213)
20:36:26 akad_ joins (~akad@109107030050.radomsko.vectranet.pl)
20:36:49 conal joins (~conal@64.71.133.70)
20:39:02 × st8less quits (~st8less@2603:a060:11fd:0:609b:358e:1371:386d) (Ping timeout: 264 seconds)
20:39:21 × geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 268 seconds)
20:39:57 × stef204 quits (~stef204@unaffiliated/stef-204/x-384198) (Quit: WeeChat 2.9)
20:40:30 st8less joins (~st8less@inet-167-224-197-181.isp.ozarksgo.net)
20:41:52 × dmwitch quits (~dmwit@pool-108-18-228-100.washdc.fios.verizon.net) (Read error: Connection reset by peer)
20:41:57 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
20:42:06 Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
20:43:30 × geekosaur quits (82659a09@host154-009.vpn.uakron.edu) (Remote host closed the connection)
20:43:31 thir joins (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de)
20:44:45 dmwit joins (~dmwit@pool-108-18-228-100.washdc.fios.verizon.net)
20:45:26 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection)
20:47:44 × britva quits (~britva@31-10-157-156.cgn.dynamic.upc.ch) (Quit: This computer has gone to sleep)
20:48:36 × thir quits (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
20:48:36 × lnlsn quits (~user@2804:14c:2b:891d::1000) (Ping timeout: 268 seconds)
20:49:13 × Tario quits (~Tario@200.119.185.200) (Ping timeout: 260 seconds)
20:50:05 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:50:29 Tario joins (~Tario@200.119.185.200)
20:52:47 <sm[m]> texasmynsted: strange, I access it 24/7
20:53:10 hackage phonetic-languages-properties 0.1.0.0 - A generalization of the uniqueness-periods-vector-properties package. https://hackage.haskell.org/package/phonetic-languages-properties-0.1.0.0 (OleksandrZhabenko)
20:53:12 texasmynsted shrug
20:54:10 ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net)
20:54:17 <texasmynsted> I put a few days/weeks as a limit for troubleshooting. After that I figured it would be faster to use something else.
20:54:30 <texasmynsted> I am fine with limechat for now
20:55:13 <texasmynsted> It worked okay for me for some channels, but not others. I think the more traffic the channel, the less likely it worked for me over the bridge.
20:58:59 × ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 258 seconds)
21:00:02 × achadwick quits (~achadwick@84.39.117.57) ()
21:00:17 × day quits (~Unknown@unaffiliated/day) (Ping timeout: 260 seconds)
21:02:24 × cvlad- quits (sid203065@gateway/web/irccloud.com/x-ldhrbgiqwkppzsfc) (Ping timeout: 240 seconds)
21:02:57 × cemerick quits (sid54985@gateway/web/irccloud.com/x-syfoeolkqemrbwow) (Ping timeout: 260 seconds)
21:03:04 day joins (~Unknown@unaffiliated/day)
21:03:05 × ebutleriv quits (sid217783@gateway/web/irccloud.com/x-kvxiagmqenenwcwd) (Ping timeout: 260 seconds)
21:03:12 × d0liver quits (sid363046@gateway/web/irccloud.com/x-rjnvymcoomahofrn) (Ping timeout: 260 seconds)
21:03:12 × aristid quits (sid1599@gateway/web/irccloud.com/x-wgvcorkiyhxgnpel) (Ping timeout: 260 seconds)
21:03:18 × systemfault quits (sid267009@gateway/web/irccloud.com/x-csgxnmticedbceeh) (Read error: Connection reset by peer)
21:03:30 Ariakenom joins (~Ariakenom@h-155-4-221-164.NA.cust.bahnhof.se)
21:03:32 × eruditass quits (uid248673@gateway/web/irccloud.com/x-fakbfhwrqsthhqfr) (Ping timeout: 260 seconds)
21:03:32 × Cir0X quits (sid221743@gateway/web/irccloud.com/x-vbsqpqvnwnaxxlao) (Ping timeout: 260 seconds)
21:03:51 × fiadliel quits (sid399568@gateway/web/irccloud.com/x-yvsjefcorozedvpx) (Ping timeout: 272 seconds)
21:03:52 ebutleriv joins (sid217783@gateway/web/irccloud.com/x-pfvqbqpaoeusjfcx)
21:03:54 × rusua quits (uid124537@gateway/web/irccloud.com/x-tukvvfoeealcalpr) (Read error: Connection reset by peer)
21:04:00 systemfault joins (sid267009@gateway/web/irccloud.com/x-juyqqmfstcqekvbi)
21:04:01 × alanz quits (sid110616@gateway/web/irccloud.com/x-eagdffxzloqjlfmd) (Ping timeout: 268 seconds)
21:04:07 cemerick joins (sid54985@gateway/web/irccloud.com/x-zrzfloaemrmpgqmz)
21:04:08 aristid joins (sid1599@gateway/web/irccloud.com/x-ilqgyqbvhbrziter)
21:04:08 cvlad- joins (sid203065@gateway/web/irccloud.com/x-nspzwlyvupawshac)
21:04:10 × AndreasK quits (sid320732@gateway/web/irccloud.com/x-ktiwazcixhtnosgk) (Ping timeout: 256 seconds)
21:04:19 rusua joins (uid124537@gateway/web/irccloud.com/x-cncclluxfybvzlls)
21:04:24 × hc quits (~hc@bsd.pm) (Remote host closed the connection)
21:04:24 × wpcarro quits (sid397589@gateway/web/irccloud.com/x-reptnryktqywamkq) (Ping timeout: 240 seconds)
21:04:38 × totbwf quits (sid402332@gateway/web/irccloud.com/x-amykbrbjjlsoojsk) (Ping timeout: 268 seconds)
21:04:42 × SrPx quits (sid108780@gateway/web/irccloud.com/x-uslzvcburhozaynt) (Ping timeout: 260 seconds)
21:04:42 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
21:04:52 eruditass joins (uid248673@gateway/web/irccloud.com/x-hmiqmtrgdlavbpwr)
21:04:56 wpcarro joins (sid397589@gateway/web/irccloud.com/x-acwmxyqgeyskyphp)
21:04:58 Cir0X joins (sid221743@gateway/web/irccloud.com/x-smmdmragpgxrsuxw)
21:05:05 fiadliel joins (sid399568@gateway/web/irccloud.com/x-krrigsmeuaxeyvln)
21:05:10 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
21:05:24 SrPx joins (sid108780@gateway/web/irccloud.com/x-yrwlrdlfqyblrniu)
21:05:32 totbwf joins (sid402332@gateway/web/irccloud.com/x-pssrurqrlsgffxlv)
21:06:05 d0liver joins (sid363046@gateway/web/irccloud.com/x-gqmixearkciaakmk)
21:06:08 alanz joins (sid110616@gateway/web/irccloud.com/x-kxtlxodtagwnitvv)
21:06:21 AndreasK joins (sid320732@gateway/web/irccloud.com/x-jqlvoqrfkfkmzsvx)
21:09:39 hackage predicate-typed 0.7.4.1 - Predicates, Refinement types and Dsl https://hackage.haskell.org/package/predicate-typed-0.7.4.1 (gbwey)
21:12:20 × bartemius quits (~bartemius@109.252.20.20) (Remote host closed the connection)
21:12:49 × invaser quits (~Thunderbi@31.148.23.125) (Ping timeout: 264 seconds)
21:13:57 hiroaki joins (~hiroaki@ip4d176049.dynamic.kabel-deutschland.de)
21:19:11 hekkaidekapus_ joins (~tchouri@gateway/tor-sasl/hekkaidekapus)
21:20:44 × mananamenos quits (~mananamen@84.122.202.215.dyn.user.ono.com) (Ping timeout: 240 seconds)
21:21:43 × hekkaidekapus quits (~tchouri@gateway/tor-sasl/hekkaidekapus) (Ping timeout: 240 seconds)
21:25:20 taio joins (~enrik@p200300ceaf3ada00a0ac217f85c7e4a1.dip0.t-ipconnect.de)
21:27:59 × coot quits (~coot@37.30.51.206.nat.umts.dynamic.t-mobile.pl) (Quit: coot)
21:29:43 <taio> A question about Haskell's terms: Type constructors are functions at the type level that return a type when fully applied. But how are such structures called ?: Num :: * -> Constraint
21:29:56 <taio> A type class constructor or a constraint constructor?
21:29:58 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
21:30:30 × Varis quits (~Tadas@unaffiliated/varis) (Remote host closed the connection)
21:30:48 <icebreaker> join ##trading
21:31:15 <icebreaker> sorry guys 😅
21:32:23 × ubert quits (~Thunderbi@p200300ecdf1e53c1e6b318fffe838f33.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
21:33:06 × cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Quit: leaving)
21:34:51 × alp_ quits (~alp@88.126.45.36) (Ping timeout: 268 seconds)
21:35:13 wroathe_ joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
21:35:46 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
21:36:13 × wroathe quits (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Ping timeout: 260 seconds)
21:36:50 pgib joins (~textual@lmms/pgib)
21:37:52 jbox joins (~atlas@unaffiliated/jbox)
21:38:40 × Tario quits (~Tario@200.119.185.200) (Read error: Connection reset by peer)
21:39:33 britva joins (~britva@2a02:aa13:7240:2980:cc7a:5a21:3f32:5110)
21:39:45 Tario joins (~Tario@201.204.63.11)
21:41:01 × wroathe_ quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 264 seconds)
21:41:50 × britva quits (~britva@2a02:aa13:7240:2980:cc7a:5a21:3f32:5110) (Client Quit)
21:43:12 <monsterchrom> Num is a type class.
21:43:23 britva joins (~britva@31-10-157-156.cgn.dynamic.upc.ch)
21:43:28 × britva quits (~britva@31-10-157-156.cgn.dynamic.upc.ch) (Client Quit)
21:43:34 <monsterchrom> This shows that generally if you see Foo :: * -> Constraint, Foo is a type class.
21:44:16 <monsterchrom> Well OK maybe I forgot equality constraints, which you wouldn't call that.
21:44:30 × DirefulSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Remote host closed the connection)
21:44:55 DirefulSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt)
21:46:11 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:47:26 × hiroaki quits (~hiroaki@ip4d176049.dynamic.kabel-deutschland.de) (Ping timeout: 264 seconds)
21:47:27 britva joins (~britva@31-10-157-156.cgn.dynamic.upc.ch)
21:49:18 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
21:50:04 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
21:51:33 conal joins (~conal@64.71.133.70)
21:51:58 × conal quits (~conal@64.71.133.70) (Client Quit)
21:52:22 conal joins (~conal@64.71.133.70)
21:52:44 <monsterchrom> Amazing, my program that uses HXT written in 2015 still builds today.
21:52:46 × conal quits (~conal@64.71.133.70) (Client Quit)
21:53:00 p-core joins (~Thunderbi@2001:718:1e03:5128:2ab7:7f35:48a1:8515)
21:53:02 <jbox> I've been trying to get a haskell dev environment set up
21:53:12 <jbox> should I use ghcup or stack to install everything?
21:53:33 conal joins (~conal@64.71.133.70)
21:53:33 × conal quits (~conal@64.71.133.70) (Client Quit)
21:53:56 conal joins (~conal@64.71.133.70)
21:53:58 <maerwald> are you a beginner? What platform?
21:54:09 acidjnk_new joins (~acidjnk@p200300d0c72260940830e3b8f3af47a8.dip0.t-ipconnect.de)
21:54:20 × conal quits (~conal@64.71.133.70) (Client Quit)
21:54:40 <taio> Thanks for the answer. I know Num is a type class. my question was about what to call this function, e.g. a constraint constructor?
21:55:32 <dolio> You should only call it a constructor if it makes sense to match on it with e.g. a type class.
21:56:42 <jbox> maerwald: I'm a beginner. I'm trying to get a dev environment set up so I can use xmonad. I'm on Arch Linux
21:56:43 <monsterchrom> :)
21:56:56 <monsterchrom> I like dolio's criterion.
21:57:44 <maerwald> jbox: it seems xmonad README suggest to use cabal, so I'd go with ghcup + cabal. But it also supports stack
21:57:46 <byorgey> jbox: if you just want to use xmonad, probably easiest to use ghcup, then install xmonad with cabal
21:58:33 <byorgey> jbox: also, you should feel free to hang out and ask questions in #xmonad too
21:58:39 <jbox> I tried installing xmonad with my distro package managers first, and it worked out of the box, but it gave me problems when I tried to configure anything, so I'm doing it the "right" way now haha
21:58:51 <jbox> byorgey: gotcha, thank you :)
21:58:54 <jbox> maerwald: thank you :)
21:59:39 × britva quits (~britva@31-10-157-156.cgn.dynamic.upc.ch) (Quit: This computer has gone to sleep)
22:00:11 Aquazi joins (uid312403@gateway/web/irccloud.com/x-wolcdiinxgeovzoz)
22:02:14 × taio quits (~enrik@p200300ceaf3ada00a0ac217f85c7e4a1.dip0.t-ipconnect.de) (Quit: Konversation terminated!)
22:02:17 × elliott__ quits (~elliott@pool-108-51-141-12.washdc.fios.verizon.net) (Ping timeout: 265 seconds)
22:03:03 flux41 joins (2fe3e53b@047-227-229-059.res.spectrum.com)
22:03:33 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
22:06:09 hackage phonetic-languages-examples 0.1.0.0 - A generalization of the uniqueness-periods-vector-examples functionality. https://hackage.haskell.org/package/phonetic-languages-examples-0.1.0.0 (OleksandrZhabenko)
22:08:49 hiroaki joins (~hiroaki@ip4d176049.dynamic.kabel-deutschland.de)
22:08:57 × hiroaki quits (~hiroaki@ip4d176049.dynamic.kabel-deutschland.de) (Remote host closed the connection)
22:09:02 × xff0x_ quits (~fox@2001:1a81:52d0:1400:27e4:ce:8da5:24fb) (Ping timeout: 264 seconds)
22:09:27 hekkaidekapus_ is now known as hekkaidekapus
22:09:44 xff0x_ joins (~fox@2001:1a81:52d0:1400:272a:7056:8d00:dd17)
22:09:51 hiroaki joins (~hiroaki@ip4d176049.dynamic.kabel-deutschland.de)
22:10:21 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
22:11:17 <flux41> does anyone have a good beginner reference for kinds
22:11:26 × knupfer quits (~Thunderbi@mue-88-130-61-065.dsl.tropolys.de) (Ping timeout: 264 seconds)
22:11:27 <flux41> been reading through 5-6 tutorials with no success
22:12:12 Varis joins (~Tadas@unaffiliated/varis)
22:13:51 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
22:14:52 <DigitalKiWicked> does https://wiki.archlinux.org/index.php/Xmonad not work?
22:15:42 × krjst quits (~krjst@2604:a880:800:c1::16b:8001) (Quit: bye)
22:15:48 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection)
22:16:28 krjst joins (~krjst@2604:a880:800:c1::16b:8001)
22:17:53 christo joins (~chris@81.96.113.213)
22:18:08 macrover joins (~macrover@ip70-189-231-35.lv.lv.cox.net)
22:18:29 × zrl quits (4910eeec@c-73-16-238-236.hsd1.vt.comcast.net) (Remote host closed the connection)
22:19:34 × rusua quits (uid124537@gateway/web/irccloud.com/x-cncclluxfybvzlls) (Quit: Connection closed for inactivity)
22:19:55 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
22:19:57 <jbox> whenever I try to launch stack or xmonad, I get an error like "error while loading shared libraries: libHSbase-4.14.1.0-ghc8.10.2.so: cannot open shared object file: No such file or directory"
22:20:05 <jbox> and the .so file is different each time
22:21:33 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
22:22:47 christo joins (~chris@81.96.113.213)
22:22:50 avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz)
22:22:52 × avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Client Quit)
22:23:30 wretchswollen joins (~john@128.32.176.159)
22:23:39 Codaraxis joins (~Codaraxis@ip68-5-90-227.oc.oc.cox.net)
22:24:32 wretchswollen is now known as crestfallen
22:24:48 avoandmayo joins (~textual@122-58-158-238-adsl.sparkbb.co.nz)
22:24:59 alp_ joins (~alp@2a01:e0a:58b:4920:ac3f:7188:7379:b7ad)
22:25:06 <maerwald> jbox: do you have a GHC installed via pacman?
22:26:40 <jbox> maerwald: I have ghc 8.8.4 isntalled via ghcup
22:27:03 <maerwald> why is something picking ghc-8.10.2 then
22:27:14 <jbox> oh, I also have it installed through pacman LOL
22:27:16 <jbox> thank you
22:27:22 <maerwald> uninstall that
22:27:45 <maerwald> also, you can tell cabal which ghc to use: cabal build -w ghc-8.8.4
22:28:14 <jbox> ghc is required by xmonad. Should I not install xmonad via pacman either?
22:28:24 <jbox> I haven't even built anything yet hahaha
22:28:34 <jbox> I've screwed this up so bad
22:28:37 <maerwald> I'd not install anything haskell-ish via pacman
22:28:46 <sm[m]> flux41: kinds aren't a beginner topic I think
22:30:06 <jbox> maerwald: gotcha, thank you
22:30:38 × avoandmayo quits (~textual@122-58-158-238-adsl.sparkbb.co.nz) (Ping timeout: 264 seconds)
22:32:09 × AlterEgo- quits (~ladew@124-198-158-163.dynamic.caiway.nl) (Quit: Leaving)
22:32:54 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
22:36:02 × ericsagnes quits (~ericsagne@2405:6580:0:5100:6fa3:8602:28fd:306c) (Ping timeout: 264 seconds)
22:36:30 <crestfallen> hi a member was helping me with this program and wrote the evaluation to resolve to Nothing. So I'm a bit confused, because (with one or two possible mistakes) I thought the evaluation would look something like this: https://termbin.com/2b34
22:38:29 × motherfsck quits (~motherfsc@unaffiliated/motherfsck) (Quit: quit)
22:38:49 × flux41 quits (2fe3e53b@047-227-229-059.res.spectrum.com) (Ping timeout: 245 seconds)
22:38:50 ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net)
22:38:50 <crestfallen> I believe I have errors on lines 2 and/or 3: too many or too few Add 's ..
22:39:17 <crestfallen> please critique
22:40:50 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
22:42:09 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:42:20 <crestfallen> yeah I guess the 2 Just constructors in the left branch on line 4 are also wrong
22:43:24 × ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 240 seconds)
22:45:29 × Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection)
22:45:52 Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-55-225-82.dhcp-dynamic.fibreop.nb.bellaliant.net)
22:46:06 × Tario quits (~Tario@201.204.63.11) (Ping timeout: 256 seconds)
22:46:18 × Franciman quits (~francesco@host-79-36-167-172.retail.telecomitalia.it) (Quit: Leaving)
22:47:22 ericsagnes joins (~ericsagne@2405:6580:0:5100:43f1:8e91:4bca:feb3)
22:47:25 Tario joins (~Tario@200.119.187.214)
22:48:13 ahmr88 joins (~ahmr88@cpc85006-haye22-2-0-cust131.17-4.cable.virginm.net)
22:49:05 <crestfallen> ok I think the member wrote two different evaluations; one with map for Maybe and one for Traversable
22:51:13 × __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving)
22:51:20 <crestfallen> no, actually thoroughly baffled still..
22:51:44 × chaosmasttter quits (~chaosmast@p200300c4a70a4101f96c699b406ffa93.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
22:52:07 <crestfallen> this is probably the correct evaluation: https://paste.tomsmeding.com/7TIQdWo7
22:57:34 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
22:57:57 deftly joins (~user@209.58.189.165)
22:58:06 crestfallen is now known as crucify_me
22:59:28 elfets_ joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
23:00:28 ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net)
23:02:45 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 256 seconds)
23:03:32 <crucify_me> correction on line 4 of evaluation https://termbin.com/5r6r (guessing at this point)
23:04:16 vicfred_ joins (~vicfred@unaffiliated/vicfred)
23:06:34 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:07:12 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
23:07:21 × vicfred quits (~vicfred@unaffiliated/vicfred) (Ping timeout: 268 seconds)
23:07:43 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
23:08:10 chaosmasttter joins (~chaosmast@p200300c4a70a4101f96c699b406ffa93.dip0.t-ipconnect.de)
23:08:11 × motte quits (~weechat@unaffiliated/motte) (Quit: WeeChat 1.9.1)
23:09:10 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
23:09:31 × gehmehgeh quits (~ircuser1@gateway/tor-sasl/gehmehgeh) (Quit: Leaving)
23:09:58 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Client Quit)
23:11:52 × kritzefitz quits (~kritzefit@212.86.56.80) (Remote host closed the connection)
23:13:56 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection)
23:14:20 christo joins (~chris@81.96.113.213)
23:14:46 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
23:15:21 thir joins (~thir@pd9e1bd8a.dip0.t-ipconnect.de)
23:17:44 × christo quits (~chris@81.96.113.213) (Read error: Connection reset by peer)
23:17:48 christo_ joins (~chris@81.96.113.213)
23:18:39 hackage lentil 1.4.0.0 - frugal issue tracker https://hackage.haskell.org/package/lentil-1.4.0.0 (fffaaa)
23:19:13 × zoran119_ quits (~zoran119@124-169-22-52.dyn.iinet.net.au) (Read error: Connection reset by peer)
23:19:40 × sam___ quits (~sam@210.166.185.81.rev.sfr.net) (Ping timeout: 258 seconds)
23:19:44 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
23:20:08 × thir quits (~thir@pd9e1bd8a.dip0.t-ipconnect.de) (Ping timeout: 272 seconds)
23:20:08 × bennofs1 quits (~benno@dslb-188-106-225-242.188.106.pools.vodafone-ip.de) (Ping timeout: 272 seconds)
23:21:44 × nados quits (~dan@69-165-210-185.cable.teksavvy.com) (Ping timeout: 240 seconds)
23:26:49 × Tario quits (~Tario@200.119.187.214) (Ping timeout: 260 seconds)
23:27:06 Tario joins (~Tario@201.204.63.11)
23:30:10 × son0p quits (~son0p@181.136.122.143) (Quit: Lost terminal)
23:31:43 hoppfull joins (55e07432@c-3274e055.19-9-64736c10.bbcust.telenor.se)
23:31:58 × quinn quits (~quinn@c-73-223-224-163.hsd1.ca.comcast.net) (Quit: ZNC 1.8.2 - https://znc.in)
23:33:37 justsomeguy joins (~justsomeg@216.186.218.241)
23:33:37 × justsomeguy quits (~justsomeg@216.186.218.241) (Changing host)
23:33:37 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
23:33:59 quinn joins (~quinn@c-73-223-224-163.hsd1.ca.comcast.net)
23:34:34 BluePass joins (~BluePass@195.206.169.184)
23:37:42 × fendor quits (~fendor@77.119.131.209.wireless.dyn.drei.com) (Remote host closed the connection)
23:38:40 <jbox> what should I do if I keep getting errors like "error while loading shared libraries: libHSxmonad-0.15-2PS2yVgZEOJ5LumuexxAMV-ghc8.10.2.so: cannot open shared object file: No such file or directory"
23:39:00 <jbox> I've installed xmonad and xmonad-contrib with cabal
23:39:21 bgamari_ joins (~bgamari@72.65.102.83)
23:39:44 × bgamari quits (~bgamari@72.65.123.7) (Ping timeout: 240 seconds)
23:40:25 <jbox> also, for some reason, I don't have ghc-pkg installed
23:42:36 <jbox> oops, disregard my last
23:43:46 <jbox> /usr/bin/ghc-pkg: line 11: /usr/lib/ghc-8.10.2/bin/ghc-pkg: No such file or directory
23:43:49 <jbox> I'm so stumped
23:44:35 Tuplanolla joins (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi)
23:46:02 <infinisil> Well personally I'd try installing xmonad with Nix
23:46:17 bennofs1 joins (~benno@dslb-188-106-225-242.188.106.pools.vodafone-ip.de)
23:46:27 nineonine joins (~textual@216-19-190-182.dyn.novuscom.net)
23:46:28 <infinisil> Works on any distro, and pretty much guarantees no dynamic linker errors ever
23:46:54 × ahmr88 quits (~ahmr88@cpc85006-haye22-2-0-cust131.17-4.cable.virginm.net) (Remote host closed the connection)
23:46:54 nbloomf joins (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a)
23:47:13 ahmr88 joins (~ahmr88@cpc85006-haye22-2-0-cust131.17-4.cable.virginm.net)
23:47:21 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
23:47:41 <hoppfull> I'm starting an SDL2 window and I want to be able to interact with my program in ghci while it's running. Since SDL2 is a foreign C library with state, I suspect I need to start the application with forkOS and use an MVar to communicate with it. If anyone has experience with this and any bells are ringing like "oh don
23:47:41 × ahmr88 quits (~ahmr88@cpc85006-haye22-2-0-cust131.17-4.cable.virginm.net) (Remote host closed the connection)
23:47:53 × nineonine quits (~textual@216-19-190-182.dyn.novuscom.net) (Client Quit)
23:48:00 <hoppfull> I'm starting an SDL2 window and I want to be able to interact with my program in ghci while it's running. Since SDL2 is a foreign C library with state, I suspect I need to start the application with forkOS and use an MVar to communicate with it. If anyone has experience with this and any bells are ringing like "oh don't forget to say your name
23:48:00 <hoppfull> backwards" or something, please tell me
23:48:58 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
23:49:36 × chele quits (~chele@ip5b416ea2.dynamic.kabel-deutschland.de) (Remote host closed the connection)
23:49:48 <hoppfull> sorry, that was formulated kind of rude, I didn't mean that you have to tell me, I'm just curious if anyone knows anything about this since it seems quite subtle
23:49:58 nineonine joins (~textual@216-19-190-182.dyn.novuscom.net)
23:50:50 HarveyPwca joins (~HarveyPwc@c-98-220-98-201.hsd1.il.comcast.net)
23:51:36 × nineonine quits (~textual@216-19-190-182.dyn.novuscom.net) (Client Quit)
23:51:39 <hoppfull> Does a thread disappear after it has run its course? Or do I have to manually clean it up?
23:53:11 × christo_ quits (~chris@81.96.113.213) (Remote host closed the connection)
23:53:29 × p-core quits (~Thunderbi@2001:718:1e03:5128:2ab7:7f35:48a1:8515) (Remote host closed the connection)
23:54:13 × jespada quits (~jespada@90.254.243.98) (Ping timeout: 268 seconds)
23:54:20 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Ping timeout: 272 seconds)
23:54:41 <ghoulguy> A GHC thread from forkIO doesn't need to be cleaned up. Once the ThreadId gets GC'd and the thread as completed it's done
23:54:51 bitmapper joins (uid464869@gateway/web/irccloud.com/x-zyompbzjqpnqanhg)
23:55:41 <hoppfull> ghoulguy: thanks, I'm using forkOS though, I'm guessing it's the same
23:55:48 <ghoulguy> yeah, same deal
23:55:52 <hoppfull> cool
23:56:22 jespada joins (~jespada@90.254.243.98)
23:56:35 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:5d05:5ba3:751c:f26a) (Quit: My MacBook has gone to sleep. ZZZzzz…)

All times are in UTC on 2020-10-30.