Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-05-04 07:03:54 thc202 joins (~thc202@unaffiliated/thc202)
2021-05-04 07:05:19 jgt_ joins (~jgt@37.157.184.76)
2021-05-04 07:05:37 <olligobber> I have a very complicated error to figure out
2021-05-04 07:06:05 <olligobber> oh I just figured it out
2021-05-04 07:06:06 <Axman6> this is how you know you're writing proper haskell
2021-05-04 07:06:53 <olligobber> the typing information is getting dropped after the template haskell is generated
2021-05-04 07:07:44 tomku joins (~tomku@unaffiliated/tomku)
2021-05-04 07:10:06 × jgt_ quits (~jgt@37.157.184.76) (Ping timeout: 260 seconds)
2021-05-04 07:10:59 <olligobber> yay it works
2021-05-04 07:15:08 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-05-04 07:17:14 × Kaivo quits (~Kaivo@172-97-54-87.mc.derytele.com) (Ping timeout: 265 seconds)
2021-05-04 07:19:28 ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta)
2021-05-04 07:20:35 Kaivo joins (~Kaivo@172-97-54-87.mc.derytele.com)
2021-05-04 07:21:29 kritzefitz joins (~kritzefit@212.86.56.80)
2021-05-04 07:23:29 jgt_ joins (~jgt@37.157.184.76)
2021-05-04 07:24:22 × ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 252 seconds)
2021-05-04 07:27:30 × rdivyanshu quits (uid322626@gateway/web/irccloud.com/x-utanrjkuxkvzvroc) (Quit: Connection closed for inactivity)
2021-05-04 07:27:45 × JustinCase quits (~justin@2600:4040:122c:1400:3e6a:a7ff:fe68:5a47) (Ping timeout: 250 seconds)
2021-05-04 07:27:57 fendor joins (~fendor@178.115.128.74.wireless.dyn.drei.com)
2021-05-04 07:28:13 × jgt_ quits (~jgt@37.157.184.76) (Ping timeout: 252 seconds)
2021-05-04 07:28:45 ValeraRozuvan joins (~ValeraRoz@88.155.79.96)
2021-05-04 07:31:03 × ValeraRozuvan quits (~ValeraRoz@88.155.79.96) (Max SendQ exceeded)
2021-05-04 07:32:57 × kmein quits (~weechat@static.173.83.99.88.clients.your-server.de) (Quit: ciao kakao)
2021-05-04 07:33:18 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2021-05-04 07:33:21 kmein joins (~weechat@static.173.83.99.88.clients.your-server.de)
2021-05-04 07:34:54 m0rphism joins (~m0rphism@HSI-KBW-085-216-104-059.hsi.kabelbw.de)
2021-05-04 07:35:26 ValeraRozuvan joins (~ValeraRoz@88.155.79.96)
2021-05-04 07:40:19 × frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 252 seconds)
2021-05-04 07:40:22 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.1)
2021-05-04 07:40:24 jespada joins (~jespada@87.74.37.248)
2021-05-04 07:42:59 royal_screwup213 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-05-04 07:44:11 × brkscnce_ quits (~obaum@37.120.31.251) (Ping timeout: 268 seconds)
2021-05-04 07:47:33 × Sgeo quits (~Sgeo@ool-18b9875e.dyn.optonline.net) (Read error: Connection reset by peer)
2021-05-04 07:47:43 × cdsmith quits (49cf15a2@c-73-207-21-162.hsd1.ga.comcast.net) (Ping timeout: 240 seconds)
2021-05-04 07:49:09 cfricke joins (~cfricke@unaffiliated/cfricke)
2021-05-04 07:50:44 jgt_ joins (~jgt@37.157.184.76)
2021-05-04 07:50:57 ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta)
2021-05-04 07:52:31 brkscnce_ joins (~obaum@37.120.31.251)
2021-05-04 07:53:02 fuzzypixelz joins (2ec10464@eth-west-pareq2-46-193-4-100.wb.wifirst.net)
2021-05-04 07:53:31 <fuzzypixelz> I made another monad tutorial: https://www.fuzzypixelz.com/2021/05/01/The-M-Word/
2021-05-04 07:53:54 <fuzzypixelz> (just what you needed)
2021-05-04 07:54:11 × kritzefitz quits (~kritzefit@212.86.56.80) (Ping timeout: 240 seconds)
2021-05-04 07:54:26 <Rembane> fuzzypixelz: It doesn't contain any burritos. :O
2021-05-04 07:54:29 Rembane reads the tutorial
2021-05-04 07:54:41 kritzefitz joins (~kritzefit@2003:5b:203b:200::10:49)
2021-05-04 07:54:58 mikoto-chan joins (~mikoto-ch@gateway/tor-sasl/mikoto-chan)
2021-05-04 07:55:10 × oish quits (~charlie@228.25.169.217.in-addr.arpa) (Ping timeout: 252 seconds)
2021-05-04 07:55:11 × ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 240 seconds)
2021-05-04 07:55:11 × jgt_ quits (~jgt@37.157.184.76) (Ping timeout: 246 seconds)
2021-05-04 07:59:15 enoq joins (~textual@194-208-146-143.lampert.tv)
2021-05-04 07:59:24 jgt_ joins (~jgt@37.157.184.76)
2021-05-04 08:02:47 <maerwald> fuzzypixelz: some critique: I find it a bit questionable to start with the laws (I prefer the parser approach). The second paragraph about the Why is kind of a misrepresentation: Monads have nothing to do with purity. And IO works without Monads too.
2021-05-04 08:03:01 nineonine joins (~nineonine@2604:3d08:7783:f200:10b9:8c10:5b66:dc51)
2021-05-04 08:03:25 × jneira quits (5127acfa@gateway/web/cgi-irc/kiwiirc.com/ip.81.39.172.250) (Ping timeout: 252 seconds)
2021-05-04 08:04:31 × stree quits (~stree@68.36.8.116) (Ping timeout: 268 seconds)
2021-05-04 08:04:48 × fendor quits (~fendor@178.115.128.74.wireless.dyn.drei.com) (Remote host closed the connection)
2021-05-04 08:07:29 × nineonine quits (~nineonine@2604:3d08:7783:f200:10b9:8c10:5b66:dc51) (Ping timeout: 245 seconds)
2021-05-04 08:10:21 × hendursaga quits (~weechat@gateway/tor-sasl/hendursaga) (Ping timeout: 240 seconds)
2021-05-04 08:11:44 <maerwald> the limitations of an applicative parser is a great introduction into monads, but then you have to explain applicative first
2021-05-04 08:12:28 <maerwald> And it's also something you can code up yourself in a reasonable amount of time
2021-05-04 08:12:52 bitmagie joins (~Thunderbi@200116b8061c5600286b98b995fbce0a.dip.versatel-1u1.de)
2021-05-04 08:13:51 <merijn> maerwald: You're not alone who thinks starting with laws is questionable :p
2021-05-04 08:14:07 <merijn> maerwald: See one of my favourite quotes on math education :p
2021-05-04 08:14:11 hendursaga joins (~weechat@gateway/tor-sasl/hendursaga)
2021-05-04 08:14:56 <merijn> Suppose that you want to teach the 'cat' concept to a very young child. Do you explain that a cat is a relatively small, primarily carnivorous mammal with retractible claws, a distinctive sonic output, etc.? I'll bet not. You probably show the kid a lot of different cats, saying 'kitty' each time, until it gets the idea. To put it more generally, generalizations are best made by abstraction from
2021-05-04 08:15:02 <merijn> experience.
2021-05-04 08:15:04 <merijn> - R. P. Boas (Can we make mathematics intelligible?, American Mathematical Monthly 88 (1981), pp. 727-731)
2021-05-04 08:15:52 <maerwald> Yeah, the other approach is showing recurring patterns that can be abstracted out with the Monad class
2021-05-04 08:16:07 <maerwald> It's not like we didn't use Monads before the Monad class
2021-05-04 08:16:20 <merijn> maerwald: Well, that's Boas' exact point, no? :p
2021-05-04 08:16:26 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-05-04 08:16:28 <merijn> Also, the original monad paper follows that method too
2021-05-04 08:17:24 stree joins (~stree@68.36.8.116)
2021-05-04 08:17:45 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
2021-05-04 08:19:08 <maerwald> I learn better by contrast... so in order to know what a cat is, show me a dog first :p
2021-05-04 08:19:24 <olligobber> hmm, so adding `AsSet' to a type declaration is causing errors...
2021-05-04 08:20:07 <olligobber> in particular, this AsSet: https://github.com/olligobber/IotaBF/blob/main/lib/Functional/Iota/Free.hs#L29
2021-05-04 08:20:32 <olligobber> which is weird, because the list I'm converting to a set has no repeats
2021-05-04 08:22:29 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds)
2021-05-04 08:24:00 × bitmagie quits (~Thunderbi@200116b8061c5600286b98b995fbce0a.dip.versatel-1u1.de) (Quit: bitmagie)
2021-05-04 08:25:42 × drbean_ quits (~drbean@TC210-63-209-145.static.apol.com.tw) (Ping timeout: 240 seconds)
2021-05-04 08:26:29 oish joins (~charlie@228.25.169.217.in-addr.arpa)
2021-05-04 08:28:23 alexander joins (~alexander@2a02:587:dc0a:2700:39fb:67a3:1f47:16d)
2021-05-04 08:28:53 alexander is now known as Guest37426
2021-05-04 08:30:47 __monty__ joins (~toonn@unaffiliated/toonn)
2021-05-04 08:31:01 ddellacosta joins (~ddellacos@86.106.143.31)
2021-05-04 08:35:37 esp32_prog joins (~esp32_pro@89.45.7.186)
2021-05-04 08:36:01 × ddellacosta quits (~ddellacos@86.106.143.31) (Ping timeout: 265 seconds)
2021-05-04 08:37:42 <olligobber> huh, converting a list with more than 1 element to a set is breaking my instances
2021-05-04 08:38:03 dinciorip joins (~dincio@5.171.9.145)
2021-05-04 08:40:22 <sshine> olligobber, post example?
2021-05-04 08:40:25 <olligobber> wait, is there a difference between : and ': ?
2021-05-04 08:40:50 <sshine> ': looks like a type-level literal
2021-05-04 08:40:54 <c_wraith> sometimes the parser gets confused with promoted types
2021-05-04 08:40:57 <__monty__> ': sounds like the DataKinds promoted version.
2021-05-04 08:40:58 <fuzzypixelz> maerwald: thanks for your feedback. Could you please elaborate on `Monads have nothing to do with purity. And IO works without Monads too.`?
2021-05-04 08:41:33 <olligobber> nah, switching : to ': didn't fix it
2021-05-04 08:41:47 ddellacosta joins (~ddellacos@ool-44c73afa.dyn.optonline.net)
2021-05-04 08:41:50 <olligobber> I'll make a mwe
2021-05-04 08:43:38 <sshine> since fuzzypixelz is asking, I'll also ask: can you have first-class effects that are non-monadic? or would non-monadic IO be with side-effects?

All times are in UTC.