Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→
Page 1 .. 714 715 716 717 718 719 720 721 722 723 724 .. 18017
1,801,665 events total
2021-06-30 07:13:20 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
2021-06-30 07:14:14 × oxide quits (~lambda@user/oxide) (Ping timeout: 256 seconds)
2021-06-30 07:14:42 × willbush quits (~user@47.183.200.14) (Quit: ERC (IRC client for Emacs 28.0.50))
2021-06-30 07:14:51 oxide joins (~lambda@user/oxide)
2021-06-30 07:16:54 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
2021-06-30 07:18:54 michalz joins (~michalz@185.246.204.125)
2021-06-30 07:20:13 nschoe joins (~quassel@178.251.84.79)
2021-06-30 07:20:25 × nschoe quits (~quassel@178.251.84.79) (Client Quit)
2021-06-30 07:26:12 benin0369 joins (~benin@183.82.205.231)
2021-06-30 07:32:21 × haykam2 quits (~haykam@static.100.2.21.65.clients.your-server.de) (Remote host closed the connection)
2021-06-30 07:32:33 haykam1 joins (~haykam@static.100.2.21.65.clients.your-server.de)
2021-06-30 07:34:28 × TheRAt quits (~TheRAt@user/therat) (Ping timeout: 246 seconds)
2021-06-30 07:34:29 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-06-30 07:34:30 × dsf quits (~dsf@cpe-66-75-56-205.san.res.rr.com) (Ping timeout: 252 seconds)
2021-06-30 07:36:45 TheRAt joins (~TheRAt@user/therat)
2021-06-30 07:39:48 boxscape_ joins (~boxscape_@p4ff0ba7a.dip0.t-ipconnect.de)
2021-06-30 07:40:39 dsf joins (~dsf@cpe-66-75-56-205.san.res.rr.com)
2021-06-30 07:41:32 × wallymathieu quits (~wallymath@81-234-151-21-no94.tbcn.telia.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-06-30 07:42:45 × boxscape_ quits (~boxscape_@p4ff0ba7a.dip0.t-ipconnect.de) (Client Quit)
2021-06-30 07:43:29 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
2021-06-30 07:43:55 boxscape_ joins (~boxscape_@p4ff0ba7a.dip0.t-ipconnect.de)
2021-06-30 07:45:03 × matsurago quits (~matsurago@p0602864-vcngn.tkyo.nt.ngn.ppp.ocn.ne.jp) (Quit: Leaving)
2021-06-30 07:48:01 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 258 seconds)
2021-06-30 08:01:05 × azeem quits (~azeem@dynamic-adsl-94-34-20-185.clienti.tiscali.it) (Read error: Connection reset by peer)
2021-06-30 08:03:17 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:dc49:b28b:5485:3e7e) (Remote host closed the connection)
2021-06-30 08:06:22 × favonia quits (~favonia@user/favonia) (Ping timeout: 256 seconds)
2021-06-30 08:07:20 hendursa1 joins (~weechat@user/hendursaga)
2021-06-30 08:10:05 × hendursaga quits (~weechat@user/hendursaga) (Ping timeout: 244 seconds)
2021-06-30 08:14:03 azeem joins (~azeem@dynamic-adsl-94-34-20-185.clienti.tiscali.it)
2021-06-30 08:15:47 hegstal joins (~hegstal@2a02:c7f:7604:8a00:19d1:3d77:8320:86c9)
2021-06-30 08:17:27 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-06-30 08:17:52 geekosaur joins (~geekosaur@xmonad/geekosaur)
2021-06-30 08:19:21 Gurkenglas joins (~Gurkengla@dslb-002-203-144-156.002.203.pools.vodafone-ip.de)
2021-06-30 08:20:56 chris_ joins (~chris@81.96.113.213)
2021-06-30 08:23:14 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
2021-06-30 08:26:52 × mikoto-chan quits (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) (Read error: Connection reset by peer)
2021-06-30 08:27:33 mikoto-chan joins (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be)
2021-06-30 08:30:43 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2021-06-30 08:33:50 <zincy> What is a good approach to parsing Clojure code in Haskell?
2021-06-30 08:34:37 <zincy> The broad goal is to parse microservice source code written in clojure for the purpose of understanding which events a service produces and consumes in an event driven environment
2021-06-30 08:34:37 nate1 joins (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net)
2021-06-30 08:34:53 amahl joins (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi)
2021-06-30 08:35:28 <merijn> zincy: Approach in what sense?
2021-06-30 08:35:44 <turlando> regular expressions /s
2021-06-30 08:36:16 rune joins (sid21167@id-21167.charlton.irccloud.com)
2021-06-30 08:37:04 stevenxl joins (~stevenlei@174.128.182.51)
2021-06-30 08:37:17 <zincy> merijn: Just thinking someone must have already written a Clojure parser in Haskell right? :)
2021-06-30 08:37:21 <zincy> turlando: haha
2021-06-30 08:38:30 <turlando> Not sure about the specific problem but parsing could be the easiest part (parsing lisps using any of the various parser combinator libraries is something you can do in half an hour)
2021-06-30 08:39:07 <turlando> Depending on what you have to do the hard part is converting the AST in some normal form, doing macroexpand, etc
2021-06-30 08:39:34 × acid quits (~acid@user/acid) (Ping timeout: 246 seconds)
2021-06-30 08:40:05 <zincy> Ah ok so should be simple to do myself
2021-06-30 08:40:36 <zincy> Yeah the specific code I want to analyse is literally just a bunch of maps so I can ascertain their key names
2021-06-30 08:40:51 <zincy> So I would hope I wont need to do any macro stuff
2021-06-30 08:40:54 <merijn> zincy: Writing a parser for something like clojure probably isn't too hard
2021-06-30 08:41:06 <zincy> Yeah
2021-06-30 08:41:11 <merijn> zincy: Especially if it's a well-specified subset, instead of the whole grammar
2021-06-30 08:41:13 <zincy> Could be fun too
2021-06-30 08:41:20 acid joins (~acid@user/acid)
2021-06-30 08:41:21 <turlando> If that's the case I'd rather emit some edn and then parse the edn from Haskell
2021-06-30 08:41:38 <zincy> Whats an edn?
2021-06-30 08:41:48 <turlando> (there should be ready to use edn libraries in haskell)
2021-06-30 08:42:04 × stevenxl quits (~stevenlei@174.128.182.51) (Ping timeout: 272 seconds)
2021-06-30 08:42:06 <turlando> It's the data notation that clojure uses for serialization (not very scientific description)
2021-06-30 08:42:57 <zincy> Oh so the EDN is the format clojure uses for its AST?
2021-06-30 08:43:54 × nate1 quits (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds)
2021-06-30 08:44:30 <turlando> Well the main purpose is to encode data
2021-06-30 08:44:41 <turlando> See https://github.com/edn-format/edn and https://github.com/clojure-cookbook/clojure-cookbook/blob/master/04_local-io/4-14_read-write-clojure-data-structures.asciidoc
2021-06-30 08:48:37 <zincy> Thanks!
2021-06-30 08:49:19 acidjnk joins (~acidjnk@p200300d0c72b95720002fc1121ac54e4.dip0.t-ipconnect.de)
2021-06-30 08:50:03 <tdammers> EDN is kind of like the JSON of clojure. In its defense, its design is a lot cleaner and saner than JSON's, but the idea is the same, modulo s/javascript/clojure/
2021-06-30 08:50:41 <tdammers> and of course that also means that it's likely never going to see widespread adoption outside the clojure ecosystem, unless someone comes up with an inevitable killer app
2021-06-30 08:55:10 kuribas joins (~user@ip-188-118-57-242.reverse.destiny.be)
2021-06-30 09:00:26 × peterhil quits (~peterhil@dsl-hkibng32-54f849-252.dhcp.inet.fi) (Ping timeout: 272 seconds)
2021-06-30 09:01:54 __monty__ joins (~toonn@user/toonn)
2021-06-30 09:03:31 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.2)
2021-06-30 09:03:42 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:dc49:b28b:5485:3e7e)
2021-06-30 09:04:22 cfricke joins (~cfricke@user/cfricke)
2021-06-30 09:05:08 × hnOsmium0001 quits (uid453710@id-453710.stonehaven.irccloud.com) (Quit: Connection closed for inactivity)
2021-06-30 09:05:48 chomwitt joins (~Pitsikoko@2a02:587:dc0b:0:d8f7:cdfe:4658:bec4)
2021-06-30 09:07:54 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:dc49:b28b:5485:3e7e) (Ping timeout: 240 seconds)
2021-06-30 09:08:00 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
2021-06-30 09:08:22 ChaiTRex joins (~ChaiTRex@user/chaitrex)
2021-06-30 09:11:42 wallymathieu joins (~wallymath@81-234-151-21-no94.tbcn.telia.com)
2021-06-30 09:14:48 warnz joins (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f)
2021-06-30 09:18:10 × Erutuon quits (~Erutuon@user/erutuon) (Ping timeout: 272 seconds)
2021-06-30 09:19:06 × warnz quits (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 240 seconds)
2021-06-30 09:20:42 × cheater quits (~Username@user/cheater) (Ping timeout: 240 seconds)
2021-06-30 09:20:42 × fabfianda quits (~fabfianda@37.183.255.57) (Ping timeout: 272 seconds)
2021-06-30 09:20:59 fabfianda joins (~fabfianda@mob-5-90-246-133.net.vodafone.it)
2021-06-30 09:21:27 cheater joins (~Username@user/cheater)
2021-06-30 09:25:42 × fabfianda quits (~fabfianda@mob-5-90-246-133.net.vodafone.it) (Ping timeout: 256 seconds)
2021-06-30 09:25:57 fabfianda joins (~fabfianda@37.183.255.57)
2021-06-30 09:47:01 jumper149 joins (~jumper149@80.240.31.34)
2021-06-30 09:48:21 <jumper149> What does `deriving (Generic, ..., ToJSON, FromJSON)` actually mean for the instance. Does it depend on the enabled language extensions?
2021-06-30 09:48:49 <jumper149> It's probably different from writing `instance FromJSON MyData`, right?
2021-06-30 09:48:51 × kmein quits (~weechat@user/kmein) (Quit: ciao kakao)
2021-06-30 09:49:11 <Taneb> jumper149: the relevant extension here is DeriveAnyClass (for To/FromJSON)
2021-06-30 09:49:32 <Taneb> And it's _exactly_ the same as instance FromJSON MyData
2021-06-30 09:49:35 × wallymathieu quits (~wallymath@81-234-151-21-no94.tbcn.telia.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)

All times are in UTC.