Home liberachat/#haskell: Logs Calendar

Logs on 2021-09-23 (liberachat/#haskell)

00:01:17 × Guest8432 quits (~chris@81.96.113.213) (Ping timeout: 265 seconds)
00:02:50 × haskl quits (~haskl@user/haskl) (Ping timeout: 260 seconds)
00:04:53 × pbrisbin quits (~patrick@pool-173-49-147-250.phlapa.fios.verizon.net) (Ping timeout: 264 seconds)
00:10:29 × khanred quits (~khanred@user/khanred) (Quit: Leaving)
00:11:13 × Tuplanolla quits (~Tuplanoll@91-159-69-50.elisa-laajakaista.fi) (Quit: Leaving.)
00:16:49 lavaman joins (~lavaman@98.38.249.169)
00:16:55 tommd joins (~tommd@75-164-130-101.ptld.qwest.net)
00:18:12 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
00:19:09 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
00:20:36 <Axman6> janus: I sometimes feel like filter should have the type filter :: (a -> Maybe a) -> [a] -> [a] because it is clear(er) which results are kept and rejected, but that also too general
00:20:54 <glguy> :t mapMaybe
00:20:55 <lambdabot> (a -> Maybe b) -> [a] -> [b]
00:21:14 <Axman6> data KeepDrop = Keep | Drop; filter :: (a -> KeepDrop) -> [a] -> [a]
00:21:40 <Axman6> at least that is clear whether you are filtering in or out
00:22:38 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
00:23:38 <monochrom> > guard (== 10) [1, 10, 2, 10, 3]
00:23:40 <lambdabot> error:
00:23:40 <lambdabot> • Couldn't match expected type ‘Bool’ with actual type ‘a0 -> Bool’
00:23:40 <lambdabot> • In the first argument of ‘guard’, namely ‘(== 10)’
00:23:50 <monochrom> oops nevermind!
00:24:30 <monochrom> But I love too general.
00:24:48 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Quit: Leaving)
00:25:01 <monochrom> Alternative m => (a -> m b) -> [a] -> [a] :)
00:25:46 <monochrom> newtype BoolProxy a = BoolProxy Bool >:)
00:27:03 geekosaur joins (~geekosaur@xmonad/geekosaur)
00:27:11 <monochrom> err Alternative is too general. filter needs a way to ask "is this empty?"
00:27:54 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
00:28:06 lavaman joins (~lavaman@98.38.249.169)
00:28:16 <monochrom> (Monoid b, Eq b) => (a -> b) -> [a] -> [a] has a better chance, filter can ask "f x == mempty"
00:29:03 <monochrom> To be sure, equality is too strong, not general enough.
00:30:11 <monochrom> Foldable m => (a -> m b) -> [a] -> [a] Last proposal, Foldable supports "null". >:)
00:31:35 <monochrom> I think a lower-tech solution is s/filter/select/
00:32:31 <monochrom> But I like my well-versedness of Foldable :)
00:33:05 <Axman6> yeah, I would definitely like to see the name changed. alternative name to not confuse SQLians could be `keep`
00:33:41 <monochrom> I think there is nothing to confuse. In fact it needs the SQL analogy.
00:34:17 × alzgh quits (~alzgh@user/alzgh) (Remote host closed the connection)
00:34:17 <monochrom> "select (== 10) xs" and "select * from xs where x=10"
00:34:57 <awpr> isn't "select" supposed to refer to the field projection operator?
00:35:00 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
00:35:34 <monochrom> hehe OK!
00:36:45 <monochrom> Use generalised list comprehensions (TransformListComp), then it is SQL. >:)
00:37:23 × lbseale quits (~lbseale@user/ep1ctetus) (Read error: Connection reset by peer)
00:39:18 <monochrom> Enjoy this depravity! https://mail.haskell.org/pipermail/haskell-cafe/2018-February/128607.html
00:41:41 <monochrom> like SQL but in IO ---> "is this stored procedure?" meme :)
00:45:41 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
00:46:06 meinside joins (uid24933@id-24933.helmsley.irccloud.com)
00:46:14 × TheCoffeMaker quits (~TheCoffeM@user/thecoffemaker) (Ping timeout: 265 seconds)
00:48:33 TheCoffeMaker joins (~TheCoffeM@user/thecoffemaker)
00:49:41 × jespada quits (~jespada@2803:9800:9842:7a62:4d47:2975:7b31:a447) (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:50:06 pfurla joins (~pfurla@ool-182ed2e2.dyn.optonline.net)
00:50:22 jespada joins (~jespada@2803:9800:9842:7a62:4d47:2975:7b31:a447)
00:51:07 vicfred joins (~vicfred@user/vicfred)
00:51:48 × Null_A quits (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c) (Remote host closed the connection)
00:52:31 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)
00:53:02 × pfurla_ quits (~pfurla@ool-182ed2e2.dyn.optonline.net) (Ping timeout: 252 seconds)
00:53:52 Null_A joins (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c)
00:55:12 × jespada quits (~jespada@2803:9800:9842:7a62:4d47:2975:7b31:a447) (Client Quit)
00:56:23 × TheCoffeMaker quits (~TheCoffeM@user/thecoffemaker) (Ping timeout: 265 seconds)
00:59:35 TheCoffeMaker joins (~TheCoffeM@user/thecoffemaker)
01:00:44 × tommd quits (~tommd@75-164-130-101.ptld.qwest.net) (Ping timeout: 252 seconds)
01:00:44 × nfd quits (~nfd@user/nfd) (Ping timeout: 265 seconds)
01:05:08 × Null_A quits (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c) (Remote host closed the connection)
01:05:41 Null_A joins (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c)
01:05:41 lavaman joins (~lavaman@98.38.249.169)
01:06:19 pony joins (~ed@101.100.135.103)
01:08:46 × dsrt^ quits (~dsrt@12.203.127.82) (Remote host closed the connection)
01:09:05 × xff0x quits (~xff0x@2001:1a81:53e4:c100:9734:4648:32e:324) (Ping timeout: 264 seconds)
01:10:24 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 265 seconds)
01:10:51 xff0x joins (~xff0x@2001:1a81:5223:600:b86a:7176:6676:68da)
01:25:07 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
01:26:39 × Null_A quits (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c) (Remote host closed the connection)
01:32:25 × OutreEE quits (~OutreEE@modemcable105.60-176-173.mc.videotron.ca) (Quit: leaving)
01:34:35 Nahra joins (~user@static.161.95.99.88.clients.your-server.de)
01:35:30 justsomeguy joins (~justsomeg@user/justsomeguy)
01:37:37 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
01:40:02 lavaman joins (~lavaman@98.38.249.169)
01:42:41 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 264 seconds)
01:44:29 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 264 seconds)
01:46:34 × yinghua_ quits (~yinghua@2800:2121:1400:1db:8c9e:15bc:1174:e66f) (Quit: Leaving)
01:47:33 nehsou^ joins (~nehsou@12.203.127.82)
01:47:41 nfd joins (~nfd@user/nfd)
01:51:48 chris joins (~chris@81.96.113.213)
01:51:52 chris is now known as Guest4896
01:54:48 lavaman joins (~lavaman@98.38.249.169)
02:08:52 × waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Ping timeout: 252 seconds)
02:10:02 × shapr quits (~user@pool-100-36-247-68.washdc.fios.verizon.net) (Ping timeout: 252 seconds)
02:10:28 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 252 seconds)
02:13:46 × td_ quits (~td@94.134.91.222) (Ping timeout: 252 seconds)
02:13:51 thyriaen_ joins (~thyriaen@dynamic-077-011-207-214.77.11.pool.telefonica.de)
02:15:46 td_ joins (~td@94.134.91.102)
02:16:38 × thyriaen quits (~thyriaen@dynamic-078-054-003-131.78.54.pool.telefonica.de) (Ping timeout: 252 seconds)
02:25:19 × nfd quits (~nfd@user/nfd) (Ping timeout: 265 seconds)
02:33:51 × shriekingnoise quits (~shrieking@186.137.144.80) (Quit: Quit)
02:33:59 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
02:34:06 shriekingnoise joins (~shrieking@186.137.144.80)
02:43:35 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 252 seconds)
02:45:43 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
02:47:52 × Everything quits (~Everythin@37.115.210.35) (Quit: leaving)
02:49:06 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
02:55:44 × alx741 quits (~alx741@186.178.109.225) (Quit: alx741)
03:02:54 eruditass joins (uid248673@id-248673.uxbridge.irccloud.com)
03:06:04 × m5zs7k quits (aquares@web10.mydevil.net) (Quit: m5zs7k)
03:08:13 × n3t quits (n3t@s45.mydevil.net) (Ping timeout: 252 seconds)
03:08:53 × machinedgod quits (~machinedg@135-23-192-217.cpe.pppoe.ca) (Ping timeout: 252 seconds)
03:15:31 m5zs7k joins (aquares@web10.mydevil.net)
03:18:46 n3t joins (n3t@s45.mydevil.net)
03:22:34 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
03:23:19 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)
03:25:09 Phantastes joins (~Phantaste@c-67-173-229-120.hsd1.co.comcast.net)
03:34:05 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.2)
03:34:25 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
03:35:44 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
03:36:22 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 265 seconds)
03:40:14 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 265 seconds)
03:43:32 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
03:43:32 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
03:43:32 wroathe joins (~wroathe@user/wroathe)
03:47:55 × img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
03:50:51 × dragestil_ quits (~quassel@user/dragestil) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
03:52:14 img joins (~img@user/img)
03:59:25 × monochrom quits (trebla@216.138.220.146) (Quit: NO CARRIER)
04:00:40 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
04:05:29 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 264 seconds)
04:06:16 theproffesor joins (~theproffe@user/theproffesor)
04:14:39 × phma quits (~phma@host-67-44-209-25.hnremote.net) (Read error: Connection reset by peer)
04:15:36 phma joins (~phma@host-67-44-209-25.hnremote.net)
04:16:09 ubert joins (~Thunderbi@178.115.76.102.wireless.dyn.drei.com)
04:16:32 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 252 seconds)
04:18:25 benin036932301 joins (~benin@183.82.179.112)
04:33:34 × zebrag quits (~chris@user/zebrag) (Remote host closed the connection)
04:50:34 neo1 joins (~neo3@cpe-292712.ip.primehome.com)
04:50:46 × ubert quits (~Thunderbi@178.115.76.102.wireless.dyn.drei.com) (Remote host closed the connection)
05:00:11 × thyriaen_ quits (~thyriaen@dynamic-077-011-207-214.77.11.pool.telefonica.de) (Remote host closed the connection)
05:03:17 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:1c28:7782:3d08:8ee5) (Remote host closed the connection)
05:03:33 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:4ca1:d414:dc00:5f20)
05:08:53 × img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
05:10:15 img joins (~img@user/img)
05:16:09 × shriekingnoise quits (~shrieking@186.137.144.80) (Quit: Quit)
05:17:38 × slowButPresent quits (~slowButPr@user/slowbutpresent) (Quit: leaving)
05:19:39 × img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
05:19:48 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
05:20:41 img joins (~img@user/img)
05:21:05 fendor joins (~fendor@91.141.44.67.wireless.dyn.drei.com)
05:23:09 × img quits (~img@user/img) (Client Quit)
05:24:31 img joins (~img@user/img)
05:26:14 chomwitt joins (~chomwitt@2a02:587:dc15:500:12c3:7bff:fe6d:d374)
05:27:47 takuan joins (~takuan@178-116-218-225.access.telenet.be)
05:39:21 × fendor quits (~fendor@91.141.44.67.wireless.dyn.drei.com) (Remote host closed the connection)
05:43:03 monochrom joins (trebla@216.138.220.146)
05:43:39 neurocyte013 joins (~neurocyte@94.46.73.189)
05:43:39 × neurocyte013 quits (~neurocyte@94.46.73.189) (Changing host)
05:43:39 neurocyte013 joins (~neurocyte@user/neurocyte)
05:48:59 jakalx joins (~jakalx@base.jakalx.net)
05:53:53 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
05:58:49 leeb joins (~leeb@KD111239156011.au-net.ne.jp)
06:02:20 neurocyte0136 joins (~neurocyte@94.46.73.189)
06:02:20 × neurocyte0136 quits (~neurocyte@94.46.73.189) (Changing host)
06:02:20 neurocyte0136 joins (~neurocyte@user/neurocyte)
06:02:21 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
06:03:18 × neurocyte013 quits (~neurocyte@user/neurocyte) (Ping timeout: 265 seconds)
06:03:19 neurocyte0136 is now known as neurocyte013
06:04:18 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
06:05:37 mikoto-chan joins (~mikoto-ch@84.199.144.235)
06:05:51 × brainfreeze quits (~brainfree@2a03:1b20:4:f011::20d) (Remote host closed the connection)
06:07:05 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 252 seconds)
06:10:05 oxide joins (~lambda@user/oxide)
06:10:30 arpl joins (~arpl@84-107-171-239.cable.dynamic.v4.ziggo.nl)
06:13:17 × mikoto-chan quits (~mikoto-ch@84.199.144.235) (Ping timeout: 264 seconds)
06:14:52 × vicfred quits (~vicfred@user/vicfred) (Quit: Leaving)
06:15:08 lortabac joins (~lortabac@2a01:e0a:541:b8f0:9a4c:f98d:fe2a:f3fb)
06:16:08 × xff0x quits (~xff0x@2001:1a81:5223:600:b86a:7176:6676:68da) (Ping timeout: 246 seconds)
06:18:25 × leeb quits (~leeb@KD111239156011.au-net.ne.jp) (Quit: WeeChat 3.1)
06:24:14 Gurkenglas joins (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de)
06:25:18 michalz joins (~michalz@185.246.204.33)
06:26:47 max22- joins (~maxime@2a01cb088335980058a57494ba8a7fa3.ipv6.abo.wanadoo.fr)
06:31:04 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
06:32:52 ubert joins (~Thunderbi@178.115.76.102.wireless.dyn.drei.com)
06:33:21 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
06:43:57 dhouthoo joins (~dhouthoo@178-117-36-167.access.telenet.be)
06:46:58 <c_wraith> Oh hey, I finally found the documentation for what happened to typed template haskell in GHC 9: https://github.com/mpickering/ghc-proposals/blob/code-texp/proposals/0000-code-texp.rst
06:47:29 <c_wraith> man, that wasn't even listed in the ghc release notes
06:48:29 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
06:50:24 alzgh joins (~alzgh@user/alzgh)
06:56:58 xff0x joins (~xff0x@2001:1a81:5223:600:73c2:6d1c:8473:e5c)
06:59:36 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Remote host closed the connection)
07:00:13 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
07:00:34 wonko joins (~wjc@62.115.229.50)
07:02:42 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Remote host closed the connection)
07:08:51 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
07:09:26 fendor joins (~fendor@91.141.44.67.wireless.dyn.drei.com)
07:09:53 × tomsmeding quits (~tomsmedin@tomsmeding.com) (Quit: ZNC 1.8.2 - https://znc.in)
07:10:44 cfricke joins (~cfricke@user/cfricke)
07:13:34 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
07:13:34 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
07:14:04 × jassob1 quits (~jassob@korrob.vth.sgsnet.se) (Ping timeout: 252 seconds)
07:14:40 × max22- quits (~maxime@2a01cb088335980058a57494ba8a7fa3.ipv6.abo.wanadoo.fr) (Quit: Leaving)
07:15:57 tomsmeding joins (~tomsmedin@tomsmeding.com)
07:17:50 max22- joins (~maxime@2a01cb0883359800c2d20f3cebb254b2.ipv6.abo.wanadoo.fr)
07:22:18 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
07:26:03 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
07:31:04 × Phantastes quits (~Phantaste@c-67-173-229-120.hsd1.co.comcast.net) (Quit: Client closed)
07:32:26 × xff0x quits (~xff0x@2001:1a81:5223:600:73c2:6d1c:8473:e5c) (Ping timeout: 246 seconds)
07:35:34 × max22- quits (~maxime@2a01cb0883359800c2d20f3cebb254b2.ipv6.abo.wanadoo.fr) (Remote host closed the connection)
07:36:02 xff0x joins (~xff0x@2001:1a81:5223:600:4590:f64e:9612:bb35)
07:36:48 jassob1 joins (~jassob@korrob.vth.sgsnet.se)
07:39:18 chele joins (~chele@user/chele)
07:42:14 × oxide quits (~lambda@user/oxide) (Ping timeout: 252 seconds)
07:43:18 oxide joins (~lambda@user/oxide)
07:43:46 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 252 seconds)
07:44:44 max22- joins (~maxime@2a01cb0883359800314f2df76d295fb2.ipv6.abo.wanadoo.fr)
07:45:41 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
07:48:53 × max22- quits (~maxime@2a01cb0883359800314f2df76d295fb2.ipv6.abo.wanadoo.fr) (Remote host closed the connection)
07:59:45 deejaytee joins (~deejaytee@vpn-fn-228.net.ed.ac.uk)
08:05:07 acidjnk joins (~acidjnk@p200300d0c703cb18913af8c2365c753d.dip0.t-ipconnect.de)
08:05:40 hendursa1 joins (~weechat@user/hendursaga)
08:08:27 × hendursaga quits (~weechat@user/hendursaga) (Ping timeout: 276 seconds)
08:08:56 max22- joins (~maxime@2a01cb08833598003f8d109b31f91ec0.ipv6.abo.wanadoo.fr)
08:14:44 × max22- quits (~maxime@2a01cb08833598003f8d109b31f91ec0.ipv6.abo.wanadoo.fr) (Remote host closed the connection)
08:17:44 allbery_b joins (~geekosaur@xmonad/geekosaur)
08:17:44 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
08:17:47 allbery_b is now known as geekosaur
08:20:40 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 252 seconds)
08:21:55 × oxide quits (~lambda@user/oxide) (Ping timeout: 268 seconds)
08:29:29 rond_ joins (~rond_@2a02:a31a:a23c:f480:2fd7:e087:5546:a438)
08:34:44 oxide joins (~lambda@user/oxide)
08:35:46 madjestic joins (~madjestic@88-159-247-120.fixed.kpn.net)
08:39:56 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
08:41:48 × hnOsmium0001 quits (uid453710@id-453710.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
08:42:09 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:4ca1:d414:dc00:5f20) (Remote host closed the connection)
08:42:35 jstolarek joins (~jstolarek@erx128.neoplus.adsl.tpnet.pl)
08:43:32 × pony quits (~ed@101.100.135.103) (Quit: WeeChat 3.0.1)
08:49:16 × jstolarek quits (~jstolarek@erx128.neoplus.adsl.tpnet.pl) (Quit: leaving)
08:53:51 <lortabac> imagine it was technically possible to have Functor and Traversable instances for Set, would such instances be lawful?
08:54:46 <dminuoso> No.
08:55:14 <dminuoso> `fmap (const 1)`
08:55:17 <dminuoso> What now?
08:55:20 <lortabac> technically the laws are not violated, but the documentation says "preserving the structure" and "same shape" in bold
08:56:11 __monty__ joins (~toonn@user/toonn)
08:57:09 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
08:57:10 <dminuoso> Or rather, if we had functor on fmap, we could modify the set structure
08:57:22 <dminuoso> functor on set, argh.
08:59:27 <lortabac> I agree with you that it's morally wrong, but a colleague of mine made me notice that the laws are not violated
08:59:56 <dminuoso> Is associativity preserved?>
09:00:05 × Teohehim[m] quits (~teocmatri@2001:470:69fc:105::d327) (Quit: You have been kicked for being idle)
09:00:14 <dminuoso> I'd think not
09:00:26 Teohehim[m] joins (~teocmatri@2001:470:69fc:105::d327)
09:02:18 <dminuoso> But otoh, if we take free theorems, we just need to prove that `fmap id = id`
09:02:22 <dminuoso> So I guess you're right.
09:02:29 <lortabac> I don't actually know
09:03:16 <dminuoso> I mean composition of functions is associative, irrespective of whether they are injective or not.
09:03:38 × benin036932301 quits (~benin@183.82.179.112) (Ping timeout: 252 seconds)
09:04:15 <tomsmeding> I don't even see an associativity law in the Functor type class
09:04:40 <dminuoso> Oh sorry, I meant composition.
09:04:47 <dminuoso> Im going back to work now.
09:05:14 <tomsmeding> Things get hairy though when the ordering on your contained types doesn't have structural equality
09:05:56 <tomsmeding> like, data Thing a = Thing a Int ; instance Eq a => Eq (Thing a) where Thing x _ == Thing y _ = x == y ; instance Ord a => Ord (Thing a) where compare (Thing x _) (Thing y _) = compare x y
09:06:38 <dminuoso> Does it, though?
09:07:04 <tomsmeding> let f (Thing x y) = Thing y x
09:07:07 <dminuoso> Just to get that part away, there is a library on hackage with constrained typeclasses.
09:07:16 <dminuoso> So with that we could make a Functor-like typeclass for Set.
09:07:22 <dminuoso> Cant recall its name right now
09:07:49 <dminuoso> But we can relatively trivially make it ourselves, you just carry a set of constraints as an associated type in the typeclass.
09:07:53 <tomsmeding> fmap f (fmap f (Set.fromList [Thing 1 10, Thing 2 10, Thing 3 10])) = Set.fromList [Thing ? 10] for some non-deterministic value of ?
09:08:08 <tomsmeding> but f . f = id, so fmap (f . f) (Set.fromList [things]) = Set.fromList [things]
09:08:16 tfeb joins (~tfb@88.98.95.237)
09:08:23 <lortabac> thanks tomsmeding
09:08:46 <dminuoso> tomsmeding: We only need to prove `fmap id = id`
09:08:49 <tomsmeding> this example presented by Thing 10 1 == Thing 10 2
09:08:51 <dminuoso> Free theorems.
09:09:00 <dminuoso> Though, do they even apply here?
09:09:02 <tomsmeding> well fmap id = id here!
09:09:06 <dminuoso> I think they do.
09:09:08 <dminuoso> Yes.
09:09:15 <tomsmeding> but the composition law doesn't hold :p
09:09:52 <tomsmeding> but really, the type of some 'ordfmap' would be (Ord a, Ord b) => (a -> b) -> f a -> f b
09:10:03 <dminuoso> tomsmeding: mmm, arguably thye are still the same.
09:10:13 <tomsmeding> meaning that it has two additional pieces of data, the Ord dictionaries; so I think the free theorem would get a lot more complicated
09:10:26 tomsmeding doesn't know enough about free theorems to be able to say what they would become here
09:10:33 <dminuoso> So lets make it concrete
09:10:35 lavaman joins (~lavaman@98.38.249.169)
09:14:59 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 246 seconds)
09:17:33 <tomsmeding> dminuoso: https://paste.tomsmeding.com/dIxK0hCQ
09:21:02 × neo1 quits (~neo3@cpe-292712.ip.primehome.com) (Remote host closed the connection)
09:21:12 <dminuoso> Ah.
09:25:52 <sshine> when 'data Foo f = Foo { fooBar :: f Bar }' cannot derive Eq, Ord, Show, is that because of an impossibility? I imagine that the instance would have to look like 'Show (f Bar) => Show (Foo f)'...
09:26:04 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 252 seconds)
09:26:10 <tomsmeding> also not when you set FlexibleContexts?
09:26:46 <tomsmeding> in any case, with FlexibleContexts, you can use StandaloneDeriving to write it yourself: deriving instance Show (f Bar) => Show (Foo f)
09:26:48 <merijn> sshine: You can standalone derive it
09:26:57 <merijn> ah, too late
09:26:59 tomsmeding was first
09:27:17 <merijn> (Show1 f) might also work :p
09:28:12 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
09:29:05 <sshine> thanks :)
09:31:58 <sshine> then if I've got a whole bunch of fields prefixed with f, then that seems a little inconvenient. I guess I could derive my instances for particular f rather than all f.
09:33:17 <sshine> there's a bunch for which it doesn't make any sense anyways.
09:36:04 × tfeb quits (~tfb@88.98.95.237) (Quit: died)
09:42:40 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:4ca1:d414:dc00:5f20)
09:43:42 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Remote host closed the connection)
09:45:44 kuribas joins (~user@ip-188-118-57-242.reverse.destiny.be)
09:46:24 <kuribas> lens > gcc: runInteractiveProcess: posix_spawnp: resource exhausted (Cannot allocate memory)
09:46:31 <kuribas> Why would lens require > 3 GB?
09:46:38 <kuribas> also, why does lens call gcc?
09:46:48 <kuribas> or is this during linking?
09:47:29 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:4ca1:d414:dc00:5f20) (Ping timeout: 264 seconds)
09:47:59 pera joins (~pera@user/pera)
09:49:17 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
09:50:46 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Remote host closed the connection)
09:52:48 <[exa]> kuribas: likely
09:53:36 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
09:56:14 marmayr joins (~marmayr@193-154-203-202.adsl.highway.telekom.at)
09:58:26 × wonko quits (~wjc@62.115.229.50) (Changing host)
09:58:26 wonko joins (~wjc@user/wonko)
09:58:41 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 265 seconds)
10:02:07 × rond_ quits (~rond_@2a02:a31a:a23c:f480:2fd7:e087:5546:a438) (Ping timeout: 256 seconds)
10:04:04 euandreh_ joins (~euandreh@2804:14c:33:9fe5:62bf:2631:9503:606c)
10:04:44 gehmehgeh joins (~user@user/gehmehgeh)
10:05:16 mc47 joins (~mc47@xmonad/TheMC47)
10:07:09 rond_ joins (~rond_@2a02:a31a:a23c:f480:2fd7:e087:5546:a438)
10:09:38 × Gurkenglas quits (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de) (Ping timeout: 252 seconds)
10:12:07 × phma quits (~phma@host-67-44-209-25.hnremote.net) (Read error: Connection reset by peer)
10:12:47 phma joins (~phma@host-67-44-209-62.hnremote.net)
10:14:58 Nova_ joins (~textual@2405:4802:15e:7450:c0c8:2b0d:7922:9178)
10:17:43 Nova_ parts (~textual@2405:4802:15e:7450:c0c8:2b0d:7922:9178) ()
10:18:45 Nova_ joins (~textual@2405:4802:15e:7450:c0c8:2b0d:7922:9178)
10:21:56 Nova_ parts (~textual@2405:4802:15e:7450:c0c8:2b0d:7922:9178) (Textual IRC Client: www.textualapp.com)
10:26:18 × cheater quits (~Username@user/cheater) (Ping timeout: 260 seconds)
10:26:20 cheater1__ joins (~Username@user/cheater)
10:26:23 cheater1__ is now known as cheater
10:30:54 <tomsmeding> kuribas: compiling aeson takes >2GB, if I recall correctly the same holds for vector, perhaps to a slightly lesser degree
10:30:59 <tomsmeding> /me is not surprised
10:31:38 × dumbsharka quits (~amirvince@user/amirvincent64) (Ping timeout: 252 seconds)
10:31:48 <kuribas> tomsmeding: I have 3 GB, (no swap).
10:31:59 <kuribas> we added 2 GB and 4 GB swap, now it compiles :)
10:32:16 <tomsmeding> haskell (tm)
10:32:19 × ulvarrefr quits (~user@185.24.53.152) (Remote host closed the connection)
10:32:30 dumbsharka joins (~amirvince@user/amirvincent64)
10:33:18 notzmv joins (~zmv@user/notzmv)
10:33:57 <maerwald> `module <...> cannot be linked; it is only available as a boot module`
10:34:00 <maerwald> uh
10:34:07 Nova____________ joins (~novadev@2405:4802:15e:7450:c0c8:2b0d:7922:9178)
10:34:21 Nova____________ parts (~novadev@2405:4802:15e:7450:c0c8:2b0d:7922:9178) ()
10:34:48 <maerwald> this is a lie
10:37:00 <maerwald> I think TH breaks this
10:37:07 <tomsmeding> that's what you think
10:37:58 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
10:38:14 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 252 seconds)
10:39:26 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
10:40:48 pbrisbin joins (~patrick@pool-173-49-147-250.phlapa.fios.verizon.net)
10:40:54 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:42:29 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
10:45:34 × frisbro_ quits (uid518331@id-518331.helmsley.irccloud.com) (Quit: Connection closed for inactivity)
10:45:34 × frisbro quits (uid518331@id-518331.helmsley.irccloud.com) (Quit: Connection closed for inactivity)
10:45:59 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
10:46:23 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:47:04 × ishutin quits (~ishutin@80-95-82-223.pool.digikabel.hu) (Ping timeout: 252 seconds)
10:48:50 ishutin joins (~ishutin@62-165-196-48.pool.digikabel.hu)
10:51:51 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)
10:52:10 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
10:52:18 \Nova joins (~novadev@2405:4802:15e:7450:c0c8:2b0d:7922:9178)
10:57:22 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
10:57:58 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:00:44 alx741 joins (~alx741@186.178.109.225)
11:02:59 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
11:03:40 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
11:04:53 × pbrisbin quits (~patrick@pool-173-49-147-250.phlapa.fios.verizon.net) (Ping timeout: 246 seconds)
11:08:38 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
11:11:00 AlexNoo_ joins (~AlexNoo@94.233.241.29)
11:12:41 × AlexZenon quits (~alzenon@94.233.241.181) (Ping timeout: 264 seconds)
11:13:52 × Alex_test quits (~al_test@94.233.241.181) (Ping timeout: 252 seconds)
11:14:22 × AlexNoo quits (~AlexNoo@94.233.241.181) (Ping timeout: 260 seconds)
11:17:05 AlexZenon joins (~alzenon@94.233.241.29)
11:17:54 Alex_test joins (~al_test@94.233.241.29)
11:19:47 × Teohehim[m] quits (~teocmatri@2001:470:69fc:105::d327) (Quit: You have been kicked for being idle)
11:21:20 × \Nova quits (~novadev@2405:4802:15e:7450:c0c8:2b0d:7922:9178) (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:21:41 \Nova joins (~novadev@2405:4802:15e:7450:c0c8:2b0d:7922:9178)
11:21:41 × \Nova quits (~novadev@2405:4802:15e:7450:c0c8:2b0d:7922:9178) (Client Quit)
11:23:26 \Nova joins (~novadev@2405:4802:15e:7450:c0c8:2b0d:7922:9178)
11:23:27 × \Nova quits (~novadev@2405:4802:15e:7450:c0c8:2b0d:7922:9178) (Client Quit)
11:32:13 × alzgh quits (~alzgh@user/alzgh) (Ping timeout: 256 seconds)
11:35:27 <TDANG_> I want to learn Plutus. Where to get started?
11:37:39 <maerwald> TDANG_: https://plutus-pioneer-program.readthedocs.io/en/latest/index.html
11:38:02 <maerwald> if you've never done haskell, that won't be an easy experience
11:38:27 <maerwald> even for haskellers I'd say plutus is pretty advanced Haskell and has complicated API
11:38:33 <TDANG_> I learned basic Haskell already
11:38:47 <maerwald> maybe wait for Marlowe
11:38:53 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.2.1)
11:38:57 <maerwald> Plutus isn't basic haskell, unfortunately
11:39:08 <TDANG_> Oh, I see
11:40:00 <TDANG_> So I need to learn advance Haskell first
11:40:01 <TDANG_> Thanks
11:41:26 <sshine> TDANG_, I think you start here: https://docs.cardano.org/plutus/learn-about-plutus
11:41:58 <TDANG_> ya, thanks
11:42:28 <TDANG_> any source from Youtube?
11:43:22 <sshine> TDANG_, I don't know. I wish I knew of some way to discover what youtube videos existed given some set of keywords. :-D
11:43:55 <TDANG_> ;-) thanks anyway
11:44:45 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:4ca1:d414:dc00:5f20)
11:49:44 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:4ca1:d414:dc00:5f20) (Ping timeout: 268 seconds)
11:52:02 <sshine> TDANG_, it seems that the main challenge in learning Plutus is understanding the domain model of the Cardano blockchain. even the simplest examples of a Plutus contract uses a bunch of terminology and what appears to be stubs.
11:52:12 <sshine> TDANG_, https://www.youtube.com/watch?v=IEn6jUo-0vU -- I think this is a good start on youtube.
11:52:34 AlexNoo_ is now known as AlexNoo
11:53:07 neo1 joins (~neo3@cpe-292712.ip.primehome.com)
11:53:37 <TDANG_> Ya, I watched that video series and it seems to be too complicated too
11:53:53 <maerwald> sshine: I think the only time when you actually submit a contract is when you *redeem*. The "control flow" isn't well documented imo.
11:54:16 <TDANG_> Ya
11:54:38 <maerwald> before that it's just addresses and hashes
11:54:48 <maerwald> a huge pile of those
11:55:01 <TDANG_> Phew
11:55:17 <maerwald> TDANG_: but you can try the plutus playground
11:55:28 <maerwald> https://playground.plutus.iohkdev.io/
12:00:16 frisbro_ joins (uid518331@id-518331.helmsley.irccloud.com)
12:02:21 bontaq joins (~user@ool-45779fe5.dyn.optonline.net)
12:02:50 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
12:07:03 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
12:07:36 <sshine> maerwald, good to know. I don't know much about how Cardano's runtime works.
12:09:02 machinedgod joins (~machinedg@135-23-192-217.cpe.pppoe.ca)
12:09:55 jespada joins (~jespada@2803:9800:9842:7a62:4d47:2975:7b31:a447)
12:11:08 tommd joins (~tommd@75-164-130-101.ptld.qwest.net)
12:11:32 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
12:25:22 × deejaytee quits (~deejaytee@vpn-fn-228.net.ed.ac.uk) (Ping timeout: 252 seconds)
12:26:30 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "")
12:26:50 yinghua joins (~yinghua@2800:2121:1400:1db:e974:19dd:c7f3:8cf6)
12:28:34 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Remote host closed the connection)
12:29:09 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
12:31:58 lbseale joins (~lbseale@user/ep1ctetus)
12:32:18 × tinwood quits (~tinwood@canonical/tinwood) (Remote host closed the connection)
12:33:42 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
12:35:16 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 252 seconds)
12:35:24 tinwood joins (~tinwood@general.default.akavanagh.uk0.bigv.io)
12:35:24 × tinwood quits (~tinwood@general.default.akavanagh.uk0.bigv.io) (Changing host)
12:35:24 tinwood joins (~tinwood@canonical/tinwood)
12:36:32 × arpl quits (~arpl@84-107-171-239.cable.dynamic.v4.ziggo.nl) (Quit: Client closed)
12:41:39 arpl joins (~arpl@84-107-171-239.cable.dynamic.v4.ziggo.nl)
12:42:17 × arpl quits (~arpl@84-107-171-239.cable.dynamic.v4.ziggo.nl) (Client Quit)
12:43:23 shapr joins (~user@pool-100-36-247-68.washdc.fios.verizon.net)
12:47:37 fendor_ joins (~fendor@178.165.167.3.wireless.dyn.drei.com)
12:50:14 × fendor quits (~fendor@91.141.44.67.wireless.dyn.drei.com) (Ping timeout: 252 seconds)
12:51:06 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
12:54:19 × Guest4896 quits (~chris@81.96.113.213) (Remote host closed the connection)
12:56:09 biberu\ joins (~biberu@user/biberu)
12:57:41 waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd)
12:59:37 × biberu quits (~biberu@user/biberu) (Ping timeout: 252 seconds)
12:59:37 biberu\ is now known as biberu
13:02:10 slowButPresent joins (~slowButPr@user/slowbutpresent)
13:03:42 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Remote host closed the connection)
13:05:59 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
13:06:51 deejaytee joins (~deejaytee@pat-125-254.wlan.net.ed.ac.uk)
13:07:40 × MQ-17J quits (~MQ-17J@d192-24-122-179.try.wideopenwest.com) (Ping timeout: 265 seconds)
13:07:59 MQ-17J joins (~MQ-17J@8.21.10.6)
13:09:24 doyougnu joins (~user@c-73-25-202-122.hsd1.or.comcast.net)
13:10:34 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
13:14:03 × wagle quits (~wagle@quassel.wagle.io) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
13:14:36 wagle joins (~wagle@quassel.wagle.io)
13:15:47 × cheater quits (~Username@user/cheater) (Ping timeout: 246 seconds)
13:16:11 cheater joins (~Username@user/cheater)
13:19:24 × wagle quits (~wagle@quassel.wagle.io) (Client Quit)
13:19:55 wagle joins (~wagle@quassel.wagle.io)
13:23:06 cfricke joins (~cfricke@user/cfricke)
13:23:35 × deejaytee quits (~deejaytee@pat-125-254.wlan.net.ed.ac.uk) (Quit: Leaving)
13:24:18 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
13:24:43 geekosaur joins (~geekosaur@xmonad/geekosaur)
13:26:38 Guest372 joins (~xxx@47.245.54.240)
13:27:46 <dminuoso> Does someone know where in Haskell I can find IMF time/date serialization routines? Im already using servant/warp, so if there's something in my transitive dependency tree that'd be ideal
13:28:21 <dminuoso> If it helps, that's the same format as HTTP Expires or Last-Modified headers use.
13:29:43 <dminuoso> My concrete problem is, I want to encode a timestamp in an Expires header in a servant response.
13:33:26 pbrisbin joins (~patrick@pool-173-49-147-250.phlapa.fios.verizon.net)
13:38:29 × waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Ping timeout: 264 seconds)
13:40:09 hexfive joins (~eric@50.35.83.177)
13:40:27 × hendursa1 quits (~weechat@user/hendursaga) (Quit: hendursa1)
13:40:56 hendursaga joins (~weechat@user/hendursaga)
13:41:50 Wolfe joins (~Wolfe@bras-base-mltnon2530w-grc-42-184-145-76-196.dsl.bell.ca)
13:43:14 zebrag joins (~chris@user/zebrag)
13:43:36 × hexfive quits (~eric@50.35.83.177) (Client Quit)
13:45:01 nschoe joins (~quassel@178.251.84.79)
13:46:10 × fendor_ quits (~fendor@178.165.167.3.wireless.dyn.drei.com) (Remote host closed the connection)
13:49:33 byorgey joins (~byorgey@155.138.238.211)
13:50:33 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
13:50:33 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
13:50:33 wroathe joins (~wroathe@user/wroathe)
13:50:38 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
13:55:31 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 265 seconds)
14:01:08 shriekingnoise joins (~shrieking@186.137.144.80)
14:03:46 × MQ-17J quits (~MQ-17J@8.21.10.6) (Ping timeout: 260 seconds)
14:04:22 × neo1 quits (~neo3@cpe-292712.ip.primehome.com) (Ping timeout: 252 seconds)
14:05:16 × Wolfe quits (~Wolfe@bras-base-mltnon2530w-grc-42-184-145-76-196.dsl.bell.ca) (Quit: Client closed)
14:06:53 × alx741 quits (~alx741@186.178.109.225) (Ping timeout: 246 seconds)
14:08:35 × kimjetwav quits (~user@2607:fea8:235f:9730:158b:8b68:ef55:bdbf) (Quit: logout)
14:10:36 Everything joins (~Everythin@37.115.210.35)
14:15:51 hnOsmium0001 joins (uid453710@id-453710.hampstead.irccloud.com)
14:18:19 × rond_ quits (~rond_@2a02:a31a:a23c:f480:2fd7:e087:5546:a438) (Quit: Client closed)
14:19:58 alx741 joins (~alx741@181.196.69.154)
14:21:10 × mjrosenb quits (~mjrosenb@pool-108-54-97-96.nycmny.fios.verizon.net) (Remote host closed the connection)
14:22:36 superstar64 joins (~superstar@2600:1700:ed80:50a0:d250:99ff:fe2c:53c4)
14:23:06 <superstar64> Is `(forall m. Monad m => m a)` isomorphic to `a`?
14:23:11 × dextaa quits (~DV@user/dextaa) (Ping timeout: 252 seconds)
14:23:29 <dminuoso> No.
14:23:38 rond_ joins (~rond_@2a02:a31a:a23c:f480:2fd7:e087:5546:a438)
14:24:05 × acidjnk quits (~acidjnk@p200300d0c703cb18913af8c2365c753d.dip0.t-ipconnect.de) (Ping timeout: 264 seconds)
14:24:33 <superstar64> what stops it from being isomorphic? Can't you instantiate `m` to Identity and convert Identity to any monad using pure?
14:24:48 <dminuoso> Mmm
14:25:07 <dminuoso> superstar64: impredicativity stops it.
14:25:17 <dminuoso> To instantiate `a` at a type involving a forall requires impredicative types
14:25:27 Sgeo joins (~Sgeo@user/sgeo)
14:25:44 <dminuoso> Or maybe I misunderstand
14:26:02 <earthy> dminuoso: does hodatime not help?
14:26:33 <dminuoso> let's have a look
14:28:03 <superstar64> and if it is isomorphic, then this should be a valid definition for bind right? `(>>=) :: Monad m => m a -> ((forall m'. Monad m' => m' a) -> m b) -> m b`
14:28:46 <dminuoso> % to :: Monad m => (forall a m. Monad m => m a) -> (forall b. b); to x = runIdentity x
14:28:46 <yahb> dminuoso:
14:29:06 <dminuoso> But going back - not sure how to do that without impredicativity
14:30:02 <dminuoso> % from :: (forall b. b) -> (forall a m. Monad m => m a); from x = x
14:30:02 <yahb> dminuoso:
14:30:04 <dminuoso> Oh uh.
14:30:17 <dminuoso> I did not expect that
14:30:29 <earthy> but really, you probably want to just look at Data.Time.Format.ISO8601 from the time package.
14:30:49 <dminuoso> ericson2314: ISO8601 is not IMF time.
14:30:58 <dminuoso> So its not valid
14:31:25 <dminuoso> Can someone explain to me why `from` type checks and doesnt fail with an impredicativity error?
14:31:32 <ericson2314> bad tab complete? :)
14:31:48 <dminuoso> ericson2314: Seems like it. I swear weechat has some strange bugs with tab completion.
14:32:05 <superstar64> dminuoso, i think those definitions are wrong. the types are you want are: `from :: (forall m. Monad m => m a) -> a` and `to :: a -> forall m. Monad m => m a`
14:32:21 <superstar64> `to` here is just pure
14:33:11 dextaa joins (~DV@user/dextaa)
14:33:15 <dminuoso> Mmm yeah
14:33:15 <superstar64> and i think eta expanded runIdentity works for `from` here.
14:33:17 <ericson2314> no worries :)
14:33:19 <dminuoso> % from :: (forall m. Monad m => m a) -> a; from x = runIdentity x
14:33:19 <yahb> dminuoso:
14:33:41 <dminuoso> % to :: Monad m => a -> m a; to = pure
14:33:41 <yahb> dminuoso:
14:33:57 <dminuoso> superstar64: guess that's an isomorphism then.
14:34:11 × xff0x quits (~xff0x@2001:1a81:5223:600:4590:f64e:9612:bb35) (Ping timeout: 246 seconds)
14:34:56 k`` joins (~user@152.1.137.158)
14:35:02 <superstar64> The reason I'm asking is because I'm making my own language and I'm considering putting everything inside a monad.
14:35:21 xff0x joins (~xff0x@2001:1a81:5223:600:555a:39d8:cddd:a28c)
14:35:42 <superstar64> and I can use that definition of (>>=) I posted earlier to even have variables be inside monads
14:37:31 <earthy> ah. Data.Time.Format.HTTP from the time-http package, or explicitly use a format string with Data.Time.Format.formatTime
14:38:42 <superstar64> I'll require let generalization for every variable binding but I think I get imperative looking code where the type check can tell if it's pure or not.
14:39:20 <superstar64> I should probably look into effect systems to so if something like this exists yet or not.
14:39:42 Lycurgus joins (~juan@98.4.112.204)
14:40:26 amahl joins (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi)
14:40:33 <k``> When you `SPECIALIZE` a class method, does it only specialise the definition given in the class's definition, or will it also specialise instance-specific definitions?
14:44:01 <k``> For a more concrete example, say `Foldable` specialized `foldMap` . Would that only apply to the 'default' `foldMap` defined with `foldr`, or any `foldMap` that an instance defines?
14:46:54 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:4ca1:d414:dc00:5f20)
14:50:25 theproffesor parts (~theproffe@user/theproffesor) (Leaving)
14:51:22 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:4ca1:d414:dc00:5f20) (Ping timeout: 260 seconds)
14:52:13 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
14:52:53 alzgh joins (~alzgh@user/alzgh)
14:54:46 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Quit: FinnElija)
14:55:59 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
14:58:22 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
14:58:36 <sshine> I'm using 'req' to create an authenticated HTTP request. but running my request, I don't get any output. I suspect an error isn't propagated. I tried changing the retry policy so I'm not waiting a long time, but I'm still not getting anything.
15:00:13 <sshine> I also tried to change 'jsonResponse' into 'bsResponse' just to see if it's taking a long time to decode, but still no response.
15:00:28 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 252 seconds)
15:01:38 <sshine> https://gist.github.com/sshine/fd27702785b50f401e088134dc77ca61
15:01:58 neo1 joins (~neo3@cpe-292712.ip.primehome.com)
15:02:00 <sshine> can anyone suggest a way for me to get debugging output?
15:03:11 × wonko quits (~wjc@user/wonko) (Ping timeout: 265 seconds)
15:03:40 × jlamothe quits (~jlamothe@104.158.48.100) (Quit: leaving)
15:11:28 × pera quits (~pera@user/pera) (Ping timeout: 252 seconds)
15:12:42 lavaman joins (~lavaman@98.38.249.169)
15:13:13 pera joins (~pera@137.221.132.228)
15:13:37 pera is now known as Guest402
15:13:54 <sshine> pointing it to a netcat, it seems like it doesn't send anything.
15:16:28 epolanski joins (uid312403@id-312403.helmsley.irccloud.com)
15:17:12 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 265 seconds)
15:19:22 neo2 joins (~neo3@cpe-292712.ip.primehome.com)
15:20:28 wonko joins (~wjc@62.115.229.50)
15:21:31 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:9a4c:f98d:fe2a:f3fb) (Quit: WeeChat 2.8)
15:21:52 × neo2 quits (~neo3@cpe-292712.ip.primehome.com) (Read error: Connection reset by peer)
15:23:01 × neo1 quits (~neo3@cpe-292712.ip.primehome.com) (Ping timeout: 252 seconds)
15:24:30 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
15:24:46 <carbolymer> any ideas how can I write a such function: MonadBaseControl b m => (a -> c) -> b (StM m a) -> b (StM m c)
15:25:05 <carbolymer> I can't wrap my head around MonadBaseControl and what can I assume about `StM m`
15:26:11 <c_wraith> Do you mean STM?
15:26:18 <carbolymer> no
15:26:27 <carbolymer> c_wraith: https://hackage.haskell.org/package/monad-control-1.0.3.1/docs/Control-Monad-Trans-Control.html#t:StM
15:26:28 <monochrom> Is b a Functor? Is StM m a Functor? This type looks like fmap . fmap
15:27:14 <carbolymer> monochrom: b is a Monad and Applicative, StM can be basically anything
15:27:15 <monochrom> I.e., fmap (fmap (f :: a->c)) :: b (StM m a) -> b (StM m c)
15:27:17 <carbolymer> probably usually a functor
15:27:44 <carbolymer> hmm
15:28:09 <carbolymer> I could add additional constraint that would make it work for `Functor (StM m)`
15:28:14 <c_wraith> StM is a type family. that makes things complicated.
15:28:35 <carbolymer> s/complicated/interesting
15:29:04 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
15:30:41 jlamothe joins (~jlamothe@104.158.48.100)
15:32:18 × bjs quits (sid190364@user/bjs) ()
15:32:25 × Chai-T-Rex quits (~ChaiTRex@user/chaitrex) (Quit: Chai-T-Rex)
15:32:32 bjs joins (sid190364@user/bjs)
15:33:01 × bjs quits (sid190364@user/bjs) (Client Quit)
15:33:12 bjs joins (sid190364@user/bjs)
15:33:21 ChaiTRex joins (~ChaiTRex@user/chaitrex)
15:34:11 mikoto-chan joins (~mikoto-ch@ip-83-134-2-136.dsl.scarlet.be)
15:34:46 × xff0x quits (~xff0x@2001:1a81:5223:600:555a:39d8:cddd:a28c) (Ping timeout: 260 seconds)
15:35:15 <k``> I can never remember this: In error messages, which is the 'Expected type' and which is the 'Actual type'? (I.e. which one is from the signature and which is from the value?)
15:35:35 xff0x joins (~xff0x@2001:1a81:5223:600:7b8b:d6b9:4e09:bc2d)
15:36:18 <monochrom> I usually don't care. But it seems expected is from the outside, actual is from the inside.
15:37:01 <monochrom> > 'x' :: Bool
15:37:02 <lambdabot> error:
15:37:03 <lambdabot> • Couldn't match expected type ‘Bool’ with actual type ‘Char’
15:37:03 <lambdabot> • In the expression: 'x' :: Bool
15:37:12 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
15:37:13 <monochrom> perhaps that helps
15:37:17 <k``> OK, so if I `foldr f` where `f :: b -> a -> b`, the expected type is `a -> b -> b` and the actual type is `b -> a -> b`?
15:37:44 <k``> > foldr (flip (:))
15:37:46 <lambdabot> error:
15:37:46 <lambdabot> • Occurs check: cannot construct the infinite type: a ~ [a]
15:37:46 <lambdabot> Expected type: [a] -> [a] -> [a]
15:37:57 max22- joins (~maxime@2a01cb0883359800cdfb9fe06cd30ce5.ipv6.abo.wanadoo.fr)
15:38:31 <monochrom> > (undefined :: Char) :: Bool
15:38:33 <lambdabot> error:
15:38:33 <lambdabot> • Couldn't match expected type ‘Bool’ with actual type ‘Char’
15:38:33 <lambdabot> • In the expression: (undefined :: Char) :: Bool
15:38:47 <k``> Thanks, monochrom!
15:38:55 <monochrom> > (True :: Char) :: Bool
15:38:56 <lambdabot> error:
15:38:56 <lambdabot> • Couldn't match expected type ‘Char’ with actual type ‘Bool’
15:38:56 <lambdabot> • In the expression: (True :: Char) :: Boolerror:
15:41:51 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 265 seconds)
15:47:22 × nschoe quits (~quassel@178.251.84.79) (Ping timeout: 260 seconds)
15:52:28 ph88 joins (~ph88@2a02:8109:9e00:7e5c:f1e5:9d26:3b71:29c5)
15:56:32 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
16:00:49 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
16:01:34 × Guest402 quits (~pera@137.221.132.228) (Ping timeout: 252 seconds)
16:02:07 × hiepph[m] quits (~hiepphmat@2001:470:69fc:105::e3a8) (Write error: Connection reset by peer)
16:02:08 × fcortesi quits (~fcortesi@2001:470:69fc:105::f3a9) (Read error: Connection reset by peer)
16:02:08 × MatrixTravelerbo quits (~voyagert2@2001:470:69fc:105::22) (Read error: Connection reset by peer)
16:02:08 × the-coot[m] quits (~the-cootm@2001:470:69fc:105::95f) (Read error: Connection reset by peer)
16:02:09 × aidy quits (~aidy@2001:470:69fc:105::c7b4) (Read error: Connection reset by peer)
16:02:09 × srid[m] quits (~sridmatri@2001:470:69fc:105::1c2) (Write error: Connection reset by peer)
16:02:09 × jophish quits (~jophish@2001:470:69fc:105::670) (Write error: Connection reset by peer)
16:02:09 × Deide quits (~deide@user/deide) (Write error: Connection reset by peer)
16:02:09 × jneira[m] quits (~jneiramat@2001:470:69fc:105::d729) (Write error: Connection reset by peer)
16:02:09 × reza[m] quits (~rezaphone@2001:470:69fc:105::3eda) (Read error: Connection reset by peer)
16:02:09 × yin[m] quits (~zwromatri@2001:470:69fc:105::1d4) (Read error: Connection reset by peer)
16:02:09 × hsek[m] quits (~hsekmatri@2001:470:69fc:105::d18f) (Write error: Connection reset by peer)
16:02:09 × sky_lounge[m] quits (~skylounge@2001:470:69fc:105::efa6) (Write error: Connection reset by peer)
16:02:09 × alexfmpe[m] quits (~alexfmpem@2001:470:69fc:105::38ba) (Write error: Connection reset by peer)
16:02:09 × schuelermine[m] quits (~schuelerm@user/schuelermine) (Write error: Connection reset by peer)
16:02:09 × fgaz quits (~fgaz@2001:470:69fc:105::842) (Write error: Connection reset by peer)
16:02:09 × jesser[m] quits (~jessermat@2001:470:69fc:105::d5ae) (Read error: Connection reset by peer)
16:02:09 × kar1 quits (~kar1@2001:470:69fc:105::c308) (Read error: Connection reset by peer)
16:02:09 × asdofindia-m quits (~akshaymat@2001:470:69fc:105::831) (Write error: Connection reset by peer)
16:02:09 × soft quits (~soft-matr@2001:470:69fc:105::c75) (Write error: Connection reset by peer)
16:02:09 × bb010g quits (~bb010g@2001:470:69fc:105::9a5) (Read error: Connection reset by peer)
16:02:09 × afotgkmnzj7asv3r quits (~afotgkmnz@2001:470:69fc:105::c24b) (Read error: Connection reset by peer)
16:02:09 × SawyerBergeron[m quits (~sawyerber@2001:470:69fc:105::3036) (Read error: Connection reset by peer)
16:02:10 × maralorn quits (~maralorn@2001:470:69fc:105::251) (Write error: Connection reset by peer)
16:02:10 × Arathorn quits (~arathorn@2001:470:69fc:105::1f) (Read error: Connection reset by peer)
16:02:10 × jakefromstatefar quits (~jakefroms@2001:470:69fc:105::15ef) (Write error: Connection reset by peer)
16:02:10 × fendor[m] quits (~fendormat@2001:470:69fc:105::fcbd) (Read error: Connection reset by peer)
16:02:10 × moats quits (~oats@user/oats) (Write error: Connection reset by peer)
16:02:10 × lwe[m] quits (~dendrumat@2001:470:69fc:105::2f9b) (Write error: Connection reset by peer)
16:02:10 × SimonWeiss[m] quits (~weiss-dma@2001:470:69fc:105::bebd) (Write error: Connection reset by peer)
16:02:10 × maerwald[m] quits (~maerwaldm@2001:470:69fc:105::1ee) (Write error: Connection reset by peer)
16:02:10 × bitonic quits (~bitonic@2001:470:69fc:105::1812) (Write error: Connection reset by peer)
16:02:10 × masaeedu[m] quits (~masaeedum@2001:470:69fc:105::e256) (Read error: Connection reset by peer)
16:02:10 × quantum quits (~quantum@user/quantum/x-8556232) (Write error: Connection reset by peer)
16:02:10 × stoicswe[m] quits (~deadlette@2001:470:69fc:105::d277) (Write error: Connection reset by peer)
16:02:10 × carmysilna quits (~brightly-@2001:470:69fc:105::2190) (Read error: Connection reset by peer)
16:02:10 × Topik[m] quits (~topikmatr@2001:470:69fc:105::a082) (Read error: Connection reset by peer)
16:02:10 × erinvanderveen[m quits (~erinvande@2001:470:69fc:105::e8f3) (Write error: Connection reset by peer)
16:02:10 × rednaZ[m] quits (~r3dnazmat@2001:470:69fc:105::ba70) (Write error: Connection reset by peer)
16:02:10 × IgnatInsarov[m] quits (~kindaroma@2001:470:69fc:105::f5d9) (Write error: Connection reset by peer)
16:02:10 × ServerStatsDisco quits (~serversta@2001:470:69fc:105::1a) (Write error: Connection reset by peer)
16:02:10 × Magnus[m] quits (~magthetch@2001:470:69fc:105::d1a7) (Write error: Connection reset by peer)
16:02:10 × cdsmith quits (~cdsmithma@2001:470:69fc:105::284) (Write error: Connection reset by peer)
16:02:10 × Deewiant quits (~deewiant@2001:470:69fc:105::2fd3) (Write error: Connection reset by peer)
16:02:10 × hsiktas[m] quits (~hsiktasma@2001:470:69fc:105::30d4) (Write error: Connection reset by peer)
16:02:10 × Las[m] quits (~lasmatrix@2001:470:69fc:105::74e) (Write error: Connection reset by peer)
16:02:10 × infinisil quits (~infinisil@2001:470:69fc:105::ff8) (Write error: Connection reset by peer)
16:02:10 × kevin[m]1 quits (~pnotequal@2001:470:69fc:105::a54) (Write error: Connection reset by peer)
16:02:10 × Ollie[m] quits (~ollieocha@2001:470:69fc:105::41a5) (Write error: Connection reset by peer)
16:02:10 × craige[m] quits (~craigemcw@2001:470:69fc:105::35f1) (Write error: Connection reset by peer)
16:02:11 × unrooted quits (~unrooted@2001:470:69fc:105::a4a) (Read error: Connection reset by peer)
16:02:11 × smichel17[m] quits (~smichel17@2001:470:69fc:105::2d32) (Write error: Connection reset by peer)
16:02:11 × reddishblue[m] quits (~reddishbl@2001:470:69fc:105::21eb) (Write error: Connection reset by peer)
16:02:11 × ru0mad[m] quits (~ru0madmat@2001:470:69fc:105::9b2) (Write error: Connection reset by peer)
16:02:11 × siraben quits (~siraben@user/siraben) (Write error: Connection reset by peer)
16:02:11 × commuswift[m] quits (~commuswif@2001:470:69fc:105::e862) (Write error: Connection reset by peer)
16:02:11 × Drew[m] quits (~drewefenw@2001:470:69fc:105::c8c4) (Write error: Connection reset by peer)
16:02:11 × hughjfchen[m] quits (~hughjfche@2001:470:69fc:105::c29d) (Write error: Connection reset by peer)
16:02:11 × PotatoHatsue quits (~berberman@2001:470:69fc:105::b488) (Write error: Connection reset by peer)
16:02:11 × hjulle[m] quits (~hjullemat@2001:470:69fc:105::1dd) (Write error: Connection reset by peer)
16:02:11 × thomasjm[m] quits (~thomasjmm@2001:470:69fc:105::c6d9) (Write error: Connection reset by peer)
16:02:11 × Christoph[m] quits (~hpotsirhc@2001:470:69fc:105::2ff8) (Write error: Connection reset by peer)
16:02:11 × denbrahe[m] quits (~denbrahem@2001:470:69fc:105::19c0) (Write error: Connection reset by peer)
16:02:11 × OndejSkup[m] quits (~mimivxmat@2001:470:69fc:105::c300) (Write error: Connection reset by peer)
16:02:11 × Orbstheorem quits (~orbstheor@2001:470:69fc:105::a56) (Write error: Connection reset by peer)
16:02:11 × justosophy[m] quits (~justosoph@2001:470:69fc:105::572f) (Write error: Connection reset by peer)
16:02:11 × ormaaj quits (~ormaaj@user/ormaaj) (Write error: Connection reset by peer)
16:02:11 × kadoban quits (~kadoban@user/kadoban) (Write error: Connection reset by peer)
16:02:11 × vaibhavsagar[m] quits (~vaibhavsa@2001:470:69fc:105::ffe) (Write error: Connection reset by peer)
16:02:11 × RohitGoswami[m] quits (~rgoswamim@2001:470:69fc:105::16cc) (Write error: Connection reset by peer)
16:02:11 × ixlun quits (~ixlun@2001:470:69fc:105::41b3) (Write error: Connection reset by peer)
16:02:11 × peddie quits (~peddie@2001:470:69fc:105::25d) (Write error: Connection reset by peer)
16:02:11 × rosariopulella[m quits (~rosariopu@2001:470:69fc:105::a57) (Write error: Connection reset by peer)
16:02:12 × Morrow[m] quits (~morrowmma@2001:470:69fc:105::1d0) (Write error: Connection reset by peer)
16:02:12 × cloudy quits (~cloudy@2001:470:69fc:105::50c0) (Write error: Connection reset by peer)
16:02:12 × psydroid quits (~psydroid@user/psydroid) (Write error: Connection reset by peer)
16:02:12 × fakehacker[m] quits (~fakehacke@2001:470:69fc:105::b5f0) (Read error: Connection reset by peer)
16:02:12 × dualinverter[m] quits (~dualinver@2001:470:69fc:105::16a7) (Read error: Connection reset by peer)
16:02:12 × monadfritz[m] quits (~ahdytmatr@2001:470:69fc:105::e1f1) (Read error: Connection reset by peer)
16:02:12 × stites[m]1 quits (~sammtopoi@2001:470:69fc:105::e887) (Write error: Connection reset by peer)
16:02:12 × unclechu quits (~unclechu@2001:470:69fc:105::354) (Write error: Connection reset by peer)
16:02:12 × ericson2314 quits (~ericson23@2001:470:69fc:105::70c) (Write error: Connection reset by peer)
16:02:12 × marinelli[m] quits (~marinelli@2001:470:69fc:105::2d8) (Write error: Connection reset by peer)
16:02:12 × Tisoxin quits (~ikosit@user/ikosit) (Read error: Connection reset by peer)
16:02:12 × sm quits (~sm@plaintextaccounting/sm) (Write error: Connection reset by peer)
16:02:12 × zfnmxt quits (~zfnmxtzfn@user/zfnmxt) (Write error: Connection reset by peer)
16:02:12 × oak- quits (~oakuniver@2001:470:69fc:105::fcd) (Read error: Connection reset by peer)
16:02:12 × bakinonion[m] quits (~bakinonio@2001:470:69fc:105::ddb3) (Read error: Connection reset by peer)
16:02:12 × ManofLetters[m] quits (~manoflett@2001:470:69fc:105::3be) (Read error: Connection reset by peer)
16:02:12 × wysteriary[m] quits (~wysteriar@2001:470:69fc:105::a42e) (Read error: Connection reset by peer)
16:02:12 × amesgen[m] quits (~amesgenm]@2001:470:69fc:105::82b) (Read error: Connection reset by peer)
16:02:12 × jchia[m] quits (~jchiamatr@2001:470:69fc:105::c50b) (Read error: Connection reset by peer)
16:02:12 × ongy[m] quits (~ongymatri@2001:470:69fc:105::5018) (Read error: Connection reset by peer)
16:03:12 Null_A joins (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c)
16:04:00 jakefromstatefar joins (~jakefroms@2001:470:69fc:105::15ef)
16:04:03 × chele quits (~chele@user/chele) (Remote host closed the connection)
16:04:56 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:4ca1:d414:dc00:5f20)
16:05:06 × chomwitt quits (~chomwitt@2a02:587:dc15:500:12c3:7bff:fe6d:d374) (Ping timeout: 260 seconds)
16:05:16 Everything parts (~Everythin@37.115.210.35) ()
16:06:01 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
16:06:02 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 252 seconds)
16:06:29 <awpr> sshine: when I was defining a bunch of those types, I ended up writing instances like `deriving stock instance (forall a. Eq a => Eq (f a), Eq x) => Eq (MyType x f)`
16:06:30 maerwald[m] joins (~maerwaldm@2001:470:69fc:105::1ee)
16:06:42 jchia[m] joins (~jchiamatr@2001:470:69fc:105::c50b)
16:06:42 MatrixTravelerbo joins (~voyagert2@2001:470:69fc:105::22)
16:06:42 dualinverter[m] joins (~dualinver@2001:470:69fc:105::16a7)
16:06:42 fgaz joins (~fgaz@2001:470:69fc:105::842)
16:06:42 peddie joins (~peddie@2001:470:69fc:105::25d)
16:06:42 Morrow[m] joins (~morrowmma@2001:470:69fc:105::1d0)
16:06:42 cdsmith joins (~cdsmithma@2001:470:69fc:105::284)
16:06:42 thomasjm[m] joins (~thomasjmm@2001:470:69fc:105::c6d9)
16:06:42 hsek[m] joins (~hsekmatri@2001:470:69fc:105::d18f)
16:06:42 ru0mad[m] joins (~ru0madmat@2001:470:69fc:105::9b2)
16:06:56 bb010g joins (~bb010g@2001:470:69fc:105::9a5)
16:06:56 vaibhavsagar[m] joins (~vaibhavsa@2001:470:69fc:105::ffe)
16:06:56 Las[m] joins (~lasmatrix@2001:470:69fc:105::74e)
16:06:56 ServerStatsDisco joins (~serversta@2001:470:69fc:105::1a)
16:06:56 amesgen[m] joins (~amesgenm]@2001:470:69fc:105::82b)
16:06:56 the-coot[m] joins (~the-cootm@2001:470:69fc:105::95f)
16:06:56 moats joins (~oats@user/oats)
16:07:08 soft joins (~soft-matr@2001:470:69fc:105::c75)
16:07:14 <awpr> when there are lots of fields and few `Type` type parameters, it saves a lot of typing out `Eq (f Int), Eq (f String), ......`
16:07:16 zfnmxt joins (~zfnmxtzfn@2001:470:69fc:105::2b32)
16:07:24 oak- joins (~oakuniver@2001:470:69fc:105::fcd)
16:07:24 kadoban joins (~kadoban@user/kadoban)
16:07:24 bitonic joins (~bitonic@2001:470:69fc:105::1812)
16:07:24 Arathorn joins (~arathorn@2001:470:69fc:105::1f)
16:07:24 jophish joins (~jophish@2001:470:69fc:105::670)
16:07:24 ericson2314 joins (~ericson23@2001:470:69fc:105::70c)
16:07:24 Ollie[m] joins (~ollieocha@2001:470:69fc:105::41a5)
16:07:24 PotatoHatsue joins (~berberman@2001:470:69fc:105::b488)
16:07:24 ixlun joins (~ixlun@2001:470:69fc:105::41b3)
16:07:24 unclechu joins (~unclechu@2001:470:69fc:105::354)
16:07:24 Deewiant joins (~deewiant@2001:470:69fc:105::2fd3)
16:07:24 unrooted joins (~unrooted@2001:470:69fc:105::a4a)
16:07:36 RohitGoswami[m] joins (~rgoswamim@2001:470:69fc:105::16cc)
16:07:36 rednaZ[m] joins (~r3dnazmat@2001:470:69fc:105::ba70)
16:07:36 maralorn joins (~maralorn@2001:470:69fc:105::251)
16:07:36 SimonWeiss[m] joins (~weiss-dma@2001:470:69fc:105::bebd)
16:07:37 denbrahe[m] joins (~denbrahem@2001:470:69fc:105::19c0)
16:07:37 lwe[m] joins (~dendrumat@2001:470:69fc:105::2f9b)
16:07:50 jesser[m] joins (~jessermat@2001:470:69fc:105::d5ae)
16:08:02 erinvanderveen[m joins (~erinvande@2001:470:69fc:105::e8f3)
16:08:02 reza[m] joins (~rezaphone@2001:470:69fc:105::3eda)
16:08:02 quantum joins (~quantum@user/quantum/x-8556232)
16:08:02 marinelli[m] joins (~marinelli@2001:470:69fc:105::2d8)
16:08:04 hsiktas[m] joins (~hsiktasma@2001:470:69fc:105::30d4)
16:08:16 craige[m] joins (~craigemcw@2001:470:69fc:105::35f1)
16:08:18 Orbstheorem joins (~orbstheor@2001:470:69fc:105::a56)
16:08:30 afotgkmnzj7asv3r joins (~afotgkmnz@2001:470:69fc:105::c24b)
16:08:30 reddishblue[m] joins (~reddishbl@2001:470:69fc:105::21eb)
16:08:30 sm joins (~sm@plaintextaccounting/sm)
16:08:30 schuelermine[m] joins (~schuelerm@user/schuelermine)
16:08:42 justosophy[m] joins (~justosoph@2001:470:69fc:105::572f)
16:08:42 kevin[m]1 joins (~pnotequal@2001:470:69fc:105::a54)
16:08:42 Deide joins (~deide@user/deide)
16:08:54 fakehacker[m] joins (~fakehacke@2001:470:69fc:105::b5f0)
16:08:54 hughjfchen[m] joins (~hughjfche@2001:470:69fc:105::c29d)
16:09:07 IgnatInsarov[m] joins (~kindaroma@2001:470:69fc:105::f5d9)
16:09:07 srid[m] joins (~sridmatri@2001:470:69fc:105::1c2)
16:09:07 psydroid joins (~psydroid@user/psydroid)
16:09:08 seiryn joins (~seiryn@2a01cb040147e000e4dbf764ff30bd96.ipv6.abo.wanadoo.fr)
16:09:21 wysteriary[m] joins (~wysteriar@2001:470:69fc:105::a42e)
16:09:24 Christoph[m] joins (~hpotsirhc@2001:470:69fc:105::2ff8)
16:09:43 stoicswe[m] joins (~deadlette@2001:470:69fc:105::d277)
16:09:55 sam[m]1 joins (~sammtopoi@2001:470:69fc:105::e887)
16:10:07 Topik[m] joins (~topikmatr@2001:470:69fc:105::a082)
16:10:07 alexfmpe[m] joins (~alexfmpem@2001:470:69fc:105::38ba)
16:10:07 yin[m] joins (~zwromatri@2001:470:69fc:105::1d4)
16:10:08 asdofindia-m joins (~akshaymat@2001:470:69fc:105::831)
16:10:08 OndejSkup[m] joins (~mimivxmat@2001:470:69fc:105::c300)
16:10:08 kar1 joins (~kar1@2001:470:69fc:105::c308)
16:10:08 ongy[m] joins (~ongymatri@2001:470:69fc:105::5018)
16:10:08 ormaaj joins (~ormaaj@user/ormaaj)
16:10:08 hjulle[m] joins (~hjullemat@2001:470:69fc:105::1dd)
16:10:22 infinisil joins (~infinisil@2001:470:69fc:105::ff8)
16:10:22 Drew[m] joins (~drewefenw@2001:470:69fc:105::c8c4)
16:10:22 jneira[m] joins (~jneiramat@2001:470:69fc:105::d729)
16:10:22 Magnus[m] joins (~magthetch@2001:470:69fc:105::d1a7)
16:10:22 siraben joins (~siraben@user/siraben)
16:10:23 SawyerBergeron[m joins (~sawyerber@2001:470:69fc:105::3036)
16:10:35 sky_lounge[m] joins (~skylounge@2001:470:69fc:105::efa6)
16:10:36 smichel17[m] joins (~smichel17@2001:470:69fc:105::2d32)
16:10:36 Tisoxin joins (~ikosit@user/ikosit)
16:10:45 × hendursaga quits (~weechat@user/hendursaga) (Ping timeout: 276 seconds)
16:10:53 monadfritz[m] joins (~ahdytmatr@2001:470:69fc:105::e1f1)
16:10:53 bakinonion[m] joins (~bakinonio@2001:470:69fc:105::ddb3)
16:11:05 rosariopulella[m joins (~rosariopu@2001:470:69fc:105::a57)
16:11:07 masaeedu[m] joins (~masaeedum@2001:470:69fc:105::e256)
16:11:08 fcortesi joins (~fcortesi@2001:470:69fc:105::f3a9)
16:11:29 hiepph[m] joins (~hiepphmat@2001:470:69fc:105::e3a8)
16:11:29 ManofLetters[m] joins (~manoflett@2001:470:69fc:105::3be)
16:11:29 cloudy joins (~cloudy@2001:470:69fc:105::50c0)
16:11:52 commuswift[m] joins (~commuswif@2001:470:69fc:105::e862)
16:11:54 × kuribas quits (~user@ip-188-118-57-242.reverse.destiny.be) (Remote host closed the connection)
16:11:56 carmysilna joins (~brightly-@2001:470:69fc:105::2190)
16:11:56 fendor[m] joins (~fendormat@2001:470:69fc:105::fcbd)
16:11:57 aidy joins (~aidy@2001:470:69fc:105::c7b4)
16:12:16 hendursaga joins (~weechat@user/hendursaga)
16:17:19 bgamari_ is now known as bgamari
16:18:08 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 246 seconds)
16:18:54 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Remote host closed the connection)
16:19:30 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
16:20:01 python47` joins (~user@88.160.31.174)
16:21:41 × python476 quits (~user@88.160.31.174) (Ping timeout: 264 seconds)
16:21:47 × terrorjack quits (~terrorjac@ec2-54-95-39-30.ap-northeast-1.compute.amazonaws.com) (Read error: Connection reset by peer)
16:23:01 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
16:23:01 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
16:23:01 wroathe joins (~wroathe@user/wroathe)
16:24:05 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 264 seconds)
16:24:43 terrorjack joins (~terrorjac@ec2-54-95-39-30.ap-northeast-1.compute.amazonaws.com)
16:27:29 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 252 seconds)
16:27:36 chomwitt joins (~chomwitt@ppp-94-67-1-143.home.otenet.gr)
16:30:07 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
16:39:28 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 250 seconds)
16:39:53 × seiryn quits (~seiryn@2a01cb040147e000e4dbf764ff30bd96.ipv6.abo.wanadoo.fr) (Quit: WeeChat 3.2)
16:40:07 seiryn joins (~seiryn@2a01cb040147e000e4dbf764ff30bd96.ipv6.abo.wanadoo.fr)
16:41:32 × rond_ quits (~rond_@2a02:a31a:a23c:f480:2fd7:e087:5546:a438) (Quit: Client closed)
16:42:02 <awpr> sshine: also apparently I managed to get better results on this than I remembered: https://github.com/google/hs-ten/blob/e0cf34abb85a0df37f8bd2f4ba0270264455c58f/ten/src/Data/Ten/Ap.hs#L60
16:42:19 <awpr> wrapping fields in that, you get back the ability to say `deriving Eq` with no fanfare
16:43:44 × zaquest quits (~notzaques@5.128.210.178) (Quit: Leaving)
16:46:56 × superstar64 quits (~superstar@2600:1700:ed80:50a0:d250:99ff:fe2c:53c4) (Quit: Leaving)
16:47:50 mc47 joins (~mc47@xmonad/TheMC47)
16:49:17 × bgamari quits (~bgamari@64.223.239.239) (Ping timeout: 246 seconds)
16:50:35 bgamari joins (~bgamari@2001:470:e438::1)
16:54:07 notzmv joins (~zmv@user/notzmv)
16:57:30 MQ-17J joins (~MQ-17J@d192-24-122-179.try.wideopenwest.com)
16:58:00 <sshine> awpr, awesome, thanks for replying!
17:01:09 × alzgh quits (~alzgh@user/alzgh) (Remote host closed the connection)
17:01:28 alzgh joins (~alzgh@user/alzgh)
17:04:15 × Cajun quits (~Cajun@user/cajun) (Quit: Client closed)
17:04:27 econo joins (uid147250@user/econo)
17:06:31 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
17:06:59 <carbolymer> awpr: you're using haskell at google?
17:08:46 <awpr> I used to work on a primarily-Haskell project. I'm not anymore, though, the libraries are more of a side project for me atm
17:10:20 pera joins (~pera@5ec231fc.skybroadband.com)
17:10:45 pera is now known as Guest3253
17:10:56 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 252 seconds)
17:13:29 × turlando quits (~turlando@user/turlando) (Ping timeout: 268 seconds)
17:13:32 turlando_ joins (~turlando@93-42-250-112.ip89.fastwebnet.it)
17:13:58 × turlando_ quits (~turlando@93-42-250-112.ip89.fastwebnet.it) (Client Quit)
17:14:16 turlando joins (~turlando@user/turlando)
17:15:13 × seiryn quits (~seiryn@2a01cb040147e000e4dbf764ff30bd96.ipv6.abo.wanadoo.fr) (Quit: WeeChat 3.2)
17:17:20 seiryn joins (~seiryn@2a01cb040147e000e4dbf764ff30bd96.ipv6.abo.wanadoo.fr)
17:19:02 chris joins (~chris@81.96.113.213)
17:19:06 chris is now known as Guest2921
17:19:33 <carbolymer> I think I've solved it: https://bpa.st/4ZHQ
17:22:33 \Nova joins (~novadev@2405:4802:11d:af70:f140:4c76:cde5:9874)
17:23:14 × python47` quits (~user@88.160.31.174) (Ping timeout: 250 seconds)
17:23:19 × Alex_test quits (~al_test@94.233.241.29) (Quit: ;-)
17:24:21 nschoe joins (~quassel@2a01:e0a:8e:a190:b40e:d941:c021:f607)
17:24:29 × AlexZenon quits (~alzenon@94.233.241.29) (Quit: ;-)
17:28:40 TDANG joins (~TDANG@cpe-107-15-144-45.nc.res.rr.com)
17:28:40 × TDANG_ quits (~TDANG@inet-177-7.ets.org) (Read error: Connection reset by peer)
17:28:52 Alex_test joins (~al_test@94.233.241.29)
17:28:52 × TDANG quits (~TDANG@cpe-107-15-144-45.nc.res.rr.com) (Read error: Connection reset by peer)
17:30:11 × Guest3253 quits (~pera@5ec231fc.skybroadband.com) (Ping timeout: 252 seconds)
17:31:11 AlexZenon joins (~alzenon@94.233.241.29)
17:34:42 × \Nova quits (~novadev@2405:4802:11d:af70:f140:4c76:cde5:9874) (Ping timeout: 260 seconds)
17:35:47 × alzgh quits (~alzgh@user/alzgh) (Remote host closed the connection)
17:36:00 lavaman joins (~lavaman@98.38.249.169)
17:36:07 alzgh joins (~alzgh@user/alzgh)
17:36:25 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
17:48:22 × fresheyeball quits (~fresheyeb@c-76-25-93-164.hsd1.co.comcast.net) (Quit: WeeChat 2.9)
17:50:07 × k`` quits (~user@152.1.137.158) (Quit: ERC (IRC client for Emacs 27.1))
17:51:37 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
17:51:37 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
17:51:37 wroathe joins (~wroathe@user/wroathe)
17:52:11 lavaman joins (~lavaman@98.38.249.169)
17:52:36 dyeplexer joins (~dyeplexer@user/dyeplexer)
17:54:15 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
17:54:46 × pbrisbin quits (~patrick@pool-173-49-147-250.phlapa.fios.verizon.net) (Ping timeout: 260 seconds)
17:55:49 pbrisbin joins (~patrick@pool-173-49-147-250.phlapa.fios.verizon.net)
17:57:30 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
17:58:53 zaquest joins (~notzaques@5.128.210.178)
18:02:30 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
18:13:41 lavaman joins (~lavaman@98.38.249.169)
18:23:03 <maerwald> So I'm planning to switch to another operating system/distro, because fedora is awful. Anything particularly haskell friendly? (e.g. runtime switchable gcc, ncurses compat symlinks, etc.)
18:23:10 × max22- quits (~maxime@2a01cb0883359800cdfb9fe06cd30ce5.ipv6.abo.wanadoo.fr) (Ping timeout: 268 seconds)
18:23:50 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
18:23:59 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
18:24:05 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Ping timeout: 252 seconds)
18:25:35 <carbolymer> maerwald: you want to install haskell deps on an os level?
18:25:43 <maerwald> no
18:25:44 × madjestic quits (~madjestic@88-159-247-120.fixed.kpn.net) (Ping timeout: 252 seconds)
18:26:02 <dsal> I've been enjoying nixos, but it's divisive. :)
18:26:18 <maerwald> 100% no
18:26:39 <monochrom> From "runtime switchable gcc" I think of nix or docker.
18:26:55 <maerwald> I know at least 2 distros that can do it, but they are source distros
18:27:04 <monochrom> I am speaking this in the sense of narrowing down to {nix, docker}
18:27:10 <carbolymer> maerwald: I'm using Arch and it's great so far, but a few caveats: I manage haskell packages through stack & cabal; it's better to install stack and cabal from packages statically linked (binaries)
18:27:41 <monochrom> I understand that other constraints will shrink that set further. Possibly to {} and we throw the towel.
18:28:32 <monochrom> But let's look at the bright side!
18:29:18 <monochrom> From "fedora is awful" I think of a very large set, {ubuntu, gentoo, ... a lot of things are less bad than fedora} :)
18:30:17 <c_wraith> I get a lot of mileage from separating haskell from the OS entirely.
18:30:25 <c_wraith> pick an OS you like, then use ghcup
18:30:32 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 265 seconds)
18:30:42 <monochrom> I use ubuntu, and if I use ghcup instead of ubuntu's ghc packages, it's haskell friendly. I haven't needed to switch gcc at all though.
18:30:58 <maerwald> c2hs breakages sometimes require older gcc's
18:31:00 <monochrom> But we're answering the author of ghcup so there is a bit of irony here. :)
18:31:04 <maerwald> at least that happened on fedora
18:31:34 <maerwald> one morning, I couldn't build any of c2hs packages
18:31:39 <monochrom> Right? "Hey maerwald! Have you tried ghcup?" hahaha
18:32:00 <maerwald> occasionally
18:32:09 <geekosaur> ubuntu often lets you select versions of things. no idea if that applies to gcc but gcc9 hasn't landed yet
18:32:24 <maerwald> I'm honestly leaning towards windows
18:32:37 <carbolymer> wat
18:32:46 <monochrom> Ah yeah you can co-install multiple versions of gcc on ubuntu, then say "gcc-x.y"
18:32:52 <maerwald> 1. has great virtualization, 2. has WSL2, 3. suspend to ram and power/therml throttling actually works
18:33:00 <maerwald> but then... all of the rest is awful
18:33:06 <c_wraith> oh. yes, I only use linux in wsl2
18:33:14 Guest66 joins (~Guest66@wificampus-023241.grenet.fr)
18:33:19 <c_wraith> mostly debian.
18:33:23 <geekosaur> hm, looks like we have 7-10 inm various places. then update-alternatives to switch
18:33:32 <monochrom> docker is analogous to wsl in this sense.
18:34:07 elias_ joins (~elias@bl9-97-115.dsl.telepac.pt)
18:34:35 <monochrom> Ironically my laptop is such that linux is better than windows in terms of hardware features working.
18:34:39 <yushyin> I have an anecdote, fedora is the distro that had once deleted some files in the user's home directory during texlive upgrade ... so i don't have the greatest faith in this distro.
18:34:48 <monochrom> windows is hotter than linux, firstly
18:35:18 <maerwald> suspend to ram is broken on my fedora box since a month
18:35:45 <monochrom> secondly, on windows it hangs upon screen sleep, on linux it used to but now fixed.
18:35:50 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
18:36:00 <Guest66> huh, my experience with fedora has been very positive. I found it be most polished. the devs are very attentive to details
18:36:32 <monochrom> I wouldn't be surprised if ubuntu works better than fedora for these hardware and sleep issues, but I haven't tried.
18:36:39 <awpr> tbf GHC is the compiler that had once deleted source files when there was a type error, so...
18:36:44 <geekosaur> suspend works fine here
18:36:51 <Guest66> though my thinkpad X1C has a weird issue on linux where the fans spin uncontrollably right after waking from suspend
18:36:57 <carbolymer> What are you saying people. I'm using windows at work and it's a world of pain, everything breaks. I need to reboot to make my peripherals work 1 in 5 times.
18:37:06 <maerwald> Guest66: I have many such problems with my X1 Extreme
18:37:09 <maerwald> it's impossible
18:37:13 <Guest66> ironically hibernate works fine (and it's my only problem)
18:37:17 <geekosaur> I haven't tested hibernate, which is disabled by default since it works on relatively few machines, but it worked on my old laptop
18:37:23 <Guest66> maerwald: it's the 4th gen
18:37:51 <Guest66> why can't lenovo issue a BIOS update and solve my issues
18:37:58 <maerwald> so maybe windows is the only solution...
18:38:22 <Guest66> heresy! I have a windows partiton and I hate it
18:38:25 <maerwald> ghc works fine on WSL2 afaih
18:38:57 <monochrom> WSL2 still doesn't solve the problem of "but which linux?"
18:38:58 <maerwald> in windows itself it works as far as antivirus scanner, windows defender and file locking allow
18:39:09 <maerwald> so half of the time
18:39:10 <Guest66> each time I boot into it I have to wait through 5mins of it burning my cpu running all kinds of weird things in the bg
18:39:31 <Guest66> "Antimalware Service Executable"
18:39:32 arpl joins (~arpl@84-107-171-239.cable.dynamic.v4.ziggo.nl)
18:39:34 <Guest66> "System"
18:39:36 <monochrom> I bet that gcc on windows will give you more questions, not answers.
18:39:48 <maerwald> msys2 is a cluster...
18:40:07 <yushyin> My windows workstation wakes up from suspend at random times and goes back into suspend mode after a while, a bit annoying i must say.
18:40:12 <Guest66> I heard Peter Haskell say that they once has a bug on ghc for windows that made your src files get deleted
18:40:50 landonf joins (landonf@mac68k.info)
18:41:20 <Guest66> It's Simon Peyton Jones ... for some reason I thought it was Peter (it was a talk)
18:41:59 × Lycurgus quits (~juan@98.4.112.204) (Quit: Exeunt)
18:42:56 <geekosaur> yeh, it's not hard to find that bug in the gitlab issue tracker
18:44:27 <maerwald> OpenSUSE?
18:45:01 <monochrom> Are they still around?
18:45:11 lavaman joins (~lavaman@98.38.249.169)
18:45:36 <Guest66> uhhh, yes they're a non-negligeable player in the commercial linux market
18:45:39 <monochrom> Distant memory of OpenSuSE, Caldera, OS/2
18:45:53 <monochrom> I still have a Caldera rubber penguin.
18:46:56 <Guest66> I think arch is good if you prefer the devs not mess with upstream too much
18:47:36 <maerwald> Guest66: the reason I wanna leave fedora is because maintainers push whatever upstream claims is stable
18:47:44 <maerwald> arch does the same, constantly breaking your system
18:48:14 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
18:48:32 <monochrom> I think ubuntu is better in that regard. They actually have hired devs to vet things.
18:48:57 <Guest66> I think that's not very fair. What does breaking your system mean? if you have dev environemnts then yes I would agree (just use docker)
18:49:12 <geekosaur> https://gitlab.haskell.org/ghc/ghc/-/issues/163
18:49:13 <maerwald> Guest66: your desktop environment, kernel, suspend to ram etc etc
18:49:19 <yushyin> Guest66: this channel has a general dislike for arch, don't bother mentioning it here
18:49:20 <monochrom> At least unless you talk about the multiverse, but that one is vetted by the debian conservative people.
18:49:26 <maerwald> Guest66: I've used arch for 3 years or so, every update broke something
18:49:37 <Guest66> yushyin: hah, too late
18:49:57 <awpr> I use arch whenever I have a choice, and don't plan to change that, but I totally agree that stuff constantly breaks
18:50:04 <geekosaur> arch really messed up its ghc/haskell packaging
18:50:14 <carbolymer> geekosaur: yes
18:50:18 <Guest66> maerwald: I'm very curious about that, any examples of what broke?
18:50:19 <geekosaur> arch itself is okay but use ghcup
18:50:27 <carbolymer> geekosaur: yes
18:50:33 <maerwald> Guest66: your deskopt environment
18:50:41 <carbolymer> geekosaur: or static binaries of stack and cabal
18:50:50 × alzgh quits (~alzgh@user/alzgh) (Remote host closed the connection)
18:50:54 <maerwald> you don't expect me to have logs from those 200 incidents 10 years ago? :)
18:51:09 alzgh joins (~alzgh@user/alzgh)
18:51:17 <maerwald> my KDE was constantly broken is all I know
18:51:37 <Guest66> no no I don't mean in that way, it's just that my experience (from 2020 years) was different
18:52:13 <geekosaur> 10 years ago? I think they instituted rawhide to iron those kinds of issues out
18:52:24 <Guest66> oh yes KDE, they updated their _official_ themes and highlighted a bug as old as time: kwin can't handle rounded borders
18:52:36 <Guest66> it annoys me immeasurably
18:52:44 arpl parts (~arpl@84-107-171-239.cable.dynamic.v4.ziggo.nl) ()
18:52:49 <maerwald> changing processes and attitude takes 10 years (minimum)
18:53:02 <Guest66> but not enough to use GNOME, and def no where near going back to bspwm/xmonad
18:53:04 <maerwald> I'm pretty confident I don't want arch
18:53:15 <maerwald> it's sad that alpine linux abandoned desktop
18:53:24 <maerwald> too few musl based distros for desktop
18:53:31 <maerwald> building static haskell exes on the fly is nice
18:53:37 <Guest66> what about Nix?
18:53:47 <maerwald> Guest66: it's awful?
18:53:59 <Guest66> I used it for a couple months, ran away from the FHS incompatibility
18:54:22 <maerwald> Programmers not caring about complexity is when you should leave, yes
18:54:53 <Guest66> "hey here is this tar.gz, just run make on it" is hell when you're on Nix. If it's not in nixpkgs, your will suffer
18:54:59 arpl joins (~arpl@84-107-171-239.cable.dynamic.v4.ziggo.nl)
18:55:22 kimjetwav joins (~user@2607:fea8:235f:9730:5dc1:21d2:283d:a2f8)
18:55:33 <Guest66> and my system was noticeably slower with all the symlinks
18:56:10 × shailangsa quits (~shailangs@host86-186-132-44.range86-186.btcentralplus.com) (Remote host closed the connection)
18:56:56 <maerwald> everything is a file -> everything is a symlink
18:57:16 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:4ca1:d414:dc00:5f20) (Remote host closed the connection)
18:57:32 <awpr> I want to see an "everything is a CAF" OS
18:58:01 <Clint> wht's a caf
18:58:15 <carbolymer> calf without leg
18:58:38 <awpr> Constant Applicative Form, a top-level Haskell binding that just applies something to some arguments
18:59:31 <Guest66> awpr: well how would you implement "files" that way?
18:59:47 <monochrom> Perhaps don't do files at all.
19:00:00 <awpr> unsafePerformIO :)
19:00:03 <monochrom> Have a different data model.
19:00:39 <monochrom> PalmOS did not have files for example. It had a relational database. The way I heard it.
19:00:50 <geekosaur> pick
19:01:21 <geekosaur> https://en.wikipedia.org/wiki/Pick_operating_system
19:02:04 <monochrom> Caldera and OS/2 and PalmOS. Anyone wanna try out NeXT or CP/M? Apple Integer BASIC?
19:03:06 × nitrix quits (~nitrix@user/nitrix) (Quit: Genius is one percent inspiration and ninety-nine percent perspiration)
19:03:23 <Guest66> I still can't believe CP/M was lost QDOS
19:03:29 <Guest66> lost to*
19:03:48 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
19:03:54 max22- joins (~maxime@2a01cb088335980002701e26d2f7aa66.ipv6.abo.wanadoo.fr)
19:04:46 arpl parts (~arpl@84-107-171-239.cable.dynamic.v4.ziggo.nl) ()
19:05:23 <monochrom> A lot of CP/M spirits still live today. CRLF. 8-character filename plus 3-letter extension.
19:07:52 <geekosaur> com files (memeory images starting at $0100) held on for a remarkably long time
19:08:11 <monochrom> Yeah.
19:10:10 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)
19:10:50 × ubert quits (~Thunderbi@178.115.76.102.wireless.dyn.drei.com) (Ping timeout: 260 seconds)
19:10:54 rond_ joins (~rond_@2a02:a31a:a23c:f480:2fd7:e087:5546:a438)
19:11:00 <monochrom> Interesting, the name "BIOS" may have come from CP/M too.
19:11:28 <geekosaur> probably
19:11:52 × nschoe quits (~quassel@2a01:e0a:8e:a190:b40e:d941:c021:f607) (Ping timeout: 252 seconds)
19:13:10 × kimjetwav quits (~user@2607:fea8:235f:9730:5dc1:21d2:283d:a2f8) (Ping timeout: 260 seconds)
19:13:29 python47` joins (~user@88.160.31.174)
19:14:40 <Guest66> I really don't understand the author's two arguments for writing the Parser type synonym here: https://markkarpov.com/tutorial/megaparsec.html#parsect-and-parsec-monads
19:15:40 <Guest66> when they say "if your code stays polymorphic" do they mean I would write "Parsec Void Text Int" every time?
19:16:50 <Guest66> because to me it's just a matter of not repeating the some composition (for "code beauty" ...)
19:16:58 <geekosaur> no, when you reach that level Parser is just a shorthand. but lots of parser code doesn't refer to most of that so you'd just write an (unused) type variable, and then the excessive polymorphism bites
19:17:14 <monochrom> "GHC cannot do much in terms of optimization if your parsers stay polymorphic"
19:17:49 <monochrom> Type inference gives very polymorphic types.
19:18:21 <Guest66> I'm sorry what's an unused type variable. Could your give me an example where the code stays polymorphic because that's what I'm missing
19:18:23 <geekosaur> that too, if you just lket ghc infer the types it'll iinsert unused type vars
19:18:54 <monochrom> However, I come from another angle.
19:19:36 <monochrom> Most people who talk about code optimizations talk about of personal fantasy.
19:19:52 <monochrom> s/talk about of/talk out of/
19:20:07 × teddyc quits (theodorc@cassarossa.samfundet.no) (Ping timeout: 252 seconds)
19:21:03 <monochrom> Both kinds of fantasies: how code optimizations work, how much you actually need.
19:22:00 × notzmv quits (~zmv@user/notzmv) (Remote host closed the connection)
19:22:07 vicfred joins (~vicfred@user/vicfred)
19:22:18 <mrianbloom> Is anyone successfully using a Haskell binding to Tensorflow?
19:22:37 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.2.1)
19:22:53 <mrianbloom> Python is just causing so many problems, I've been hoping to phase it out.
19:22:59 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
19:23:25 nschoe joins (~quassel@2a01:e0a:8e:a190:6260:d0a4:612a:667e)
19:23:39 <jpds> Seems to be an official thing: https://github.com/tensorflow/haskell
19:25:11 × alzgh quits (~alzgh@user/alzgh) (Remote host closed the connection)
19:25:17 × mikoto-chan quits (~mikoto-ch@ip-83-134-2-136.dsl.scarlet.be) (Quit: mikoto-chan)
19:25:31 alzgh joins (~alzgh@user/alzgh)
19:25:31 mikoto-chan joins (~mikoto-ch@ip-83-134-2-136.dsl.scarlet.be)
19:26:17 <monochrom> I look at this whole thing from the points of view of getting things done, teaching, learning.
19:27:02 × python47` quits (~user@88.160.31.174) (Remote host closed the connection)
19:27:05 × xff0x quits (~xff0x@2001:1a81:5223:600:7b8b:d6b9:4e09:bc2d) (Ping timeout: 264 seconds)
19:27:12 <monochrom> If you're getting things done, the actual problem you're solving already determines how much/little polymorphism you should have. You shouldn't even have a choice there.
19:27:48 xff0x joins (~xff0x@2001:1a81:5223:600:5044:85d:79f3:4926)
19:28:05 <monochrom> And then, in case you need much polymorphism, how to make it fast is a different issue, there are techniques.
19:29:04 <monochrom> And in case you need much monomorphism, and if it means you have to handwrite very long types with like 10 type parameters, how to manage it is also a different issue.
19:30:58 <monochrom> Type aliases shorten your type sigs but makes you remember more names. You are trading reading "speed" vs brain memory recall. The sweet spot depends on your actual code.
19:31:11 <monochrom> s/remember/memorize/
19:31:49 \Nova joins (~novadev@2405:4802:11d:af70:55d5:5371:aee0:b50e)
19:32:09 <monochrom> If you're teaching or learning, Piaget's theory: concrete before abstract, special before general, monomorphic before polymorphic.
19:32:16 <monochrom> It's that simple.
19:33:04 <[exa]> tangible colorful motivation
19:34:33 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
19:35:55 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:4ca1:d414:dc00:5f20)
19:36:30 × nschoe quits (~quassel@2a01:e0a:8e:a190:6260:d0a4:612a:667e) (Ping timeout: 260 seconds)
19:39:36 <c_wraith> you can often add bounded polymorphism to just about anything.
19:39:46 <c_wraith> So... probably best not to. :)
19:39:50 <c_wraith> :t view
19:39:51 <lambdabot> MonadReader s m => Getting a s a -> m a
19:39:59 <c_wraith> I *still* don't like the type of that
19:40:04 <c_wraith> even though it's clearly useful
19:41:30 <c_wraith> or rather, I don't like that the MonadReader instance most frequently used with it is (->)
19:41:55 <awpr> don't look at `Control.Lens.Indexed` then
19:42:24 <c_wraith> I have on several occasions, because I made the mistake of thinking useful things were in that module
19:42:38 <awpr> that thing is so delicately balanced on the van laarhoven lens types that it just seems like an astonishing bit of luck that it was possible
19:43:02 <[exa]> I'm trying to get `llvm-hs` working in github ubuntu runner and it's telling me that it can't match `forall r1. ContT r1 m a` with `ContT r m a` during installation at some point (AnyCont.hs line 15). Did anyone see/solve that?
19:43:14 <c_wraith> IIRC, that mess was mostly "there are only ever going to be two instances, so we felt fine adding all these other things"
19:45:06 <awpr> [exa]: https://github.com/llvm-hs/llvm-hs/commit/227a33c183a4abc5dfbee50081ee793348e38355 perhaps?
19:45:47 × Guest66 quits (~Guest66@wificampus-023241.grenet.fr) (Ping timeout: 256 seconds)
19:45:56 <[exa]> oh lovely that might be it
19:48:12 × nehsou^ quits (~nehsou@12.203.127.82) (Remote host closed the connection)
19:48:46 × rond_ quits (~rond_@2a02:a31a:a23c:f480:2fd7:e087:5546:a438) (Quit: Client closed)
19:51:14 python476 joins (~user@88.160.31.174)
19:52:21 kayprish joins (~kayprish@46.240.130.158)
19:54:19 Pickchea joins (~private@user/pickchea)
19:57:56 × oxide quits (~lambda@user/oxide) (Quit: oxide)
19:59:02 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:4ca1:d414:dc00:5f20) (Remote host closed the connection)
19:59:25 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:4ca1:d414:dc00:5f20)
20:00:04 hiepph[m] parts (~hiepphmat@2001:470:69fc:105::e3a8) ()
20:00:13 × wonko quits (~wjc@62.115.229.50) (Ping timeout: 252 seconds)
20:04:27 rond_ joins (~rond_@2a02:a31a:a23c:f480:2fd7:e087:5546:a438)
20:05:13 × xff0x quits (~xff0x@2001:1a81:5223:600:5044:85d:79f3:4926) (Ping timeout: 252 seconds)
20:05:55 × dhouthoo quits (~dhouthoo@178-117-36-167.access.telenet.be) (Quit: WeeChat 3.2)
20:06:00 xff0x joins (~xff0x@2001:1a81:5223:600:4c14:d9af:343:6bc3)
20:06:21 pera joins (~pera@5ec231fc.skybroadband.com)
20:06:28 waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd)
20:06:46 pera is now known as Guest2276
20:09:08 × mikoto-chan quits (~mikoto-ch@ip-83-134-2-136.dsl.scarlet.be) (Ping timeout: 265 seconds)
20:11:17 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
20:13:07 × amahl quits (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) (Quit: Leaving)
20:16:27 jushur joins (~human@user/jushur)
20:17:10 × kayprish quits (~kayprish@46.240.130.158) (Read error: Connection reset by peer)
20:21:30 aliosablack joins (~chomwitt@athedsl-351887.home.otenet.gr)
20:21:46 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
20:22:01 Tuplanolla joins (~Tuplanoll@91-159-69-50.elisa-laajakaista.fi)
20:22:42 × chomwitt quits (~chomwitt@ppp-94-67-1-143.home.otenet.gr) (Ping timeout: 260 seconds)
20:25:16 × max22- quits (~maxime@2a01cb088335980002701e26d2f7aa66.ipv6.abo.wanadoo.fr) (Remote host closed the connection)
20:26:02 max22- joins (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr)
20:26:11 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 252 seconds)
20:27:18 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
20:27:43 geekosaur joins (~geekosaur@xmonad/geekosaur)
20:28:56 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Ping timeout: 252 seconds)
20:29:21 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
20:35:04 <ixlun> Out of interest does GHC have the ability to fold 'trivial' functions that can then be the basis of compile time checks? I'm thinking something like https://hackage.haskell.org/package/safe-money-0.9.1/docs/Money.html#v:mkSeparators
20:35:56 <ixlun> This returns a `Maybe Separators` but it would be nice if the compiler could do a compile-time check to ensure the critera matches and then the `Maybe` wouldn't be needed.
20:36:12 × alzgh quits (~alzgh@user/alzgh) (Remote host closed the connection)
20:36:17 <ixlun> Kind of similar to C++'s `constexpr`, I guess.
20:36:22 alzgh joins (~alzgh@user/alzgh)
20:36:40 acidjnk joins (~acidjnk@p200300d0c703cb1858335af67d16cb54.dip0.t-ipconnect.de)
20:44:14 teddyc joins (theodorc@cassarossa.samfundet.no)
20:45:40 shailangsa joins (~shailangs@host217-39-45-200.range217-39.btcentralplus.com)
20:46:31 × Null_A quits (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c) (Remote host closed the connection)
20:46:58 TDANG joins (~TDANG@inet-177-7.ets.org)
20:49:27 <TDANG> How can I translate following statement
20:49:31 <TDANG> hello :: Contract () EmptySchema T.Text ()
20:49:41 Null_A joins (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c)
20:49:41 cfricke joins (~cfricke@user/cfricke)
20:51:08 <maerwald> translate?
20:51:23 <monochrom> Translate to what?
20:51:31 <TDANG> I mean, interprete
20:51:42 <TDANG> How do I understand that statement
20:51:44 <maerwald> TDANG: did you follow the plutus pioneer program?
20:51:52 <TDANG> Not yet
20:51:56 <maerwald> please do so
20:51:59 <maerwald> it's explained there
20:52:14 <monochrom> Contract is a type, but it takes 4 type parameters. Here the 4 type parameters are given: (), EmptySchema, T.Text, ().
20:52:45 System123 joins (~System123@151.52.127.10)
20:52:46 <c_wraith> ixlun: ghc will inline and simplify in several cases, which will often achieve the same result. Though it won't do that across recursive functions, and there are other limits too.
20:52:59 <c_wraith> ixlun: if you want to guarantee it happens at compile-time, you need to involve template haskell
20:53:08 × System123 quits (~System123@151.52.127.10) (Read error: Connection reset by peer)
20:53:14 <monochrom> At this point you can do worse than checking out the documentation of this Contract type for real.
20:53:48 × Guest2921 quits (~chris@81.96.113.213) (Remote host closed the connection)
20:54:43 <TDANG> Oh, I got you
20:55:59 <monochrom> Well, either that, or you should learn Haskell syntax for real.
20:56:19 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 252 seconds)
20:56:20 <monochrom> And at this point I just mean syntax.
20:56:32 <TDANG> great
20:56:48 <TDANG> Is the plutus-pioneer-program here: https://github.com/input-output-hk/plutus-pioneer-program
20:57:10 <monochrom> https://soupi.github.io/rfc/reading_simple_haskell/ can get you to be able to read/guess pretty quickly.
20:58:18 vysn joins (~vysn@user/vysn)
20:58:39 chris joins (~chris@81.96.113.213)
20:58:44 chris is now known as Guest4945
20:59:06 Guest51 joins (~Guest51@93-172-101-61.bb.netvision.net.il)
20:59:21 <Guest51> can anyone help me? https://discourse.haskell.org/t/couldnt-figure-out-what-ghc-version-the-project-is-using/3310/5
20:59:29 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Ping timeout: 264 seconds)
21:02:58 × Guest4945 quits (~chris@81.96.113.213) (Ping timeout: 252 seconds)
21:06:28 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
21:08:56 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
21:09:08 × michalz quits (~michalz@185.246.204.33) (Remote host closed the connection)
21:09:50 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 260 seconds)
21:10:16 Lord_of_Life_ is now known as Lord_of_Life
21:11:47 wrengr_away is now known as wrengr
21:12:04 × Null_A quits (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c) (Remote host closed the connection)
21:14:04 <sshine> I'm trying to create a wrapper around 'req' that takes a 'ToJSON body => Maybe body' as argument. but my attempt fails because 'NoReqBody :: NoReqBody' and 'ReqBodyJson (toJSON body) :: ReqBodyJson Value' don't have the same type.
21:15:09 <sshine> the 'req' function has a bunch of type-class constraints that allows it to take either one as argument, and I'm somehow failing to express some similar ones.
21:15:41 × dextaa quits (~DV@user/dextaa) (Ping timeout: 252 seconds)
21:15:50 × aliosablack quits (~chomwitt@athedsl-351887.home.otenet.gr) (Ping timeout: 265 seconds)
21:16:59 <awpr> kinda sounds like you're doing something like `maybe NoReqBody ReqBodyJson` that's trying to unify those types
21:17:14 hgolden joins (~hgolden2@cpe-172-114-81-123.socal.res.rr.com)
21:17:35 <awpr> would probably need two different calls to `req` at different types instead
21:18:33 <sshine> exactly that
21:18:55 <sshine> I'll go with two.
21:20:12 <sshine> thanks.
21:20:50 dextaa joins (~DV@user/dextaa)
21:26:43 × slep quits (~slep@cpc150002-brnt4-2-0-cust437.4-2.cable.virginm.net) (Ping timeout: 268 seconds)
21:26:45 sneedsfeed joins (~sneedsfee@rrcs-173-95-122-169.midsouth.biz.rr.com)
21:27:57 <sneedsfeed> what should I use if I want to apply a function to a value, then apply that function again to the output repeatedly, each iteration evaluating that output for a condition?
21:28:09 Null_A joins (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c)
21:28:23 × Guest51 quits (~Guest51@93-172-101-61.bb.netvision.net.il) (Quit: Client closed)
21:28:36 <monochrom> Perhaps "until" helps. It's in Prelude.
21:28:46 <sneedsfeed> thanks ill check it out
21:32:42 × Null_A quits (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c) (Ping timeout: 260 seconds)
21:33:10 × pbrisbin quits (~patrick@pool-173-49-147-250.phlapa.fios.verizon.net) (Ping timeout: 252 seconds)
21:33:57 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
21:34:22 <sshine> > until (> 1000) (* 2) 1
21:34:24 <lambdabot> 1024
21:34:59 <maerwald> > until (const False) (* 2) 1
21:35:07 <lambdabot> mueval-core: Time limit exceeded
21:35:26 <Franciman> coding in C++ after 5 years of haskell
21:35:33 <maerwald> it's like dropping a stone into a deep well
21:36:00 <monochrom> > until (\e -> e+1 == 1) (/ 2) 1 :: Double
21:36:02 <lambdabot> 1.1102230246251565e-16
21:36:06 <monochrom> > until (\e -> e+1 == 1) (/ 2) 1 :: Float
21:36:08 <lambdabot> 5.9604645e-8
21:36:15 <monochrom> Instant machine epsilon :)
21:36:17 <awpr> > until odd (*2) (1 :: Int)
21:36:19 <lambdabot> 1
21:36:40 <monochrom> See also https://gist.github.com/AndrewBarfield/2557034
21:37:24 <hpc> monochrom: not quite epsilon
21:37:29 <monochrom> Or perhaps I need to look ahead:
21:37:37 <monochrom> > until (\e -> e/2+1 == 1) (/ 2) 1 :: Float
21:37:39 <lambdabot> 1.1920929e-7
21:37:41 <hpc> > until (\e -> e/2 == e) (/2) 1
21:37:42 <lambdabot> 0.0
21:37:50 <hpc> > until (\e -> e/2 == 0) (/2) 1
21:37:51 <lambdabot> 5.0e-324
21:37:54 <hpc> there we go
21:38:08 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Read error: Connection reset by peer)
21:38:21 <monochrom> No, machine epsilon is not about e/2==0
21:38:47 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
21:38:58 <hpc> oh, i see
21:39:16 <hpc> it's about rounding error, not the smallest float
21:40:24 <monochrom> e/2==0 tells you how much denormalized madness the machine goes out of its way to support.
21:40:55 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
21:41:37 <hpc> > floor (1/0) -- the only number that matters
21:41:38 <lambdabot> 1797693134862315907729305190789024733617976978942306572734300811577326758055...
21:42:08 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
21:43:03 <monochrom> heh
21:43:10 <monochrom> machine megatron
21:45:20 <sshine> > toRational (read "NaN" :: Double)
21:45:22 <lambdabot> (-26965397022934738615939577861835371004269654684134598591014512173659901370...
21:45:36 madjestic joins (~madjestic@88-159-247-120.fixed.kpn.net)
21:46:13 <monochrom> machine batman. (because "nanananananana...")
21:47:53 <hpc> meanwhile in marvel physics, doctor strange decays into doctor up
21:47:57 Cajun joins (~Cajun@user/cajun)
21:48:25 <monochrom> haha
21:54:59 × sneedsfeed quits (~sneedsfee@rrcs-173-95-122-169.midsouth.biz.rr.com) (Ping timeout: 256 seconds)
21:55:54 Null_A joins (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c)
21:57:20 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Quit: ZNC 1.8.2 - https://znc.in)
21:57:35 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
22:06:57 kayprish joins (~kayprish@46.240.130.158)
22:07:32 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.3)
22:07:56 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
22:09:55 chris joins (~chris@81.96.113.213)
22:09:59 chris is now known as Guest728
22:14:32 × Guest728 quits (~chris@81.96.113.213) (Ping timeout: 252 seconds)
22:15:06 chris joins (~chris@81.96.113.213)
22:15:10 chris is now known as Guest4036
22:17:15 Gurkenglas joins (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de)
22:17:25 × Guest4036 quits (~chris@81.96.113.213) (Remote host closed the connection)
22:18:24 chris joins (~chris@81.96.113.213)
22:18:28 chris is now known as Guest866
22:18:56 nrl^ joins (~nrl@12.203.127.82)
22:21:57 × max22- quits (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr) (Quit: Leaving)
22:23:04 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
22:23:15 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
22:26:09 mousey joins (~sky@gateway/tor-sasl/mousey)
22:26:20 × Null_A quits (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c) (Remote host closed the connection)
22:28:14 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
22:43:19 × nrl^ quits (~nrl@12.203.127.82) (Ping timeout: 265 seconds)
22:46:26 × doyougnu quits (~user@c-73-25-202-122.hsd1.or.comcast.net) (Ping timeout: 260 seconds)
22:50:29 Null_A joins (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c)
22:50:31 nrl^ joins (~nrl@12.203.127.82)
22:52:07 × kayprish quits (~kayprish@46.240.130.158) (Remote host closed the connection)
22:53:17 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
22:53:50 lavaman joins (~lavaman@98.38.249.169)
22:54:35 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
22:54:48 lavaman joins (~lavaman@98.38.249.169)
22:56:15 × epolanski quits (uid312403@id-312403.helmsley.irccloud.com) (Quit: Connection closed for inactivity)
23:03:55 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
23:05:19 × seiryn quits (~seiryn@2a01cb040147e000e4dbf764ff30bd96.ipv6.abo.wanadoo.fr) (Quit: WeeChat 3.2.1)
23:06:36 yauhsien joins (~yauhsien@61-231-35-247.dynamic-ip.hinet.net)
23:07:11 × mousey quits (~sky@gateway/tor-sasl/mousey) (Remote host closed the connection)
23:07:30 mousey joins (~sky@gateway/tor-sasl/mousey)
23:20:28 × madjestic quits (~madjestic@88-159-247-120.fixed.kpn.net) (Ping timeout: 252 seconds)
23:23:00 <zzz> why am i getting ‘<$>’ is not a (visible) method of class ‘Functor’? if i define `fmap f a` instead of `f <$> a` the error goes away
23:23:42 <geekosaur> because it's not defined as a class method
23:23:59 <geekosaur> it's defined as `(<$>) = fmap` at the top level
23:24:23 <geekosaur> it'd actually be bad as a method because that would allow them to have different definitions
23:25:49 <zzz> ah right
23:26:23 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
23:26:28 × Null_A quits (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c) (Remote host closed the connection)
23:26:53 Null_A joins (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c)
23:28:01 × vysn quits (~vysn@user/vysn) (Remote host closed the connection)
23:32:38 × MQ-17J quits (~MQ-17J@d192-24-122-179.try.wideopenwest.com) (Read error: Connection reset by peer)
23:36:25 MQ-17J joins (~MQ-17J@8.21.10.6)
23:36:43 × \Nova quits (~novadev@2405:4802:11d:af70:55d5:5371:aee0:b50e) (Quit: zzz...)
23:36:48 × Null_A quits (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c) (Remote host closed the connection)
23:37:06 \Nova joins (~novadev@2405:4802:11d:af70:55d5:5371:aee0:b50e)
23:37:06 × \Nova quits (~novadev@2405:4802:11d:af70:55d5:5371:aee0:b50e) (Client Quit)
23:37:07 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
23:37:13 Null_A joins (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c)
23:37:31 × acidjnk quits (~acidjnk@p200300d0c703cb1858335af67d16cb54.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
23:37:48 \Nova joins (~novadev@2405:4802:11d:af70:55d5:5371:aee0:b50e)
23:37:48 × \Nova quits (~novadev@2405:4802:11d:af70:55d5:5371:aee0:b50e) (Client Quit)
23:38:10 \Nova joins (~novadev@2405:4802:11d:af70:55d5:5371:aee0:b50e)
23:38:10 × \Nova quits (~novadev@2405:4802:11d:af70:55d5:5371:aee0:b50e) (Client Quit)
23:38:32 \Nova joins (~novadev@2405:4802:11d:af70:55d5:5371:aee0:b50e)
23:38:32 × \Nova quits (~novadev@2405:4802:11d:af70:55d5:5371:aee0:b50e) (Client Quit)
23:38:49 × yauhsien quits (~yauhsien@61-231-35-247.dynamic-ip.hinet.net) (Remote host closed the connection)
23:40:47 lavaman joins (~lavaman@98.38.249.169)
23:47:08 × Null_A quits (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c) (Remote host closed the connection)
23:47:22 × MQ-17J quits (~MQ-17J@8.21.10.6) (Ping timeout: 252 seconds)
23:47:33 Null_A joins (~null_a@2601:645:8700:2290:dc8f:40ba:7f6f:b65c)
23:50:43 × xlei quits (akans@pool-68-129-84-118.nycmny.fios.verizon.net) (Ping timeout: 252 seconds)
23:51:34 MQ-17J joins (~MQ-17J@d192-24-122-179.try.wideopenwest.com)
23:57:23 × Guest2276 quits (~pera@5ec231fc.skybroadband.com) (Ping timeout: 252 seconds)
23:57:50 × Gurkenglas quits (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de) (Ping timeout: 260 seconds)

All times are in UTC on 2021-09-23.