Home liberachat/#haskell: Logs Calendar

Logs on 2022-04-30 (liberachat/#haskell)

00:01:19 sammelweis_ joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10)
00:01:37 × ahammer quits (~ahammer@157.122.68.227) (Client Quit)
00:01:44 × sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Ping timeout: 250 seconds)
00:03:45 ahammer joins (~ahammer@157.122.68.227)
00:04:39 king_gs joins (~Thunderbi@187.201.77.157)
00:07:24 <abastro[m]> geekosaur: toposort works on partial ordering
00:07:54 × ahammer quits (~ahammer@157.122.68.227) (Ping timeout: 246 seconds)
00:08:04 ahammer joins (~ahammer@157.122.68.227)
00:09:02 <abastro[m]> Oh wait. Ya cycle could exist. Meh
00:09:18 × shapr quits (~user@pool-173-73-44-186.washdc.fios.verizon.net) (Remote host closed the connection)
00:12:03 <geekosaur> https://paste.tomsmeding.com/3TlfHSHV
00:13:06 × ahammer quits (~ahammer@157.122.68.227) (Ping timeout: 276 seconds)
00:13:27 <geekosaur> (lorder and tsort were how we built static archives before someone realized nobody used ar for anything but those and built the functionality in)
00:13:48 shapr joins (~user@pool-173-73-44-186.washdc.fios.verizon.net)
00:13:50 <geekosaur> (of course, then came debian…)
00:17:04 xff0x_ joins (~xff0x@om126167099166.29.openmobile.ne.jp)
00:17:57 <abastro[m]> Oh
00:22:40 ahammer joins (~ahammer@157.122.68.227)
00:26:31 Guest|18 joins (~Guest|18@75-164-146-210.ptld.qwest.net)
00:26:48 × ahammer quits (~ahammer@157.122.68.227) (Ping timeout: 246 seconds)
00:27:00 king_gs1 joins (~Thunderbi@187.201.77.157)
00:27:24 × king_gs quits (~Thunderbi@187.201.77.157) (Ping timeout: 276 seconds)
00:27:24 king_gs1 is now known as king_gs
00:28:21 harveypwca joins (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67)
00:31:26 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
00:32:58 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
00:40:10 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
00:40:10 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
00:40:10 wroathe joins (~wroathe@user/wroathe)
00:41:50 × alp_ quits (~alp@user/alp) (Remote host closed the connection)
00:42:04 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
00:42:08 alp_ joins (~alp@user/alp)
00:42:19 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 240 seconds)
00:44:33 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
00:44:42 × xkuru quits (~xkuru@user/xkuru) (Read error: Connection reset by peer)
00:45:20 yuv4199 joins (~yuv4199@user/yuv4199)
00:45:37 × king_gs quits (~Thunderbi@187.201.77.157) (Read error: Connection reset by peer)
00:46:00 <yuv4199> Which functor product library use for `(:*:)`?
00:47:25 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
00:47:45 <yuv4199> There are many... GHC.Generics seems wrong, then there are different libraries.. I dont want to use Data.Functor.Product
00:48:02 king_gs joins (~Thunderbi@187.201.77.157)
00:48:33 × Pickchea quits (~private@user/pickchea) (Ping timeout: 256 seconds)
00:54:38 <abastro[m]> Wdym functor product library?
00:54:56 gpncarl joins (~gpncarl@120.244.220.254)
00:56:22 ahammer joins (~ahammer@157.122.68.183)
00:56:56 × alp_ quits (~alp@user/alp) (Ping timeout: 248 seconds)
00:58:18 × yauhsien quits (~yauhsien@61-231-19-191.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
00:59:56 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 272 seconds)
01:02:50 <EvanR> and what is wrong with Data.Functor.Product
01:08:20 × ahammer quits (~ahammer@157.122.68.183) (Remote host closed the connection)
01:08:21 × king_gs quits (~Thunderbi@187.201.77.157) (Read error: Connection reset by peer)
01:08:41 king_gs joins (~Thunderbi@187.201.77.157)
01:10:32 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:12:33 <yuv4199> I cannot "rename" it to (:*:) because it gives pattern-match warnings, eg. functor-combinators on Hackage.
01:13:05 ahammer joins (~ahammer@157.122.68.183)
01:13:13 <yuv4199> And I didn't understand the Show1 constraint for Show last time I used it :(
01:14:24 × ahammer quits (~ahammer@157.122.68.183) (Read error: Connection reset by peer)
01:14:58 ahammer joins (~ahammer@157.122.68.183)
01:15:08 gpncarl joins (~gpncarl@120.244.220.254)
01:15:43 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
01:16:03 Jeanne-Kamikaze joins (~Jeanne-Ka@142.147.89.198)
01:16:43 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:18:01 × king_gs quits (~Thunderbi@187.201.77.157) (Ping timeout: 256 seconds)
01:19:04 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
01:20:24 <EvanR> an operator starting with : has to be a data constructor
01:22:00 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 276 seconds)
01:22:44 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 272 seconds)
01:27:51 × ahammer quits (~ahammer@157.122.68.183) (Ping timeout: 276 seconds)
01:31:07 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
01:32:24 × Jeanne-Kamikaze quits (~Jeanne-Ka@142.147.89.198) (Quit: Leaving)
01:34:56 kimjetwav joins (~user@2607:fea8:2362:b400:bc31:2c26:50a2:8acd)
01:39:38 [_] joins (~itchyjunk@user/itchyjunk/x-7353470)
01:40:23 × Guest|18 quits (~Guest|18@75-164-146-210.ptld.qwest.net) (Quit: Connection closed)
01:40:44 stackdroid18 joins (~stackdroi@user/stackdroid)
01:42:38 andrey_ joins (~andrey@p200300dbcf2cae00473664218599dd86.dip0.t-ipconnect.de)
01:43:11 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 260 seconds)
01:43:36 × Tuplanolla quits (~Tuplanoll@91-159-68-39.elisa-laajakaista.fi) (Quit: Leaving.)
01:44:13 BRobersonO joins (~BRoberson@97.104.41.119)
01:45:27 × BRobersonO quits (~BRoberson@97.104.41.119) (Client Quit)
01:45:32 × andrey__ quits (~andrey@p200300dbcf087900604788b0cc6ab984.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
01:45:46 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
01:46:10 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 250 seconds)
01:47:34 × anomal quits (~anomal@87.227.196.109) (Remote host closed the connection)
01:49:04 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
01:49:54 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5)
01:52:17 <jackdk> People sometimes use (:*:) from GHC.Generics as a functor product, despite it coming from an "odd" module
01:55:24 h2t joins (~h2t@user/h2t)
02:01:04 anomal joins (~anomal@87.227.196.109)
02:07:17 × Unicorn_Princess quits (~Unicorn_P@93-103-228-248.dynamic.t-2.net) (Quit: Leaving)
02:07:27 × fernand quits (uid551405@id-551405.tinside.irccloud.com) (Quit: Connection closed for inactivity)
02:10:00 × waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 248 seconds)
02:15:57 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 276 seconds)
02:18:35 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
02:18:35 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
02:18:35 finn_elija is now known as FinnElija
02:20:42 × xff0x_ quits (~xff0x@om126167099166.29.openmobile.ne.jp) (Read error: Connection reset by peer)
02:24:30 justsomeguy joins (~justsomeg@user/justsomeguy)
02:25:52 × yuv4199 quits (~yuv4199@user/yuv4199) (Ping timeout: 252 seconds)
02:31:32 × anomal quits (~anomal@87.227.196.109) (Remote host closed the connection)
02:32:41 abastro joins (~abab9579@220.75.216.63)
02:33:40 × td_ quits (~td@muedsl-82-207-238-122.citykom.de) (Ping timeout: 272 seconds)
02:34:47 td_ joins (~td@muedsl-82-207-238-189.citykom.de)
02:37:48 × img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
02:37:49 jakalx parts (~jakalx@base.jakalx.net) ()
02:42:09 × lainon quits (~lainon@2601:7c0:c500:4d20:5d28:87a4:ed98:5a13) (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:42:51 lainon joins (~lainon@2601:7c0:c500:4d20:5d28:87a4:ed98:5a13)
02:44:57 cyanide4dinner joins (~cyanide4d@171.61.13.123)
02:46:09 img joins (~img@user/img)
02:48:34 × lainon quits (~lainon@2601:7c0:c500:4d20:5d28:87a4:ed98:5a13) (Ping timeout: 250 seconds)
02:49:23 jakalx joins (~jakalx@base.jakalx.net)
02:51:41 Guest96 joins (~Guest96@240e:306:2081:b6d5:8d9:2133:ce46:bb8)
02:52:05 x88x88x joins (~x88x88x@2001:19f0:5:39a8:5400:3ff:feb6:73cb)
02:58:15 Guest96 parts (~Guest96@240e:306:2081:b6d5:8d9:2133:ce46:bb8) ()
03:11:23 × euandreh quits (~euandreh@2804:14c:33:9fe5:2165:73d6:1630:f174) (Ping timeout: 260 seconds)
03:23:22 euandreh joins (~euandreh@2804:14c:33:9fe5:2165:73d6:1630:f174)
03:33:33 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
03:47:34 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
03:51:45 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
03:52:48 × abastro quits (~abab9579@220.75.216.63) (Ping timeout: 276 seconds)
04:00:29 yauhsien joins (~yauhsien@61-231-19-191.dynamic-ip.hinet.net)
04:03:55 dashkal joins (~dashkal@user/dashkal)
04:05:30 × yauhsien quits (~yauhsien@61-231-19-191.dynamic-ip.hinet.net) (Ping timeout: 272 seconds)
04:06:21 notzmv joins (~zmv@user/notzmv)
04:06:35 × stackdroid18 quits (~stackdroi@user/stackdroid) (Quit: hasta la vista... tchau!)
04:06:36 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 246 seconds)
04:08:42 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
04:08:42 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
04:08:42 wroathe joins (~wroathe@user/wroathe)
04:11:14 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
04:12:10 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
04:20:24 <abastro[m]> Oh that is interesting
04:33:49 gpncarl joins (~gpncarl@120.244.220.254)
04:37:59 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 240 seconds)
04:43:12 × cyanide4dinner quits (~cyanide4d@171.61.13.123) (Quit: cyanide4dinner)
04:47:56 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 272 seconds)
04:49:31 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
04:49:31 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
04:49:31 wroathe joins (~wroathe@user/wroathe)
04:59:17 × gentauro quits (~gentauro@user/gentauro) (Read error: Connection reset by peer)
04:59:33 gentauro joins (~gentauro@user/gentauro)
05:03:44 × mtjm quits (~mutantmel@2604:a880:2:d0::208b:d001) (Remote host closed the connection)
05:04:47 mtjm joins (~mutantmel@2604:a880:2:d0::208b:d001)
05:12:10 × jargon quits (~jargon@174-22-206-112.phnx.qwest.net) (Quit: bbl exhausted and need sleep)
05:14:04 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
05:17:45 razetime joins (~quassel@117.254.34.87)
05:18:06 gpncarl joins (~gpncarl@120.244.220.254)
05:19:15 × razetime quits (~quassel@117.254.34.87) (Client Quit)
05:19:30 razetime joins (~quassel@117.254.34.87)
05:22:24 takuan joins (~takuan@178-116-218-225.access.telenet.be)
05:26:46 × hexfive quits (~eric@50.35.83.177) (Quit: WeeChat 3.5)
05:32:32 dyeplexer joins (~dyeplexer@user/dyeplexer)
05:36:07 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
05:37:30 abastro joins (~abab9579@220.75.216.63)
05:41:26 deadmarshal_ joins (~deadmarsh@95.38.230.79)
05:43:13 littlebo1eep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
05:45:04 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
05:45:35 × inversed quits (~inversed@94.13.111.159) (Ping timeout: 272 seconds)
05:45:39 × deadmarshal_ quits (~deadmarsh@95.38.230.79) (Ping timeout: 246 seconds)
05:46:04 Pickchea joins (~private@user/pickchea)
05:49:26 inversed joins (~inversed@94.13.111.159)
05:53:18 × ojsaki quits (~ojsaki@84.64.137.140) (Quit: leaving)
05:58:10 × harveypwca quits (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67) (Quit: Leaving)
06:01:13 ojsaki joins (~ojsaki@84.64.137.140)
06:03:44 xkuru joins (~xkuru@user/xkuru)
06:04:38 × xkuru quits (~xkuru@user/xkuru) (Remote host closed the connection)
06:05:02 xkuru joins (~xkuru@user/xkuru)
06:09:18 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 276 seconds)
06:12:02 deadmarshal_ joins (~deadmarsh@95.38.230.79)
06:14:50 frost joins (~frost@user/frost)
06:16:59 coot joins (~coot@213.134.190.95)
06:19:48 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
06:21:34 × littlebo1eep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
06:22:23 × phma quits (phma@2001:5b0:212a:9cb8:7117:122:dd12:889b) (Read error: Connection reset by peer)
06:23:06 phma joins (~phma@host-67-44-208-188.hnremote.net)
06:30:40 <tomsmeding> abastro[m]: what do you mean with formatting? highlighting in the code editor?
06:35:08 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
06:41:34 × dashkal quits (~dashkal@user/dashkal) (Quit: WeeChat 3.5)
06:43:38 acidjnk joins (~acidjnk@p200300d0c73b4502b9c6c7f353397b6d.dip0.t-ipconnect.de)
06:47:02 dust_ joins (~dust@2409:4071:2283:5117:f276:b047:4438:5a20)
06:49:04 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
06:49:35 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
06:53:47 × [_] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
06:54:25 nut joins (~haskellfi@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
06:56:21 × Pickchea quits (~private@user/pickchea) (Ping timeout: 246 seconds)
06:59:04 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
07:00:06 × dust_ quits (~dust@2409:4071:2283:5117:f276:b047:4438:5a20) (Quit: Konversation terminated!)
07:03:19 × zyklotomic quits (~ethan@res380d-128-61-85-233.res.gatech.edu) (Ping timeout: 240 seconds)
07:03:25 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
07:05:41 zyklotomic joins (~ethan@res388d-128-61-91-167.res.gatech.edu)
07:10:20 × tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz)
07:12:21 gehmehgeh joins (~user@user/gehmehgeh)
07:18:26 × razetime quits (~quassel@117.254.34.87) (Remote host closed the connection)
07:19:30 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 276 seconds)
07:19:34 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
07:24:37 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
07:24:42 × deadmarshal_ quits (~deadmarsh@95.38.230.79) (Ping timeout: 276 seconds)
07:25:45 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
07:25:47 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
07:28:56 gpncarl joins (~gpncarl@120.244.220.254)
07:28:59 deadmarshal_ joins (~deadmarsh@95.38.230.79)
07:31:20 × zyklotomic quits (~ethan@res388d-128-61-91-167.res.gatech.edu) (Ping timeout: 272 seconds)
07:32:48 × xkuru quits (~xkuru@user/xkuru) (Read error: Connection reset by peer)
07:32:59 zyklotomic joins (~ethan@res388d-128-61-90-233.res.gatech.edu)
07:35:45 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
07:35:51 xkuru joins (~xkuru@user/xkuru)
07:36:34 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
07:37:12 dextaa4 joins (~dextaa@user/dextaa)
07:39:49 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
07:39:59 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds)
07:43:55 × nut quits (~haskellfi@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 256 seconds)
07:44:12 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 276 seconds)
07:56:54 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
08:01:45 andrey__ joins (~andrey@p508d5741.dip0.t-ipconnect.de)
08:02:19 × coot quits (~coot@213.134.190.95) (Quit: coot)
08:04:19 × andrey_ quits (~andrey@p200300dbcf2cae00473664218599dd86.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
08:04:56 × califax quits (~califax@user/califx) (Remote host closed the connection)
08:05:19 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 240 seconds)
08:12:23 alexiscott joins (~user@37.red-88-1-75.dynamicip.rima-tde.net)
08:13:15 Hiring joins (~Hiring@31.222.238.38)
08:14:09 × alexiscott quits (~user@37.red-88-1-75.dynamicip.rima-tde.net) (Remote host closed the connection)
08:21:19 × deadmarshal_ quits (~deadmarsh@95.38.230.79) (Ping timeout: 240 seconds)
08:21:19 alp_ joins (~alp@user/alp)
08:22:53 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
08:27:34 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
08:27:57 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
08:29:40 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
08:32:00 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
08:32:31 Guest61 joins (~Guest61@45.248.151.250)
08:32:35 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
08:32:59 × Guest61 quits (~Guest61@45.248.151.250) (Client Quit)
08:35:46 _ht joins (~quassel@231-169-21-31.ftth.glasoperator.nl)
08:40:46 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
08:45:48 wootehfoot joins (~wootehfoo@user/wootehfoot)
08:46:01 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
08:46:27 <abastro[m]> Yep
08:49:51 × abastro quits (~abab9579@220.75.216.63) (Ping timeout: 276 seconds)
08:51:53 Ether17 joins (~Ether@45.248.151.250)
08:52:13 <Ether17>         , ("M-h", bindByLayout [("Full", windows W.focusUp), ("ReflectX Full", windows W.focusUp), ("", sendMessage $ Go L)])
08:52:13 <Ether17>         , ("M-l", bindByLayout [("Full", windows W.focusDown), ("ReflectX Full", windows W.focusDown), ("", sendMessage $ Go R)])
08:52:47 <Ether17> is it possilbe to automatcially know if the master is in the right or left?
08:53:19 <abastro[m]> (Did you post in the right channel?)
08:53:42 <Ether17> ohh oo
08:53:44 <Ether17> sorry
08:53:56 <abastro[m]> Its okay
08:57:19 × xsarnik quits (xsarnik@lounge.fi.muni.cz) (Quit: Ping timeout (120 seconds))
08:57:29 xsarnik joins (xsarnik@lounge.fi.muni.cz)
08:59:22 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Ping timeout: 272 seconds)
09:01:28 coot joins (~coot@213.134.190.95)
09:07:34 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
09:07:37 gurkenglas joins (~gurkengla@dslb-084-057-085-111.084.057.pools.vodafone-ip.de)
09:08:06 × Ether17 quits (~Ether@45.248.151.250) (Quit: Client closed)
09:08:14 Tuplanolla joins (~Tuplanoll@91-159-68-39.elisa-laajakaista.fi)
09:08:21 Ether17 joins (~Ether17@45.248.151.237)
09:08:35 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
09:10:40 × Ether17 quits (~Ether17@45.248.151.237) (Client Quit)
09:14:09 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
09:14:15 × dextaa4 quits (~dextaa@user/dextaa) (Remote host closed the connection)
09:17:43 dyeplexer joins (~dyeplexer@user/dyeplexer)
09:19:37 neceve joins (~quassel@2.29.116.221)
09:22:53 dextaa4 joins (~dextaa@user/dextaa)
09:23:01 anomal joins (~anomal@87.227.196.109)
09:23:55 Midjak joins (~Midjak@82.66.147.146)
09:26:56 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
09:29:03 Guest18 joins (~Guest18@160.16.113.140)
09:29:25 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
09:30:26 Vajb joins (~Vajb@n2bi4516ak7u68y31-2.v6.elisa-mobile.fi)
09:35:53 Ether17 joins (~Ether17@45.248.151.250)
09:36:02 × Guest18 quits (~Guest18@160.16.113.140) (Quit: Client closed)
09:36:45 × Ether17 quits (~Ether17@45.248.151.250) (Client Quit)
09:40:22 romesrf joins (~romes@185.5.8.134)
09:45:14 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
09:46:16 deadmarshal_ joins (~deadmarsh@95.38.230.79)
09:46:59 Ether17 joins (~Ether17@45.248.151.250)
09:48:29 × Ether17 quits (~Ether17@45.248.151.250) (Client Quit)
09:48:59 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 260 seconds)
09:49:34 mmhat joins (~mmh@2001:4090:a242:802d:ee08:6bff:fe09:5315)
09:51:18 × deadmarshal_ quits (~deadmarsh@95.38.230.79) (Ping timeout: 272 seconds)
09:55:53 Ether17 joins (~Ether17@45.248.151.250)
09:56:48 × Ether17 quits (~Ether17@45.248.151.250) (Client Quit)
09:57:38 × jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 272 seconds)
10:05:33 × coot quits (~coot@213.134.190.95) (Quit: coot)
10:06:20 × alp_ quits (~alp@user/alp) (Remote host closed the connection)
10:06:40 alp_ joins (~alp@user/alp)
10:11:23 × glguy quits (x@libera/staff/glguy) (Read error: Connection reset by peer)
10:11:46 glguy joins (x@libera/staff/glguy)
10:12:24 × gurkenglas quits (~gurkengla@dslb-084-057-085-111.084.057.pools.vodafone-ip.de) (Ping timeout: 276 seconds)
10:15:20 × mvk quits (~mvk@2607:fea8:5ce3:8500::aa1d) (Ping timeout: 250 seconds)
10:15:29 × Batzy quits (~quassel@user/batzy) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
10:16:18 mikoto-chan joins (~mikoto-ch@213.177.151.239)
10:16:38 Batzy joins (~quassel@user/batzy)
10:16:41 xff0x_ joins (~xff0x@om126167099166.29.openmobile.ne.jp)
10:18:44 × dextaa4 quits (~dextaa@user/dextaa) (Remote host closed the connection)
10:21:30 dextaa4 joins (~dextaa@user/dextaa)
10:21:46 nut joins (~haskellfi@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
10:23:34 Ether17 joins (~Ether17@45.248.151.250)
10:26:20 × Ether17 quits (~Ether17@45.248.151.250) (Client Quit)
10:29:46 oxide joins (~lambda@user/oxide)
10:29:46 deadmarshal_ joins (~deadmarsh@95.38.230.79)
10:34:28 machinedgod joins (~machinedg@24.105.81.50)
10:37:55 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
10:39:42 × nut quits (~haskellfi@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 276 seconds)
10:42:57 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 276 seconds)
10:44:41 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 256 seconds)
10:44:45 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
10:47:30 Lord_of_Life_ is now known as Lord_of_Life
10:52:11 elkcl joins (~elkcl@broadband-37-110-156-162.ip.moscow.rt.ru)
11:00:25 __monty__ joins (~toonn@user/toonn)
11:03:52 coot joins (~coot@213.134.190.95)
11:07:06 × [Leary] quits (~Leary]@122-58-228-205-vdsl.sparkbb.co.nz) (Remote host closed the connection)
11:08:29 Ether17 joins (~Ether17@45.248.151.250)
11:08:46 × Ether17 quits (~Ether17@45.248.151.250) (Client Quit)
11:13:22 jgeerds joins (~jgeerds@d53604b0.access.ecotel.net)
11:14:54 × deadmarshal_ quits (~deadmarsh@95.38.230.79) (Ping timeout: 272 seconds)
11:15:58 × gehmehgeh quits (~user@user/gehmehgeh) (Remote host closed the connection)
11:16:42 gehmehgeh joins (~user@user/gehmehgeh)
11:24:52 × dostoevsky quits (~5c42c5384@user/dostoevsky) (Quit: Ping timeout (120 seconds))
11:31:22 × romesrf quits (~romes@185.5.8.134) (Ping timeout: 272 seconds)
11:36:54 × zyklotomic quits (~ethan@res388d-128-61-90-233.res.gatech.edu) (Ping timeout: 276 seconds)
11:38:20 zyklotomic joins (~ethan@res388d-128-61-90-32.res.gatech.edu)
11:44:10 × oxide quits (~lambda@user/oxide) (Ping timeout: 250 seconds)
11:47:31 razetime joins (~quassel@117.254.34.87)
11:47:51 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
11:47:52 oxide joins (~lambda@user/oxide)
11:58:15 × acidjnk quits (~acidjnk@p200300d0c73b4502b9c6c7f353397b6d.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
11:58:22 notzmv joins (~zmv@user/notzmv)
11:58:36 deadmarshal_ joins (~deadmarsh@95.38.230.79)
12:00:18 × jgeerds quits (~jgeerds@d53604b0.access.ecotel.net) (Ping timeout: 276 seconds)
12:01:28 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
12:06:48 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 248 seconds)
12:08:06 × mikoto-chan quits (~mikoto-ch@213.177.151.239) (Ping timeout: 276 seconds)
12:09:12 abastro joins (~abab9579@220.75.216.63)
12:09:38 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
12:12:37 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
12:12:37 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
12:12:43 jgeerds joins (~jgeerds@d53604b0.access.ecotel.net)
12:12:54 abastro joins (~abab9579@220.75.216.63)
12:15:04 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 240 seconds)
12:15:47 azimut joins (~azimut@gateway/tor-sasl/azimut)
12:16:20 CiaoSen joins (~Jura@p200300c95732ec002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
12:18:33 romesrf joins (~romes@185.5.8.134)
12:21:12 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 248 seconds)
12:23:54 × razetime quits (~quassel@117.254.34.87) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
12:24:21 × deadmarshal_ quits (~deadmarsh@95.38.230.79) (Ping timeout: 276 seconds)
12:25:47 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
12:26:46 deadmarshal_ joins (~deadmarsh@95.38.230.79)
12:31:11 smitop2 joins (uid328768@id-328768.tinside.irccloud.com)
12:31:30 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
12:31:52 jakalx parts (~jakalx@base.jakalx.net) ()
12:32:40 jakalx joins (~jakalx@base.jakalx.net)
12:35:20 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
12:37:37 × romesrf quits (~romes@185.5.8.134) (Quit: WeeChat 3.4.1)
12:37:51 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
12:39:55 Unicorn_Princess joins (~Unicorn_P@93-103-228-248.dynamic.t-2.net)
12:44:27 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 260 seconds)
12:46:27 × oxide quits (~lambda@user/oxide) (Ping timeout: 276 seconds)
12:46:56 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
12:48:04 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
12:49:06 dostoevsky joins (~5c42c5384@user/dostoevsky)
12:50:25 oxide joins (~lambda@user/oxide)
12:51:31 mikoto-chan joins (~mikoto-ch@185.201.60.70)
12:53:19 gpncarl joins (~gpncarl@120.244.220.254)
12:55:36 × jgeerds quits (~jgeerds@d53604b0.access.ecotel.net) (Ping timeout: 272 seconds)
12:56:40 × hsw quits (~hsw@2001-b030-2303-0104-0172-0025-0012-0132.hinet-ip6.hinet.net) (Quit: Leaving)
12:58:55 × mikoto-chan quits (~mikoto-ch@185.201.60.70) (Read error: No route to host)
12:58:59 × deadmarshal_ quits (~deadmarsh@95.38.230.79) (Ping timeout: 240 seconds)
13:01:19 × alp_ quits (~alp@user/alp) (Ping timeout: 240 seconds)
13:07:00 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
13:09:50 deadmarshal_ joins (~deadmarsh@95.38.230.79)
13:15:47 Ether17 joins (~Ether17@45.248.151.237)
13:17:02 × Unicorn_Princess quits (~Unicorn_P@93-103-228-248.dynamic.t-2.net) (Remote host closed the connection)
13:17:39 × tomgus1 quits (~tomgus1@2a02:c7e:4229:d900:dea6:32ff:fe3d:d1a3) (Ping timeout: 240 seconds)
13:17:47 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer)
13:19:16 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
13:22:11 × Ether17 quits (~Ether17@45.248.151.237) (Quit: Client closed)
13:24:03 pretty_d1 joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
13:24:03 × pretty_d1 quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Client Quit)
13:24:19 pretty_d1 joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
13:25:54 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Ping timeout: 246 seconds)
13:26:06 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
13:26:14 Pickchea joins (~private@user/pickchea)
13:27:55 kspalaiologos joins (~kspalaiol@user/kspalaiologos)
13:27:56 × Pickchea quits (~private@user/pickchea) (Client Quit)
13:28:05 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
13:28:51 Ether17 joins (~Ether17@45.248.151.237)
13:33:36 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
13:36:06 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
13:37:20 × Ether17 quits (~Ether17@45.248.151.237) (Quit: Client closed)
13:37:32 Ether17 joins (~Ether17@45.248.151.250)
13:41:09 × Ether17 quits (~Ether17@45.248.151.250) (Client Quit)
13:41:42 Ether17 joins (~Ether17@45.248.151.237)
13:45:49 wootehfoot joins (~wootehfoo@user/wootehfoot)
13:47:04 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Ping timeout: 240 seconds)
13:49:43 zebrag joins (~chris@user/zebrag)
13:52:45 malinoskj29064 joins (~malinoskj@48.170-avail-pool-cc.sccoast.net)
13:52:58 × malinoskj2906 quits (~malinoskj@48.170-avail-pool-cc.sccoast.net) (Read error: Connection reset by peer)
13:53:47 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
13:55:28 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 250 seconds)
13:57:44 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
14:00:18 × Ether17 quits (~Ether17@45.248.151.237) (Quit: Client closed)
14:00:36 Ether17 joins (~Ether17@45.248.151.237)
14:02:59 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
14:03:40 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
14:06:42 Gilbert189 joins (~Gilbert18@user/Gilbert189)
14:07:45 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
14:08:19 tomgus1 joins (~tomgus1@90.218.25.145)
14:08:30 abastro joins (~abab9579@220.75.216.63)
14:09:07 PkmnQ joins (~PkmnQ@user/PkmnQ)
14:09:12 PkmnQ parts (~PkmnQ@user/PkmnQ) (Leaving)
14:12:23 vicfred joins (~vicfred@user/vicfred)
14:14:26 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
14:15:00 × frost quits (~frost@user/frost) (Ping timeout: 252 seconds)
14:15:30 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
14:17:43 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Quit: WeeChat 3.5)
14:18:02 <Bulby[m]> Are there sum pattern matches? E.g... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/84f8334b2ae30748d565ca9dab612c48b0b2a6d0)
14:19:04 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
14:19:48 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
14:20:52 <geekosaur> no
14:22:53 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
14:23:43 hololeap joins (~hololeap@user/hololeap)
14:25:15 maerwald[m] sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/f923a0d89eaa4505ec1d2c4eba6794abd581c1d6
14:26:11 yauhsien joins (~yauhsien@61-231-19-191.dynamic-ip.hinet.net)
14:27:01 × sammelweis_ quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Remote host closed the connection)
14:27:46 king_gs joins (~Thunderbi@187.201.77.157)
14:29:31 × pretty_d1 quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5)
14:29:48 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
14:31:38 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
14:32:38 <albet70> recently there's a term DAG show up on some programming articles, what's that?
14:33:33 <albet70> does haskell have that stuff?
14:33:44 <Noinia> hmm, I'm having some issues with haskell-interactive-mode in emacs and a cabal project that has multiple components. In particular, if I have some module that appears only as an 'other-modules' in the test-suite, haskell-interactive-mode doesn't seem to recognize the module when trying to load it using haskell-process-load-file. Does anyone know what the best way to solve that is?
14:34:21 <Noinia> I'm guessing I have to specify somewhere that the file I'm trying to laod is part of the test component. But I'm not sure what the most convenient way to do that is
14:34:51 <Noinia> albet70: DAG usually means Directed Acyclic Graph
14:36:51 <Bulby[m]> Haxe which has rich enums can do sum matches 😭
14:38:41 <maerwald[m]> Bulby: Haskell language isn't developed anymore, so unlikely
14:39:17 <Bulby[m]> WHAT 😭
14:39:17 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 256 seconds)
14:39:23 <abastro> XD
14:39:53 <Bulby[m]> I mean even "enumeration types" (flat enums) no sum matches? a bit silly
14:39:59 <Bulby[m]> going to have to write a helper function
14:40:13 <maerwald[m]> Your suggestion is too practical. Add some obscure type level features and you'll get our attention
14:40:29 <Bulby[m]> is that the standard 🤣
14:41:25 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
14:41:32 × king_gs quits (~Thunderbi@187.201.77.157) (Read error: Connection reset by peer)
14:41:59 <maerwald[m]> You can get there half way with pattern synonyms/viewpatterns
14:42:13 <Bulby[m]> pattern synonyms? how so?
14:42:39 <Bulby[m]> oh
14:43:02 <Bulby[m]> diff question, is there a different way to write string literals that contain `"`
14:43:23 <abastro> What is sum matches
14:43:25 <geekosaur> there are some quasiquoters on hackage
14:43:29 <Bulby[m]> `"\"color\":\"" <> showColor x <> "ff\""` awful
14:43:40 <Bulby[m]> > <@bulbyvr:matrix.org> Are there sum pattern matches? E.g... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/88956d2f8842e8a4185d6d8fff3dfd34b5770117)
14:43:42 <lambdabot> <hint>:1:1: error: parse error on input ‘<@’
14:43:44 <geekosaur> abastro, otherwise known as or-patterns
14:43:45 <maerwald[m]> Bulby: https://github.com/hasufell/hsfm/blob/322c766ae534fb21e3427d2845011123ddb90952/src/HSFM/FileSystem/FileType.hs#L193
14:44:14 <abastro> Well, or patterns are kind of useless tho
14:44:31 <abastro> (Unless you mean anonymous sum types, which would be quite useful)
14:45:07 × neceve quits (~quassel@2.29.116.221) (Ping timeout: 240 seconds)
14:45:39 <tomsmeding> maerwald[m]: why does fileLike not return 'Maybe (File FileInfo)'
14:46:36 <maerwald[m]> tomsmeding: it's old shitty code
14:46:45 <tomsmeding> maerwald[m]: that's a good reason :p
14:46:51 <abastro> XD
14:47:26 <abastro> Hm the program might like some design overhaul
14:47:53 <maerwald[m]> tomsmeding: also, you wouldn't be able to retrieve directory info then
14:48:04 <maerwald[m]> But not sure that's used anywhere else
14:48:16 <tomsmeding> maerwald[m]: right, I was wondering if something used it
14:48:20 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
14:48:48 <maerwald[m]> You're asking questions man :D
14:49:00 <tomsmeding> hard questions?
14:49:24 <maerwald[m]> 6 years old codebase
14:49:38 <tomsmeding> I have older code and it's even shittier
14:49:40 mikoto-chan joins (~mikoto-ch@D57C9A7A.static.ziggozakelijk.nl)
14:50:05 <tomsmeding> in a grey past I programmed C and tried to use as few spaces between things as possible
14:50:10 <maerwald[m]> A lil sad it's abandoned
14:50:10 <tomsmeding> now _that_ code was shitty
14:50:45 <maerwald[m]> I mean, do people still use filemanagers?
14:50:53 <tomsmeding> I use 'ranger' sometimes
14:50:58 <tomsmeding> usually 'ls' is enough
14:51:27 <maerwald[m]> Yeah, fish has so good completion that I don't bother most of the time
14:51:34 <tomsmeding> that
14:51:52 <tomsmeding> yay another fish user
14:52:04 <maerwald[m]> CWD aware completion
14:52:27 <tomsmeding> why is the $PWD variable named PWD and not CWD
14:52:48 <abastro> "Who uses file managers" windows user:
14:52:59 <tomsmeding> abastro: we were talking about linux
14:53:50 <maerwald[m]> Powershell has pretty good completion too
14:54:25 <tomsmeding> 80 to 90% of the time I'm looking at terminals full screen (heck, even my irc client runs in the terminal); 9.9 to 19.9% of the time looking at browser; 0.1% remainder looking at some other random app
14:54:49 dsrt^ joins (~dsrt@50.227.69.228)
14:54:53 × yauhsien quits (~yauhsien@61-231-19-191.dynamic-ip.hinet.net) (Remote host closed the connection)
14:55:40 yauhsien joins (~yauhsien@61-231-19-191.dynamic-ip.hinet.net)
14:55:41 <abastro> Sorry that I use vscode
14:56:06 <maerwald[m]> abastro: did you upgrade the haskell extension?
14:56:11 <abastro> Yes
14:56:18 <maerwald[m]> Does it work?
14:56:22 <abastro> It does
14:56:33 <maerwald[m]> That's a surprise xD
14:56:41 <tomsmeding> :')
14:56:43 <abastro> Well, it is a bit slower than before, but it at least works
14:57:13 <maerwald[m]> Yeah, runs more processes on start
14:57:54 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
14:59:15 abastro joins (~abab9579@220.75.216.63)
14:59:45 <abastro[m]> I wonder how looking at terminal works
15:00:01 <abastro[m]> Autocomplete never work well for me, as I always forget what exists
15:00:11 <tomsmeding> <tab><tab> gives listing :p
15:00:19 × yauhsien quits (~yauhsien@61-231-19-191.dynamic-ip.hinet.net) (Ping timeout: 240 seconds)
15:00:21 <tomsmeding> also fish autocomplete is just so much nicer than bash autocomplete
15:00:25 <tomsmeding> I hear that zsh is nice too
15:00:45 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
15:00:52 <abastro> I see, hmm
15:00:58 <abastro> For me that prints too many
15:01:09 <tomsmeding> also fish autofills (but doesn't commit yet) from history
15:01:14 <maerwald[m]> Maybe ghcup could use winery instead of parsing yaml every time
15:01:18 <maerwald[m]> https://hackage.haskell.org/package/winery
15:01:38 <tomsmeding> so if you've ran 'cd a/b/c' some time and you type 'cd a', it appends '/b/c' in grey font which you can commit with <rightarrow>
15:02:07 <abastro> I see, fish shell could be nice
15:02:14 <tomsmeding> and these autofills are CWD aware, so if the argument existed in the file system when you ran it in the history, fish remembers that and only autofills it if it now exists too
15:02:16 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Ping timeout: 272 seconds)
15:02:23 <tomsmeding> removes quite a few false positives
15:02:43 × coot quits (~coot@213.134.190.95) (Quit: coot)
15:02:46 <maerwald[m]> I actually don't like fish-the-shell-language
15:02:59 <maerwald[m]> But the default config and completion is unbeatable
15:03:03 tomsmeding writes shell scripts in bash still
15:03:04 <maerwald[m]> Zsh is just a mess
15:03:39 <tomsmeding> despite the fact that fish is supposed to be a nicer language to write actual scripts in
15:03:48 <abastro> XD "nicer language"
15:03:49 <maerwald[m]> And given that I type dangerous stuff into a shell, I don't want it to be messy
15:04:18 <maerwald[m]> tomsmeding: many things you can do in a single bash line, you need several in fish
15:04:28 <maerwald[m]> That breaks history
15:04:36 <abastro> Perhaps I have too many directories on $HOME
15:04:37 Fairek94 joins (~Fairek@194.35.45.32)
15:04:40 <tomsmeding> I know fairly well how bash quoting and word splitting works, at least with the idioms that I use, and I _require_ knowing precisely how that stuff works when doing dangerous stuff :p
15:05:09 <tomsmeding> maerwald[m]: fish lacks <<< which is super annoying, especially for one-liners :p
15:05:10 × Fairek94 quits (~Fairek@194.35.45.32) (Client Quit)
15:06:11 <tomsmeding> bash <(sed 's/\.md$/.html/' <<<"$fname") is just a lot shorter than fish (echo "$fname" | sed 's/\.md$/.html/' | psub)
15:06:42 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
15:06:57 <abastro> Complex commands woh
15:07:37 <tomsmeding> this stuff is useful with loops :p
15:08:58 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
15:10:45 × mikoto-chan quits (~mikoto-ch@D57C9A7A.static.ziggozakelijk.nl) (Ping timeout: 276 seconds)
15:10:48 <maerwald[m]> So sad yi is dead
15:12:51 yauhsien joins (~yauhsien@61-231-19-191.dynamic-ip.hinet.net)
15:13:41 mikoto-chan joins (~mikoto-ch@D57C9A7A.static.ziggozakelijk.nl)
15:14:03 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 246 seconds)
15:17:54 × mikoto-chan quits (~mikoto-ch@D57C9A7A.static.ziggozakelijk.nl) (Ping timeout: 246 seconds)
15:18:31 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
15:19:04 hololeap_ joins (~hololeap@user/hololeap)
15:19:26 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
15:20:04 × hololeap quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds)
15:20:36 abastro joins (~abab9579@220.75.216.63)
15:20:38 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 272 seconds)
15:21:59 <dmj`> maerwald[m]: emacs won't let you down
15:22:19 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.4)
15:24:12 <maerwald[m]> dmj`: no thanks, already had RSI xD
15:24:45 <maerwald[m]> And I'm quite happy with linux as my main OS
15:26:09 <abastro> emacs and OS?
15:26:39 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
15:26:50 wootehfoot joins (~wootehfoo@user/wootehfoot)
15:27:28 <maerwald[m]> But I think an editor in the style of xmonad architecture would be cool. Without scripting nonsense
15:28:12 <dmj`> maerwald[m]: heavier keys helped my RSI, shock absorbers.
15:28:19 hololeap_ is now known as hololeap
15:29:39 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
15:30:05 <maerwald[m]> dmj`: For me the opposite was true. Using red cherry mx switches
15:30:27 <maerwald[m]> Even have gateron white
15:30:35 × smitop2 quits (uid328768@id-328768.tinside.irccloud.com) (Quit: Connection closed for inactivity)
15:30:46 <maerwald[m]> They trigger if you sneeze
15:32:10 malinoskj290645 joins (~malinoskj@48.170-avail-pool-cc.sccoast.net)
15:33:30 × malinoskj29064 quits (~malinoskj@48.170-avail-pool-cc.sccoast.net) (Ping timeout: 276 seconds)
15:34:31 × Ether17 quits (~Ether17@45.248.151.237) (Quit: Client closed)
15:35:44 Ether17 joins (~Ether17@45.248.151.237)
15:35:45 neceve joins (~quassel@2.29.116.221)
15:35:58 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
15:36:17 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
15:37:04 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
15:37:23 worldhelloworld1 joins (uid543174@id-543174.helmsley.irccloud.com)
15:38:16 × sudden quits (~cat@user/sudden) (Quit: leaving)
15:41:32 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
15:41:37 sudden joins (~cat@user/sudden)
15:43:46 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
15:44:09 × vicfred quits (~vicfred@user/vicfred) (Quit: Leaving)
15:45:20 × fryguybob quits (~fryguybob@cpe-74-67-169-145.rochester.res.rr.com) (Ping timeout: 272 seconds)
15:46:57 <monochrom> <A> qwertyuiopasdfghjkl <B> Your cat? <A> No, I sneezed
15:48:05 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
15:50:15 <maerwald> yeah, gateron white actuation force is 35gf
15:50:24 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
15:50:37 <maerwald> only flat laptop key switches have lower
15:53:21 × yauhsien quits (~yauhsien@61-231-19-191.dynamic-ip.hinet.net) (Remote host closed the connection)
15:54:24 yauhsien joins (~yauhsien@61-231-19-191.dynamic-ip.hinet.net)
15:54:42 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
15:56:23 <worldhelloworld1> https://www.irccloud.com/pastebin/womt9nSr/
15:58:49 <worldhelloworld1> the order of function application is basically reversed in the above solution with recursion - just wondering how to go about it with 3 (or more?) functions
15:59:04 <dmj`> worldhelloworld1: the altMap' definition doesn't actually apply f' to x
16:00:00 <worldhelloworld1> it does - the first function is applied - with the next iteration f' will be applied, no?
16:01:49 <worldhelloworld1> check the reversed order for function application , ie, `f x : altMap' f' f xs`
16:02:04 king_gs joins (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d)
16:02:24 <dmj`> oh I'm sorry, you're right, didn't see the flip there
16:02:39 <dmj`> cool
16:03:19 × abastro quits (~abab9579@220.75.216.63) (Ping timeout: 240 seconds)
16:03:29 <worldhelloworld1> np, just wondering if there is an elegant way to do the same with 3 functions alternating - but struggling to think about it in a recursive/elegant manner
16:03:55 <dsal> > let am fs = zipWith ($) (cycle fs) in am [(*10), (*100), (*1000)] [1..10]
16:03:57 <lambdabot> [10,200,3000,40,500,6000,70,800,9000,100]
16:04:09 <abastro[m]> Wdym order is reversed?
16:04:17 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.4.1)
16:05:46 <worldhelloworld1> abastro[m] - the order of function application in the second equation
16:05:51 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 246 seconds)
16:07:11 <worldhelloworld1> dsal - yea could always use zipWith but trying to think recursion instead - looking for elegance, if any possible
16:07:20 <dsal> @src zipWith
16:07:20 <lambdabot> zipWith f (a:as) (b:bs) = f a b : zipWith f as bs
16:07:20 <lambdabot> zipWith _ _ _ = []
16:08:07 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
16:08:23 × xff0x_ quits (~xff0x@om126167099166.29.openmobile.ne.jp) (Read error: Connection reset by peer)
16:09:39 sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10)
16:09:42 <worldhelloworld1> is it possible to achieve the same using a similar structure to the 2 functions described above? without reporting to builtin functions like zipWith
16:10:27 <dsal> Your function above is very similar to zipWIth already.
16:11:42 <dsal> :t zipWith ($) (cycle [(*10), (*100), (*1000)])
16:11:44 <lambdabot> Num c => [c] -> [c]
16:11:53 <dsal> The only thing I did, was use zipWith to make the above.
16:12:11 <monochrom> threesome f g h (x:xs) = f x : threesome g h f xs ?
16:12:18 <worldhelloworld1> i would like to believe it's the usual recursion approach until exhaustion, ok let's say one doesn't want to use zipWith
16:12:39 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
16:12:52 <dsal> If you don't want to use zipWith, you could reinvent it trivially, as lambdabot showed you above.
16:13:56 <worldhelloworld1> monochrom - that looks incredibly simple!
16:14:21 <dmj`> worldhelloworld1: what's wrong with cycling the [a -> b] ?
16:15:07 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
16:15:24 <monochrom> I guess it's becasue I learend group theory.
16:15:31 <dsal> haha
16:16:00 <dsal> worldhelloworld1: Since you know the first list will be cycled, you could do the cycling yourself manually and use the thing where you reinvented map.
16:16:02 <worldhelloworld1> lol ..... nothing wrong I think , just was looking for a particular approach
16:16:19 <monochrom> From "f g" to "g f" is a permutation of 2 elements, you could read it as "flip" but you could read it as "rotate". For 2 elements they coincide.
16:16:21 <dsal> map itself wouldn't work because you need to rotate the functions.
16:16:39 <monochrom> So now just come up with a 3-element permutation that represents "rotate".
16:17:27 <worldhelloworld1> yepp that is it - let me try in my ghci since I don't know how to use the bot here
16:17:42 × shapr quits (~user@pool-173-73-44-186.washdc.fios.verizon.net) (Ping timeout: 276 seconds)
16:17:45 alp_ joins (~alp@user/alp)
16:17:53 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
16:23:18 gurkenglas joins (~gurkengla@84.57.85.111)
16:27:46 <worldhelloworld1> thanks! worked - don't know how i couldn't think of it when it was so deceptively simple .... monochrom .... thanks dsal too for the other approach
16:28:07 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
16:29:23 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
16:30:38 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
16:30:42 × Ether17 quits (~Ether17@45.248.151.237) (Quit: Client closed)
16:33:28 × malinoskj290645 quits (~malinoskj@48.170-avail-pool-cc.sccoast.net) (Ping timeout: 272 seconds)
16:35:22 Ether17 joins (~Ether17@45.248.151.250)
16:35:35 x_kuru joins (~xkuru@user/xkuru)
16:36:38 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
16:38:51 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
16:39:09 × xkuru quits (~xkuru@user/xkuru) (Ping timeout: 276 seconds)
16:43:03 cyanide4dinner joins (~cyanide4d@171.61.13.123)
16:43:04 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Ping timeout: 248 seconds)
16:44:06 coot joins (~coot@213.134.190.95)
16:45:56 wootehfoot joins (~wootehfoo@user/wootehfoot)
16:48:48 × CiaoSen quits (~Jura@p200300c95732ec002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 250 seconds)
16:49:17 × |beowulf| quits (1000@sourcemage/mage/beowulf) (Quit: = "")
16:53:06 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 246 seconds)
16:55:27 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
16:57:49 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
16:58:12 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
16:58:42 × yauhsien quits (~yauhsien@61-231-19-191.dynamic-ip.hinet.net) (Remote host closed the connection)
16:59:35 × fjmorazan quits (~quassel@user/fjmorazan) (Quit: fjmorazan)
17:00:01 Gilbert189 parts (~Gilbert18@user/Gilbert189) (Leaving)
17:00:10 fjmorazan joins (~quassel@user/fjmorazan)
17:01:12 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
17:01:31 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
17:02:33 × dcoutts_ quits (~duncan@host86-151-9-6.range86-151.btcentralplus.com) (Ping timeout: 276 seconds)
17:04:27 fef joins (~thedawn@user/thedawn)
17:06:03 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 256 seconds)
17:06:21 × coot quits (~coot@213.134.190.95) (Quit: coot)
17:08:38 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
17:08:40 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 248 seconds)
17:10:10 gpncarl joins (~gpncarl@120.244.220.254)
17:13:45 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 246 seconds)
17:14:33 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 256 seconds)
17:16:04 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
17:17:09 gpncarl joins (~gpncarl@120.244.220.254)
17:17:13 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Quit: Leaving)
17:19:15 wootehfoot joins (~wootehfoo@user/wootehfoot)
17:19:34 × king_gs quits (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d) (Ping timeout: 250 seconds)
17:22:15 yauhsien joins (~yauhsien@61-231-19-191.dynamic-ip.hinet.net)
17:22:19 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
17:24:29 titibandit joins (~titibandi@xdsl-89-0-37-242.nc.de)
17:25:02 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
17:25:18 × gpncarl quits (~gpncarl@120.244.220.254) (Ping timeout: 246 seconds)
17:25:36 jakalx parts (~jakalx@base.jakalx.net) ()
17:26:15 mvk joins (~mvk@2607:fea8:5ce3:8500::aa1d)
17:28:45 fryguybob joins (~fryguybob@cpe-74-67-169-145.rochester.res.rr.com)
17:31:09 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
17:32:09 jakalx joins (~jakalx@base.jakalx.net)
17:32:53 × titibandit quits (~titibandi@xdsl-89-0-37-242.nc.de) (Remote host closed the connection)
17:33:06 titibandit joins (~titibandi@xdsl-89-0-37-242.nc.de)
17:34:04 × Ether17 quits (~Ether17@45.248.151.250) (Quit: Client closed)
17:36:06 dcoutts_ joins (~duncan@host86-151-9-6.range86-151.btcentralplus.com)
17:43:14 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
17:43:54 o-90 joins (~o-90@gateway/tor-sasl/o-90)
17:43:58 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
17:46:04 × hololeap quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds)
17:47:37 jmdaemon joins (~jmdaemon@user/jmdaemon)
17:48:39 × alp_ quits (~alp@user/alp) (Ping timeout: 240 seconds)
17:49:23 × o-90 quits (~o-90@gateway/tor-sasl/o-90) (Remote host closed the connection)
17:50:00 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
17:50:33 econo joins (uid147250@user/econo)
17:51:03 × kspalaiologos quits (~kspalaiol@user/kspalaiologos) (Quit: Leaving)
17:52:06 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
17:53:19 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
17:54:33 × zyklotomic quits (~ethan@res388d-128-61-90-32.res.gatech.edu) (Ping timeout: 276 seconds)
17:55:56 zyklotomic joins (~ethan@res388d-128-61-94-44.res.gatech.edu)
17:57:16 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 250 seconds)
17:59:23 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
18:04:20 arjun joins (~arjun@user/arjun)
18:05:18 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
18:05:54 × deadmarshal_ quits (~deadmarsh@95.38.230.79) (Ping timeout: 246 seconds)
18:07:35 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
18:08:17 mikoto-chan joins (~mikoto-ch@77.94.246.239)
18:08:29 jakalx parts (~jakalx@base.jakalx.net) ()
18:11:09 × dextaa4 quits (~dextaa@user/dextaa) (Read error: Connection reset by peer)
18:13:14 dextaa4 joins (~dextaa@user/dextaa)
18:13:40 jakalx joins (~jakalx@base.jakalx.net)
18:14:48 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 248 seconds)
18:20:52 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Remote host closed the connection)
18:21:13 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
18:23:24 Unicorn_Princess joins (~Unicorn_P@93-103-228-248.dynamic.t-2.net)
18:27:50 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
18:34:33 bontaq joins (~user@ool-45779fe5.dyn.optonline.net)
18:34:59 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
18:35:47 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
18:40:24 × mikoto-chan quits (~mikoto-ch@77.94.246.239) (Ping timeout: 248 seconds)
18:40:59 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
18:43:46 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
18:43:57 coot joins (~coot@213.134.190.95)
18:44:05 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Ping timeout: 256 seconds)
18:50:09 × cyanide4dinner quits (~cyanide4d@171.61.13.123) (Quit: cyanide4dinner)
18:52:01 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 256 seconds)
18:53:00 dhil joins (~dhil@cpc103052-sgyl39-2-0-cust260.18-2.cable.virginm.net)
18:53:37 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
18:54:25 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
18:56:10 Sgeo joins (~Sgeo@user/sgeo)
19:00:24 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
19:02:39 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
19:05:45 kenran joins (~kenran@200116b82bca8f00c650de1a0d81ba2b.dip.versatel-1u1.de)
19:07:51 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 246 seconds)
19:10:09 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
19:14:29 king_gs joins (~Thunderbi@187.201.77.157)
19:15:48 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
19:18:06 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
19:18:50 hololeap joins (~hololeap@user/hololeap)
19:19:44 <hololeap> flag ghc-patched-unboxed-bytecode; description: The GHC version we link against supports unboxed sums and tuples in bytecode
19:19:53 <hololeap> https://github.com/haskell/haskell-language-server/commit/03e833b3427237061a11661da3b71aea882703f8
19:20:06 <hololeap> anyone know what this is talking about?
19:20:35 <hololeap> like, which versions support this?
19:21:49 machinedgod joins (~machinedg@24.105.81.50)
19:22:08 stackdroid18 joins (14094@user/stackdroid)
19:22:58 <hololeap> is it literally just referring to UnboxedTuples and UnboxedSums language extensions? so ghc >=8.2.1 ?
19:23:20 <tomsmeding> hololeap: this sounds relevant https://gitlab.haskell.org/ghc/ghc/-/issues/15617
19:23:31 <tomsmeding> hololeap: in particular this comment https://gitlab.haskell.org/ghc/ghc/-/issues/15617#note_286380
19:24:15 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
19:24:27 <hololeap> huh, ok
19:24:41 <tomsmeding> (found by searching on "unboxed sums bytecode" in the ghc issue tracker :p )
19:26:00 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
19:31:41 gustik joins (~gustik@2a01:c844:2457:2220:475d:34f:d571:996f)
19:32:04 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
19:34:03 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
19:34:12 × king_gs quits (~Thunderbi@187.201.77.157) (Read error: Connection reset by peer)
19:36:00 king_gs joins (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d)
19:43:54 alp_ joins (~alp@user/alp)
19:45:03 × coot quits (~coot@213.134.190.95) (Quit: coot)
19:45:36 coot joins (~coot@213.134.190.95)
19:46:34 × hololeap quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds)
19:48:15 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
19:48:28 × coot quits (~coot@213.134.190.95) (Client Quit)
19:48:32 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
19:48:53 hololeap joins (~hololeap@user/hololeap)
19:48:53 segfaultfizzbuzz joins (~segfaultf@192-184-223-90.static.sonic.net)
19:49:25 <segfaultfizzbuzz> i wasn't getting a quick response in #haskell-beginners so i am trying here, but feel free to tell me to get lost on this one. i'm making yet another attempt at learning haskell here and have defined a simple data structure:
19:49:34 <segfaultfizzbuzz> data V2 = { x :: Int, y :: Int }
19:50:04 <segfaultfizzbuzz> this is meant to be a vector over the integers. i've successfully defined a distance function and now i want to think about adding/subtracting etc these things
19:50:20 <segfaultfizzbuzz> i would, of course, define add and subtract functions but
19:50:42 <segfaultfizzbuzz> can i tell rust V2 is an abelian group or something like that ?
19:50:49 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
19:51:00 <tomsmeding> s/rust/haskell/?
19:51:24 <segfaultfizzbuzz> yeah sorry :)
19:51:35 <hololeap> there are libraries that have more fine-tuned typeclasses for numbers, but in stock haskell, you are stuck with Num
19:51:41 <tomsmeding> haskell has no type class for "abelian group", but it does have Num https://hackage.haskell.org/package/base-4.15.0.0/docs/Prelude.html#t:Num
19:52:28 dashkal joins (~dashkal@user/dashkal)
19:52:35 <tomsmeding> segfaultfizzbuzz: do you know how to make a type an instance of a type class?
19:53:01 <hololeap> % :i Num
19:53:10 <tomsmeding> yahb is dead
19:53:22 <hololeap> :(
19:53:25 <tomsmeding> yeah
19:53:58 <segfaultfizzbuzz> tomsmeding: i mean i can look up the syntax, i understand that as being fairly equivalent to using generic types even if it isn't technically equivalent
19:54:19 <tomsmeding> segfaultfizzbuzz: given your typo earlier, I take it you're at least somewhat familiar with rust?
19:54:23 <tomsmeding> if so, type class ~= trait
19:54:39 <tomsmeding> much more so than being similar to generics in C++/Go/Java
19:56:09 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 246 seconds)
19:56:17 <segfaultfizzbuzz> yeah i can make rust do things
19:56:28 <segfaultfizzbuzz> i am too dumb to program computers but i keep trying
19:56:57 <tomsmeding> segfaultfizzbuzz: here's an example of a Num instance, in this case for Ratio, a type for fractions https://hackage.haskell.org/package/base-4.15.0.0/docs/src/GHC-Real.html#line-495
19:57:03 <tomsmeding> ignore the SPECIALIZE
19:57:11 × neceve quits (~quassel@2.29.116.221) (Ping timeout: 256 seconds)
19:57:42 <tomsmeding> the '(Integral a) =>' is a _superclass constraint_: that header says that 'Ratio a', for any type 'a', is an instance of Num (with the below implementation) _if_ 'a' is an instance of Integral
19:57:57 <tomsmeding> in your case, V2 doesn't have any type parameters, so it would just be 'instance Num V2 where'
19:58:12 <hololeap> a typeclass is similar to an interface from Java. it basically means "this type must implement these functions", so if you wanted to write a Num instance for V2, you would need to write definitions for (+), (-), (*), etc
19:58:24 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
19:58:37 <tomsmeding> furthermore, the :% is actually the constructor of Ratio -- don't be fooled by the fact that it's written like an infix operator
19:59:07 <hololeap> but there is some hand waving. haskell can't enforce rules such as the commutativity of (+), so it's up to the programmer to do it correctly
19:59:32 <tomsmeding> (similarly to Rust, actually)
19:59:56 <hololeap> hence why quite a few typeclasses come with a set of rules that you are supposed to make sure are enforced in your instances
20:00:23 <segfaultfizzbuzz> can we rename "programmer" to "denial of service victim" ?
20:00:37 <tomsmeding> because there's too much to remember? :D
20:00:45 <segfaultfizzbuzz> yeah it's all just too much
20:01:12 × king_gs quits (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d) (Ping timeout: 250 seconds)
20:01:19 <tomsmeding> suggestion: write an instance of Eq for your V2
20:01:39 <segfaultfizzbuzz> i was starting to try to define (+)
20:01:52 <segfaultfizzbuzz> and... i am fighting maybe with how haskell handles parens or something ?
20:01:59 <segfaultfizzbuzz> (+) :: V2 -> V2 -> V2
20:02:13 <segfaultfizzbuzz> (+) a b = V2 (x a + x b) (y a + y b)
20:02:15 <tomsmeding> what are you writing? Parens with infix operators can be somewhat confusing if you're a haskell beginner
20:02:28 <tomsmeding> hm that looks okay actually
20:02:55 <tomsmeding> _oh_
20:03:05 <segfaultfizzbuzz> haskell complains about the second + which is relaly confusing
20:03:17 <tomsmeding> you're writing this as a top-level function, not in a Num instance, so you're shadowing the standard library (+) here
20:03:39 <tomsmeding> so both +'es in your definition now refer to your own V2 +
20:03:43 <tomsmeding> which isn't going to type check :p
20:03:54 <segfaultfizzbuzz> yeah i was kinda trying to overload
20:04:06 <tomsmeding> haskell doesn't do ad-hoc overloading like C++
20:04:19 <geekosaur> you have to define it as part of the instance, not as an "overload"
20:04:21 <segfaultfizzbuzz> lol thank the floppy disk gods
20:04:22 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
20:04:24 <tomsmeding> in order to overload (+) for a type T, you need to make T an instance of the class that (+) comes from
20:04:31 <tomsmeding> i.e. you'll have to make V2 an instance of Num
20:04:53 <tomsmeding> instance Num V2 where \n (+) a b = ...
20:05:09 <geekosaur> remember indentation
20:05:11 <tomsmeding> (a line break and indentation instead of \n)
20:05:15 <tomsmeding> yes lol
20:05:46 <tomsmeding> minor readability hack: this is also allowed: instance Num V2 where a + b = ...
20:05:47 yauhsien_ joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
20:06:15 <geekosaur> and all the other methods of Num, granting you may not care about some of them so you might simply define them as `undefined`
20:06:23 <geekosaur> (thinking of (*) in particular)
20:06:33 <tomsmeding> well, you can also just omit them, and GHC will spawn lots of warnings
20:06:34 <segfaultfizzbuzz> so i am telling haskell that V2 is a Num
20:06:35 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
20:06:37 <tomsmeding> yes
20:06:45 <tomsmeding> but warnings are not errors
20:06:49 × yauhsien quits (~yauhsien@61-231-19-191.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
20:06:51 CiaoSen joins (~Jura@p200300c95732ec002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
20:07:04 × fef quits (~thedawn@user/thedawn) (Ping timeout: 240 seconds)
20:07:16 king_gs joins (~Thunderbi@187.201.77.157)
20:07:19 <tomsmeding> (though this does indicate that Num is probably too large a class -- as you already indicated, it would've been nicer if there was an "abelian group" class)
20:07:56 <segfaultfizzbuzz> as an outsider it seems like the concepts of group, magma etc are senseless to name
20:08:06 <geekosaur> Num is Ring + fromInteger + signum, arguably. (one could also argue abs, but could also argue abs follows from Ring)
20:08:09 <segfaultfizzbuzz> one should simply say commutative, has identity, etc at a particulate level
20:08:20 <hololeap> there is "numeric-prelude" although it's pretty arcane: https://hackage.haskell.org/package/numeric-prelude-0.4.3.3/docs/Algebra-Additive.html
20:08:34 × king_gs quits (~Thunderbi@187.201.77.157) (Client Quit)
20:08:59 <tomsmeding> segfaultfizzbuzz: right, though "commutative" is kinda odd to have as a type class, because it doesn't add any new _methods_/_members_; and haskell type classes cannot enforce laws actively
20:09:36 pera joins (~pera@user/pera)
20:09:40 <segfaultfizzbuzz> yeah but lack of law enforcement is a language flaw
20:10:08 <geekosaur> not really, unless your language has a metalanguage built in
20:10:20 [Leary] joins (~Leary]@122-58-228-205-vdsl.sparkbb.co.nz)
20:10:21 <tomsmeding> it's not a flaw, it's a tradeoff
20:10:38 <geekosaur> but then your metalanguage needs a metametalanguage to prove things on the metalanguage level…
20:10:43 <segfaultfizzbuzz> if i ever understand how to program computers, my language will have infinitely recursive metalanguages
20:10:52 <hololeap> enforcing commutivity would require dependent types at the very least, I would think
20:10:54 <segfaultfizzbuzz> i will define the y languinator
20:10:57 <geekosaur> there's one already, Heard's Omega
20:11:05 <tomsmeding> if you care more about statically enforced correctness, not having it is a flaw; if you care more about implementability of the language or usability for programmers, _having_ it would be a flaw
20:11:15 <tomsmeding> there is a place for Agda and Idris, and there is a place for Haskell
20:11:23 <segfaultfizzbuzz> geekosaur: lol google doesn't know what this is
20:11:23 <tomsmeding> there is also a place for Go
20:11:37 <geekosaur> sorry I meant Sheard
20:11:44 <tomsmeding> segfaultfizzbuzz: "infinitely recursive metalanguages" that sounds suspiciously like a dependently-typed language
20:11:55 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 256 seconds)
20:12:13 <geekosaur> https://en.wikipedia.org/wiki/%CE%A9mega
20:12:16 <hololeap> yeah Idris actually does do this, but it sacrifices performance
20:12:32 <hololeap> if I understand correctly
20:13:02 <geekosaur> yes. everything comes at a price
20:13:12 <geekosaur> the question is whether you're willing to pay the price
20:13:37 <geekosaur> there are still arguments going on over dependent haskell because many haskellers are not convinced the price is worth it
20:13:51 <hololeap> haskell has good performance and a good track record, and gives you reasonable guarantees with its type system
20:13:54 <geekosaur> whereas its developer thinks it can be written while minimizing the price
20:14:15 <geekosaur> (but forgets that, once it's out there it will be used, anbd then everyone will be forced to pay the price)
20:14:37 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
20:14:52 <segfaultfizzbuzz> anyway so i will work out the instance syntax momentarily, but it looks like the major answer here is that
20:15:19 <segfaultfizzbuzz> even if i told haskell that V2 was an abelian group, it wouldn't get me anything at compile time as compared to just defining an add function, a subtraction function, etc
20:15:28 <tomsmeding> that's right
20:15:40 × _ht quits (~quassel@231-169-21-31.ftth.glasoperator.nl) (Remote host closed the connection)
20:15:58 <tomsmeding> GHC will not complain if you write this: instance Eq V2 where _ == _ = True ; _ /= _ = True
20:16:02 <hololeap> it would, however, inform you and anyone looking at your code of what it's supposed to do. there are also test suites that can check this kind of thing
20:16:05 <tomsmeding> which is obvious nonsense, and violates the laws
20:16:15 <segfaultfizzbuzz> hololeap: yeah it's effectively a comment
20:16:22 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
20:17:03 <tomsmeding> indeed, there are generic property tests written for quite a few of the standard classes: https://hackage.haskell.org/package/checkers-0.6.0/docs/Test-QuickCheck-Classes.html
20:17:13 <tomsmeding> (not for Num because the Num laws are kind of badly specified anyway)
20:17:34 <hololeap> it has more function than a comment
20:18:11 <segfaultfizzbuzz> so you can heuristically check
20:18:51 <segfaultfizzbuzz> wow neither google scholar nor google know what heard's omega is
20:18:59 mikoto-chan joins (~mikoto-ch@213.177.151.239)
20:19:13 pavonia joins (~user@user/siracusa)
20:19:21 <geekosaur> I told you earlier, I meant sheard. and sent https://en.wikipedia.org/wiki/%CE%A9mega
20:19:54 king_gs joins (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d)
20:20:05 <segfaultfizzbuzz> geekosaur: my bad i missed that, scrollback issue on my part
20:20:42 <segfaultfizzbuzz> i like the idea of a type function, that's interesting
20:21:09 <tomsmeding> @let type family F where F Int = Bool ; F Bool = Int
20:21:10 <lambdabot> /sandbox/tmp/.L.hs:156:9: error:
20:21:11 <lambdabot> • Number of parameters must match family declaration; expected 0
20:21:11 <lambdabot> • In the type family declaration for ‘F’
20:21:18 <tomsmeding> @let type family F a where F Int = Bool ; F Bool = Int
20:21:19 <lambdabot> Defined.
20:21:26 <tomsmeding> > True :: F Int
20:21:27 <lambdabot> True
20:21:31 <tomsmeding> that's a type function in Haskell :p
20:22:21 <geekosaur> we don't have generalized type functions though, just what amounts ot lookup tables
20:22:27 <maerwald> tomsmeding: playground is down?
20:22:37 <tomsmeding> rip?
20:22:54 <hololeap> but honestly, we can just look at the code and see if (+) is commutative or not and move on. this shouldn't be something to get hung up on
20:22:59 <maerwald> 502
20:23:33 <tomsmeding> "Apr 30 14:31:35 play-haskell systemd[1]: tom-pastebin-haskell.service: Deactivated successfully." O.o
20:24:27 × oxide quits (~lambda@user/oxide) (Quit: oxide)
20:25:29 × jespada quits (~jespada@cpc121022-nmal24-2-0-cust171.19-2.cable.virginm.net) (Quit: Textual IRC Client: www.textualapp.com)
20:25:49 × kenran quits (~kenran@200116b82bca8f00c650de1a0d81ba2b.dip.versatel-1u1.de) (Quit: WeeChat info:version)
20:25:49 <segfaultfizzbuzz> hololeap: are you talking to me?
20:26:46 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 250 seconds)
20:27:43 <tomsmeding> maerwald: lol earlyoom killed the server
20:27:49 <tomsmeding> segfaultfizzbuzz: I think hololeap was, yes
20:28:26 <maerwald> tomsmeding: huh
20:28:36 <maerwald> isn't memory constrained already?
20:28:40 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
20:29:02 <tomsmeding> memory of spawned bwrap processes should be constrained, the server itself can still crap out, but only because I messed up, presumably
20:29:08 <tomsmeding> question is, wtf happened
20:29:45 <segfaultfizzbuzz> well i did define (+) if you scholl up a little ways but i can paste again if someone really wants. this was resolved i thought by making V2 an instance of Num
20:29:50 tomsmeding was momentarily afraid someone had hacked through the bwrap defences and had deactivated the service as a joke, but luckily no such thing
20:30:28 <maerwald> imo it's more likely for someone to hack a haskell lib than to hack bwrap
20:30:36 <tomsmeding> :D
20:31:04 <tomsmeding> maerwald: any inspiration how I can set things up that next time this happens, I have more info than, well, zero
20:31:36 <tomsmeding> (in any case, server is running again)
20:31:44 <maerwald> prometheus?
20:31:52 <tomsmeding> ._.
20:32:02 <maerwald> yes, there's a GHC plugin for it even
20:32:57 <maerwald> @hackage prometheus-metrics-ghc
20:32:57 <lambdabot> https://hackage.haskell.org/package/prometheus-metrics-ghc
20:33:02 <maerwald> @hackage prometheus-proc
20:33:02 <lambdabot> https://hackage.haskell.org/package/prometheus-proc
20:33:47 <maerwald> @hackage wai-middleware-prometheus
20:33:47 <lambdabot> https://hackage.haskell.org/package/wai-middleware-prometheus
20:33:53 <maerwald> I've used those
20:34:04 nut joins (~haskellfi@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
20:35:07 <tomsmeding> right the first I looked at recently, which I used as inspiration for how to code this :p https://hackage.haskell.org/package/ghc-gc-hook
20:35:24 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Read error: Connection reset by peer)
20:36:01 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
20:36:01 × arjun quits (~arjun@user/arjun) (Quit: Leaving)
20:36:23 <tomsmeding> hm right
20:37:32 <segfaultfizzbuzz> i don't suppose there is a way of saying "passthrough" in haskell?
20:38:19 <segfaultfizzbuzz> for example Num wants me to define fromInteger, and so i would like to say that:
20:38:49 <segfaultfizzbuzz> fromInteger a = V2 (fromInteger x a) (fromInteger y a)
20:38:58 <tomsmeding> not really
20:39:06 <segfaultfizzbuzz> so it would be nice to say fromInteger a = passthrough fromInteger a
20:39:25 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Read error: Connection reset by peer)
20:39:39 × Vajb quits (~Vajb@n2bi4516ak7u68y31-2.v6.elisa-mobile.fi) (Ping timeout: 240 seconds)
20:39:58 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
20:39:59 <tomsmeding> shouldn't that be `V2 (fromInteger a) (fromInteger a)`
20:40:25 cyanide4dinner joins (~cyanide4d@171.61.13.123)
20:40:26 <segfaultfizzbuzz> a is V2 isn't it?
20:40:38 <tomsmeding> there's a bunch of ways in which you can try to golf that code, but ultimately, not really nicely
20:40:51 <tomsmeding> segfaultfizzbuzz: no, a :: Integer, because fromInteger :: Num a => Integer -> a
20:40:57 Vajb joins (~Vajb@2001:999:40:1ac3:ad36:85eb:10b3:b81b)
20:41:08 <tomsmeding> and even if it was a V2, it would've been `fromInteger (x a)`, not `fromInteger x a` ;)
20:41:24 rusty joins (~rustyboy@2a02:2f0e:5b17:3600:dc65:f04e:d4dd:7a0f)
20:41:29 rustyboy joins (~rustyboy@2a02:2f0e:5b17:3600:dc65:f04e:d4dd:7a0f)
20:41:46 <segfaultfizzbuzz> ah you are right... so then there is no method of doing fromInteger... can i say unimplemented or something? what do i do here
20:41:53 <segfaultfizzbuzz> you can't map from a single integer to an integer pair
20:41:56 <tomsmeding> = error "not implemented"
20:42:11 <tomsmeding> I repeat, the Num class is kind of too large
20:42:31 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 256 seconds)
20:42:51 jgeerds joins (~jgeerds@d53604b0.access.ecotel.net)
20:44:37 zeenk joins (~zeenk@2a02:2f04:a004:9b00:1efc:c1cf:378d:8b3d)
20:44:49 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
20:47:08 × king_gs quits (~Thunderbi@2806:103e:29:1f3f:8da7:e5:2a3:824d) (Ping timeout: 250 seconds)
20:50:42 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
20:51:02 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
20:51:02 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
20:51:02 wroathe joins (~wroathe@user/wroathe)
20:52:47 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
20:55:01 qy joins (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe)
20:55:23 × ix quits (~ix@2a02:8010:674f:0:d65d:64ff:fe52:5efe) (Ping timeout: 260 seconds)
20:57:59 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
20:58:24 <segfaultfizzbuzz> tomsmeding: what class would you suggest?
20:58:37 × rusty quits (~rustyboy@2a02:2f0e:5b17:3600:dc65:f04e:d4dd:7a0f) (Quit: Leaving)
20:58:37 × rustyboy quits (~rustyboy@2a02:2f0e:5b17:3600:dc65:f04e:d4dd:7a0f) (Quit: Leaving)
20:58:43 <geekosaur> there isn't one unless you switch to one of the numeric preludes
20:58:50 <geekosaur> Num wasn't really well thought out
20:58:51 <tomsmeding> segfaultfizzbuzz: I meant that there are arguments why the Num class should be split up
20:58:55 <tomsmeding> what geekosaur says
20:58:59 rusty joins (~rustyboy@2a02:2f0e:5b17:3600:dc65:f04e:d4dd:7a0f)
21:00:41 × yauhsien_ quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Remote host closed the connection)
21:00:44 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
21:01:07 <segfaultfizzbuzz> so it sounds like i am trying to push the envelope too much here and perhaps should just be happy with an add function, and move on...?
21:01:28 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
21:01:49 <geekosaur> you could just do `error "not meaningful"` and call it a day
21:04:34 <hololeap> it depends on if you want to find the perfect typeclass for your type, or if you want to continue learning the other basics of the language
21:06:12 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Ping timeout: 250 seconds)
21:06:20 acidjnk joins (~acidjnk@p200300d0c73b4502b9c6c7f353397b6d.dip0.t-ipconnect.de)
21:12:12 zebrag joins (~chris@user/zebrag)
21:14:22 × cyanide4dinner quits (~cyanide4d@171.61.13.123) (Remote host closed the connection)
21:16:42 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
21:17:48 <segfaultfizzbuzz> ok i almost have this typeclass implemented. abs a = V2 (Prelude.abs x a) (Prelude.abs y a)
21:18:10 <segfaultfizzbuzz> somehow haskell isn't happy with that or variations i have tried and considered obvious
21:18:29 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
21:18:34 <geekosaur> do you want that, or do you want to use your distance function (abs would be distance from V2 0 0)
21:18:44 <segfaultfizzbuzz> Num mandates that i return a V2
21:18:56 <geekosaur> mm, right
21:19:03 <geekosaur> in any case you're missing parens
21:19:19 <segfaultfizzbuzz> yeah i find haskell parens to be counter intuitive
21:19:24 <geekosaur> abs a = V2 (abs (x a)) (abs (y a))
21:19:53 <segfaultfizzbuzz> ha, it was a parens problem
21:19:56 <geekosaur> shouldn't need Prelude there unless you have again defined it outside the instance declaration
21:20:10 <segfaultfizzbuzz> ghci complains about abs being ambiguous unless i do that
21:21:25 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Read error: Connection reset by peer)
21:21:37 <segfaultfizzbuzz> well this is fun, the Num typeclass is working :-D
21:21:45 <geekosaur> then you have slipped it outside the instance definition again
21:21:51 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
21:21:59 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
21:22:15 <geekosaur> make sure your indentation is correct. or use braces if you don't want to use indentation
21:23:43 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
21:23:53 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 256 seconds)
21:24:04 × hololeap quits (~hololeap@user/hololeap) (Ping timeout: 240 seconds)
21:24:06 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Read error: Connection reset by peer)
21:24:17 <segfaultfizzbuzz> ah interesting re indentation
21:24:34 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
21:24:42 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 246 seconds)
21:24:48 <segfaultfizzbuzz> thanks for your help folks, tic tac toe is on it's way ;) bbl
21:24:53 <segfaultfizzbuzz> its way
21:26:15 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
21:27:08 × worldhelloworld1 quits (uid543174@id-543174.helmsley.irccloud.com) (Quit: Connection closed for inactivity)
21:29:42 × segfaultfizzbuzz quits (~segfaultf@192-184-223-90.static.sonic.net) (Ping timeout: 276 seconds)
21:35:47 × mvk quits (~mvk@2607:fea8:5ce3:8500::aa1d) (Ping timeout: 240 seconds)
21:35:47 × nut quits (~haskellfi@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 256 seconds)
21:36:36 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 246 seconds)
21:38:45 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
21:44:39 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
21:46:43 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
21:46:52 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
21:48:41 mvk joins (~mvk@2607:fea8:5ce3:8500::aa1d)
21:49:49 deadmarshal_ joins (~deadmarsh@95.38.118.198)
21:51:27 <tomsmeding> maerwald: ok installed some basic metrics, let's see if it happens again
21:54:06 × deadmarshal_ quits (~deadmarsh@95.38.118.198) (Ping timeout: 246 seconds)
21:57:21 × gustik quits (~gustik@2a01:c844:2457:2220:475d:34f:d571:996f) (Quit: Leaving)
21:58:15 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
21:58:16 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 248 seconds)
21:59:00 × bontaq quits (~user@ool-45779fe5.dyn.optonline.net) (Ping timeout: 272 seconds)
22:02:10 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
22:04:13 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
22:04:36 × dashkal quits (~dashkal@user/dashkal) (Ping timeout: 246 seconds)
22:04:58 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Read error: Connection reset by peer)
22:05:29 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
22:06:39 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Read error: Connection reset by peer)
22:06:50 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
22:09:46 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
22:11:04 king_gs joins (~Thunderbi@187.201.77.157)
22:12:26 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
22:15:12 × gehmehgeh quits (~user@user/gehmehgeh) (Remote host closed the connection)
22:15:12 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
22:15:22 chexum joins (~quassel@gateway/tor-sasl/chexum)
22:15:53 gehmehgeh joins (~user@user/gehmehgeh)
22:18:17 × dcoutts_ quits (~duncan@host86-151-9-6.range86-151.btcentralplus.com) (Ping timeout: 256 seconds)
22:18:39 × rusty quits (~rustyboy@2a02:2f0e:5b17:3600:dc65:f04e:d4dd:7a0f) (Quit: Leaving)
22:23:00 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
22:23:58 notzmv joins (~zmv@user/notzmv)
22:25:23 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
22:27:30 × king_gs quits (~Thunderbi@187.201.77.157) (Ping timeout: 272 seconds)
22:27:32 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
22:27:47 chexum joins (~quassel@gateway/tor-sasl/chexum)
22:28:15 yauhsien joins (~yauhsien@61-231-62-54.dynamic-ip.hinet.net)
22:31:08 × mvk quits (~mvk@2607:fea8:5ce3:8500::aa1d) (Ping timeout: 250 seconds)
22:32:09 <Bulby[m]> any good configuration libraries... tomland doesn't support dotted keys as tables 😭
22:33:01 × yauhsien quits (~yauhsien@61-231-62-54.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
22:35:06 × titibandit quits (~titibandi@xdsl-89-0-37-242.nc.de) (Remote host closed the connection)
22:35:19 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 240 seconds)
22:38:16 × stefan-_ quits (~cri@42dots.de) (Ping timeout: 272 seconds)
22:42:14 stefan-_ joins (~cri@42dots.de)
22:44:30 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
22:48:36 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
22:57:16 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
22:58:01 xaotuk joins (~sasha@net174-38-245-109.mbb.telenor.rs)
22:59:46 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
23:04:14 <Sgeo> Language with no typeclasses but algebraic effects. Should I try to fake typeclasses so I can do profunctor optics, or should I keep trying (and likely failing) to find a more idiomatic encoding of optics?
23:05:57 <EvanR> typeclasses are pretty cool
23:06:10 <EvanR> I always want them when they're not around
23:07:09 dequbed joins (~dequbed@banana-new.kilobyte22.de)
23:08:50 × zeenk quits (~zeenk@2a02:2f04:a004:9b00:1efc:c1cf:378d:8b3d) (Quit: Konversation terminated!)
23:09:27 × mmhat quits (~mmh@2001:4090:a242:802d:ee08:6bff:fe09:5315) (Quit: WeeChat 3.5)
23:10:28 <Sgeo> I think I can fake typeclasses well enough, but there's also no good type synonyms yet :(
23:12:41 segfaultfizzbuzz joins (~segfaultf@192-184-223-90.static.sonic.net)
23:12:51 × zebrag quits (~chris@user/zebrag) (Quit: Konversation terminated!)
23:14:32 × acidjnk quits (~acidjnk@p200300d0c73b4502b9c6c7f353397b6d.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
23:15:40 <hpc> specifically, i always find myself wanting Monad
23:15:59 × joo-_ quits (~joo-_@fsf/member/joo--) (Ping timeout: 240 seconds)
23:16:15 <hpc> working with promises makes me feel like https://www.youtube.com/watch?v=CkdyU_eUm1U
23:17:59 × segfaultfizzbuzz quits (~segfaultf@192-184-223-90.static.sonic.net) (Ping timeout: 240 seconds)
23:18:08 joo-_ joins (~joo-_@87-49-44-124-mobile.dk.customer.tdc.net)
23:18:09 × joo-_ quits (~joo-_@87-49-44-124-mobile.dk.customer.tdc.net) (Changing host)
23:18:09 joo-_ joins (~joo-_@fsf/member/joo--)
23:19:41 <abastro[m]> XD
23:19:49 wroathe joins (~wroathe@206-55-188-8.fttp.usinternet.com)
23:19:49 × wroathe quits (~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
23:19:49 wroathe joins (~wroathe@user/wroathe)
23:20:07 <abastro[m]> <del>at least there is half broken async await</del>
23:20:21 <EvanR> also +, <, other math operations for things not int or double
23:20:38 <EvanR> or similar to
23:20:41 <Sgeo> Why is Profunctor's method first' and not first ?
23:20:51 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
23:21:01 <EvanR> first is in Arrow already
23:24:46 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
23:26:11 × kaph quits (~kaph@net-2-42-128-205.cust.vodafonedsl.it) (Read error: Connection reset by peer)
23:26:33 segfaultfizzbuzz joins (~segfaultf@192-184-223-90.static.sonic.net)
23:30:50 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 272 seconds)
23:37:21 × jlamothe quits (~jlamothe@198.251.61.229) (Ping timeout: 246 seconds)
23:37:25 × x_kuru quits (~xkuru@user/xkuru) (Read error: Connection reset by peer)
23:37:42 jlamothe joins (~jlamothe@198.251.61.229)
23:38:12 <monochrom> It is not the first first. >:)
23:38:24 Guest|18 joins (~Guest|18@75-164-146-210.ptld.qwest.net)
23:39:03 × segfaultfizzbuzz quits (~segfaultf@192-184-223-90.static.sonic.net) (Ping timeout: 276 seconds)
23:41:37 segfaultfizzbuzz joins (~segfaultf@192-184-223-90.static.sonic.net)
23:41:37 × segfaultfizzbuzz quits (~segfaultf@192-184-223-90.static.sonic.net) (Client Quit)
23:41:59 <dsal> first to me is a bifunctor function.
23:42:21 × Midjak quits (~Midjak@82.66.147.146) (Quit: This computer has gone to sleep)
23:43:13 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
23:46:51 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 276 seconds)
23:46:57 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
23:51:03 × pera quits (~pera@user/pera) (Quit: leaving)
23:51:20 × CiaoSen quits (~Jura@p200300c95732ec002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
23:54:00 × xaotuk quits (~sasha@net174-38-245-109.mbb.telenor.rs) (Ping timeout: 276 seconds)
23:55:57 × alx741 quits (~alx741@host-181-198-243-150.netlife.ec) (Ping timeout: 276 seconds)
23:58:12 alx741 joins (~alx741@host-181-198-243-150.netlife.ec)
23:58:22 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
23:58:49 zachel joins (~zachel@user/zachel)
23:59:20 × zachel_ quits (~zachel@user/zachel) (Ping timeout: 248 seconds)

All times are in UTC on 2022-04-30.