Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→
Page 1 .. 125 126 127 128 129 130 131 132 133 134 135 .. 5022
502,152 events total
2020-09-22 01:32:57 <pacak> % git grep StateT | wc -l
2020-09-22 01:32:57 <pacak> 26
2020-09-22 01:32:57 <yahb> pacak: ; <interactive>:105:24: error: parse error (possibly incorrect indentation or mismatched brackets)
2020-09-22 01:35:10 × spew quits (uid195861@gateway/web/irccloud.com/x-ttozjtuhdixrdemb) (Quit: Connection closed for inactivity)
2020-09-22 01:35:26 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Read error: Connection reset by peer)
2020-09-22 01:35:46 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
2020-09-22 01:36:02 × elcaro quits (~anonymous@45.32.191.75) (Ping timeout: 256 seconds)
2020-09-22 01:36:02 × BIG_JIMMY_D quits (~jim@108.61.185.76) (Ping timeout: 256 seconds)
2020-09-22 01:36:38 tromp joins (~tromp@dhcp-077-249-230-040.chello.nl)
2020-09-22 01:36:59 × puffnfresh_ quits (~puffnfres@45.76.124.5) (Ping timeout: 260 seconds)
2020-09-22 01:38:53 macrover joins (~macrover@ip70-189-231-35.lv.lv.cox.net)
2020-09-22 01:42:04 <Xnuk> Is it quite different between `ReaderT Config IO a` and `Config -> IO a` ?
2020-09-22 01:42:13 <Xnuk> I guess yes
2020-09-22 01:42:15 × vicfred quits (~vicfred@unaffiliated/vicfred) (Quit: Leaving)
2020-09-22 01:44:46 <Xnuk> But the restriction unable to edit `Config` makes me feel useless for me
2020-09-22 01:44:59 flex14 joins (~flex14@2601:280:c780:7ea0:d233:9ddf:c010:c113)
2020-09-22 01:45:09 <pacak> There is. In one case you have to pass Config manually all over the place and it can be changed, in case of reader - it gets passed automatically and is immutable.
2020-09-22 01:46:02 <pacak> What kind of editing do you have in mind?
2020-09-22 01:47:18 <Xnuk> the editing means like `modify :: (s -> s) -> StateT s m ()`
2020-09-22 01:47:19 × inkbottle quits (~inkbottle@aaubervilliers-654-1-101-24.w86-212.abo.wanadoo.fr) (Quit: Konversation terminated!)
2020-09-22 01:47:27 × MarcelineVQ quits (~anja@198.254.202.72) (Read error: Connection reset by peer)
2020-09-22 01:47:40 inkbottle joins (~inkbottle@aaubervilliers-654-1-101-24.w86-212.abo.wanadoo.fr)
2020-09-22 01:47:57 MarcelineVQ joins (~anja@198.254.202.72)
2020-09-22 01:47:58 × flex14 quits (~flex14@2601:280:c780:7ea0:d233:9ddf:c010:c113) (Max SendQ exceeded)
2020-09-22 01:48:29 flex14 joins (~flex14@2601:280:c780:7ea0:d233:9ddf:c010:c113)
2020-09-22 01:49:22 <pacak> Right. What kind of changes?
2020-09-22 01:50:00 puffnfresh_ joins (~puffnfres@45.76.124.5)
2020-09-22 01:50:02 × solonarv quits (~solonarv@astrasbourg-653-1-186-165.w90-13.abo.wanadoo.fr) (Ping timeout: 272 seconds)
2020-09-22 01:50:27 × zaquest quits (~notzaques@5.128.210.178) (Quit: Leaving)
2020-09-22 01:50:41 elcaro joins (~anonymous@45.32.191.75)
2020-09-22 01:50:46 <Axman6> Xnuk: what config would need changing? config is gatherted at startup. things that change over time are application state
2020-09-22 01:51:23 BIG_JIMMY_D joins (~jim@108.61.185.76)
2020-09-22 01:51:24 × flex14 quits (~flex14@2601:280:c780:7ea0:d233:9ddf:c010:c113) (Max SendQ exceeded)
2020-09-22 01:51:39 zaquest joins (~notzaques@5.128.210.178)
2020-09-22 01:51:51 flex14 joins (~flex14@2601:280:c780:7ea0:d233:9ddf:c010:c113)
2020-09-22 01:52:03 × andreas303 quits (~andreas@gateway/tor-sasl/andreas303) (Ping timeout: 240 seconds)
2020-09-22 01:52:15 <Axman6> and state is usually a bad thing :) particularly if you are working with a multithreaded app, which is more often then case for me.
2020-09-22 01:54:46 andreas303 joins (~andreas@gateway/tor-sasl/andreas303)
2020-09-22 01:55:16 × flex14 quits (~flex14@2601:280:c780:7ea0:d233:9ddf:c010:c113) (Max SendQ exceeded)
2020-09-22 01:55:18 spew joins (uid195861@gateway/web/irccloud.com/x-qrcclbtlqeexxgus)
2020-09-22 01:55:46 flex14 joins (~flex14@2601:280:c780:7ea0:d233:9ddf:c010:c113)
2020-09-22 01:56:33 <Xnuk> yeah an application config is very static, actually I feel that fits for `Config -> m a` more imo.
2020-09-22 01:58:10 <Xnuk> Using `ReaderT` more than `StateT` is suprising for me btw
2020-09-22 01:58:59 × urodna quits (~urodna@unaffiliated/urodna) (Quit: urodna)
2020-09-22 01:59:15 × flex14 quits (~flex14@2601:280:c780:7ea0:d233:9ddf:c010:c113) (Max SendQ exceeded)
2020-09-22 01:59:24 <Xnuk> for example, can I write parser (ex. JSON parser) with ReaderT?
2020-09-22 01:59:46 flex14 joins (~flex14@2601:280:c780:7ea0:d233:9ddf:c010:c113)
2020-09-22 02:00:19 <Xnuk> I usually write parser/scrapper in haskell
2020-09-22 02:01:54 × xff0x quits (~fox@2001:1a81:53e9:6d00:158c:d17f:d83e:dc7f) (Ping timeout: 246 seconds)
2020-09-22 02:01:57 jdgr joins (601c428b@gateway/web/cgi-irc/kiwiirc.com/ip.96.28.66.139)
2020-09-22 02:03:12 × acidjnk_new2 quits (~acidjnk@p200300d0c73658819d57354728142a5b.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
2020-09-22 02:03:49 xff0x joins (~fox@2001:1a81:5222:7400:158c:d17f:d83e:dc7f)
2020-09-22 02:05:34 <pacak> You can use ReaderT part to pass some configuration parts to your parser. I was using it to pass a big ass lookup table.
2020-09-22 02:05:52 × s00pcan quits (~chris@107.181.165.217) (Ping timeout: 272 seconds)
2020-09-22 02:07:19 s00pcan joins (~chris@075-133-056-178.res.spectrum.com)
2020-09-22 02:08:14 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2020-09-22 02:13:40 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)
2020-09-22 02:13:44 × darjeeling_ quits (~darjeelin@122.245.219.58) (Ping timeout: 260 seconds)
2020-09-22 02:14:12 darjeeling_ joins (~darjeelin@122.245.219.58)
2020-09-22 02:17:46 × isovector1 quits (~isovector@node-1w7jr9squrfoy3fci95ksrhpu.ipv6.telus.net) (Remote host closed the connection)
2020-09-22 02:18:14 × macrover quits (~macrover@ip70-189-231-35.lv.lv.cox.net) (Ping timeout: 260 seconds)
2020-09-22 02:18:15 isovector1 joins (~isovector@node-1w7jr9squrfoy3fci95ksrhpu.ipv6.telus.net)
2020-09-22 02:18:30 × machinedgod quits (~machinedg@d67-193-126-196.home3.cgocable.net) (Ping timeout: 265 seconds)
2020-09-22 02:21:16 shad0w_ joins (~shad0w_@160.202.36.59)
2020-09-22 02:22:49 × Uma quits (~uma@umazalakain.info) (Remote host closed the connection)
2020-09-22 02:23:09 × marek quits (~mmahut@fedora/pyxel) (Ping timeout: 256 seconds)
2020-09-22 02:23:40 Uma joins (~uma@umazalakain.info)
2020-09-22 02:28:17 × jedws quits (~jedws@121.209.139.222) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2020-09-22 02:28:47 marek joins (~mmahut@209.250.249.245)
2020-09-22 02:31:21 × lagothrix quits (~lagothrix@unaffiliated/lagothrix) (Killed (hitchcock.freenode.net (Nickname regained by services)))
2020-09-22 02:31:27 lagothrix joins (~lagothrix@unaffiliated/lagothrix)
2020-09-22 02:33:49 zacts joins (~zacts@dragora/developer/zacts)
2020-09-22 02:35:27 hackage flink-statefulfun 0.1.0.1 - Flink stateful functions SDK https://hackage.haskell.org/package/flink-statefulfun-0.1.0.1 (tdbgamer)
2020-09-22 02:37:39 × cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Ping timeout: 260 seconds)
2020-09-22 02:38:46 × ystael quits (~ystael@209.6.50.55) (Ping timeout: 260 seconds)
2020-09-22 02:38:58 macrover joins (~macrover@ip70-189-231-35.lv.lv.cox.net)
2020-09-22 02:42:31 macrover parts (~macrover@ip70-189-231-35.lv.lv.cox.net) ()
2020-09-22 02:42:45 sasssss joins (54ed377d@84.237.55.125)
2020-09-22 02:46:43 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2020-09-22 02:47:26 × Guest3651 quits (43aa4b1c@c-67-170-75-28.hsd1.wa.comcast.net) (Remote host closed the connection)
2020-09-22 02:48:13 × aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net)
2020-09-22 02:49:12 aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net)
2020-09-22 02:51:59 × justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 272 seconds)
2020-09-22 02:53:45 cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net)
2020-09-22 02:54:03 × cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Client Quit)
2020-09-22 02:54:44 toorevitimirp joins (~tooreviti@117.182.182.33)
2020-09-22 02:55:22 jedws joins (~jedws@121.209.139.222)
2020-09-22 02:56:40 Stanley00 joins (~stanley00@unaffiliated/stanley00)
2020-09-22 02:58:03 × ddellacosta quits (~dd@86.106.121.168) (Ping timeout: 260 seconds)
2020-09-22 02:58:46 × theDon quits (~td@muedsl-82-207-238-036.citykom.de) (Ping timeout: 256 seconds)
2020-09-22 03:00:02 × grawity1 quits (~grawity@185.204.1.185) ()
2020-09-22 03:00:35 theDon joins (~td@94.134.91.240)
2020-09-22 03:06:12 × isovector1 quits (~isovector@node-1w7jr9squrfoy3fci95ksrhpu.ipv6.telus.net) (Ping timeout: 260 seconds)
2020-09-22 03:10:20 × adamwespiser quits (~adam_wesp@209.6.42.110) (Remote host closed the connection)
2020-09-22 03:10:39 dead10cc joins (63f22acf@gateway/web/cgi-irc/kiwiirc.com/ip.99.242.42.207)
2020-09-22 03:11:03 × Sheilong quits (uid293653@gateway/web/irccloud.com/x-nsrjqtazcudlgiur) ()
2020-09-22 03:11:42 drbean joins (~drbean@TC210-63-209-159.static.apol.com.tw)
2020-09-22 03:12:11 × bloodstalker quits (~bloodstal@46.166.187.154) (Read error: Connection reset by peer)
2020-09-22 03:13:16 × jedws quits (~jedws@121.209.139.222) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2020-09-22 03:20:15 alxgnon1 joins (~alxgnon@185.204.1.185)

All times are in UTC.