Logs: liberachat/#haskell
| 2021-05-31 00:22:52 | → | sajith joins (~sajith@user/sajith) |
| 2021-05-31 00:22:55 | × | fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Remote host closed the connection) |
| 2021-05-31 00:24:01 | <chisui> | Is there a good writeup of what actually went down? I only read bits and peaces. |
| 2021-05-31 00:24:43 | <sm[m]> | chisui: search for freenode in recent hacker news stories |
| 2021-05-31 00:24:56 | <pavonia> | chisui: https://gist.github.com/joepie91/df80d8d36cd9d1bde46ba018af497409 though this doesn't include the "offcial" view |
| 2021-05-31 00:29:19 | <chisui> | Thanks. What a clusterfuck |
| 2021-05-31 00:30:54 | → | fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) |
| 2021-05-31 00:34:23 | × | dhil quits (~dhil@195.213.192.85) (Ping timeout: 268 seconds) |
| 2021-05-31 00:34:46 | × | satai quits (~satai@static-84-42-172-253.net.upcbroadband.cz) (Read error: Connection reset by peer) |
| 2021-05-31 00:37:22 | × | moet quits (~moet@172.58.35.191) (Quit: leaving) |
| 2021-05-31 00:38:14 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:f131:7ff:d61f:7340) |
| 2021-05-31 00:40:46 | × | nonzen quits (~nonzen@user/nonzen) (Quit: Gone) |
| 2021-05-31 00:40:46 | × | sajith quits (~sajith@user/sajith) (Quit: Gone) |
| 2021-05-31 00:41:00 | → | nonzen joins (~nonzen@user/nonzen) |
| 2021-05-31 00:41:33 | → | sajith joins (~sajith@user/sajith) |
| 2021-05-31 00:42:10 | × | Athas quits (athas@sigkill.dk) (Ping timeout: 264 seconds) |
| 2021-05-31 00:42:22 | → | Athas joins (athas@2a01:7c8:aaac:1cf:885f:6d75:b55f:82a8) |
| 2021-05-31 00:48:03 | × | shapr quits (~user@2607:fb90:a90e:1723:1429:b6ec:2d1d:b192) (Remote host closed the connection) |
| 2021-05-31 00:48:20 | → | shapr joins (~user@2607:fb90:a90e:1723:c496:c7fd:8ebe:11ee) |
| 2021-05-31 00:51:01 | × | bfrk quits (~Thunderbi@200116b84534a60005aeadf137ee420f.dip.versatel-1u1.de) (Ping timeout: 268 seconds) |
| 2021-05-31 00:52:13 | → | arson joins (~arson@pool-100-36-47-118.washdc.fios.verizon.net) |
| 2021-05-31 00:53:01 | <arson> | hello everyone :) first time on irc - would this be a place to ask some questions about if a function I have is similar or related in any way to something that already exists? |
| 2021-05-31 00:54:23 | <pavonia> | Welcome! If it is about a Haskell function, sure |
| 2021-05-31 00:55:58 | × | shapr quits (~user@2607:fb90:a90e:1723:c496:c7fd:8ebe:11ee) (Ping timeout: 268 seconds) |
| 2021-05-31 00:59:08 | → | hmmmas joins (~chenqisu1@183.217.202.217) |
| 2021-05-31 01:00:04 | <arson> | Thanks! I have this function, called `tw` for treewalk, which has the basic behavior of allowing you to recurse down a tree (such as an AST), but the caller also passes a function which looks at every node in the tree and can either have `tw` continue processing it, or do it's own processing and return a new node to use in place. This is further |
| 2021-05-31 01:00:05 | <arson> | complicated by the fact that the function tw takes in, takes in a callback which is equal to `tw <the function argument>`, to allow for further recursion once it's made it's own new node. I know that makes zero sense, so there's two examples of how you would use the `tw` function at the bottom for manipulating ASTs. For sake of example I have a |
| 2021-05-31 01:00:05 | <arson> | couple different ways of implementing this function. code: https://paste.tomsmeding.com/tYODlusU |
| 2021-05-31 01:00:34 | <arson> | I'm looking for information about a similar function or concept, or even just a similar typeclass to `TWable` that's used in some way already. |
| 2021-05-31 01:02:23 | × | ubikium quits (~ubikium@113x43x248x70.ap113.ftth.arteria-hikari.net) (Read error: Connection reset by peer) |
| 2021-05-31 01:03:21 | × | renzhi quits (~xp@2607:fa49:6500:bc00::e7b) (Ping timeout: 268 seconds) |
| 2021-05-31 01:04:28 | → | ubikium joins (~ubikium@113x43x248x70.ap113.ftth.arteria-hikari.net) |
| 2021-05-31 01:06:39 | <davean> | arson: Look at recursion schemes |
| 2021-05-31 01:07:03 | × | wagle quits (~wagle@quassel.wagle.io) (Ping timeout: 272 seconds) |
| 2021-05-31 01:07:14 | <pavonia> | It somewhat reminds me of what the uniplate package does |
| 2021-05-31 01:07:24 | <davean> | I mean it should because uniplate is based on ... |
| 2021-05-31 01:08:05 | × | falafel quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 252 seconds) |
| 2021-05-31 01:08:17 | × | Guest417 quits (~winter@2603-6011-f901-9e5b-0000-0000-0000-08cf.res6.spectrum.com) (Ping timeout: 268 seconds) |
| 2021-05-31 01:09:05 | <pavonia> | Based on what? |
| 2021-05-31 01:09:43 | × | fosskers quits (~colin@S0106f0f249642f53.vn.shawcable.net) (Remote host closed the connection) |
| 2021-05-31 01:09:47 | <arson> | funny how uniplate also has simple asts as their main example |
| 2021-05-31 01:12:37 | <davean> | pavonia: the thing I'd said |
| 2021-05-31 01:13:03 | <davean> | https://github.com/passy/awesome-recursion-schemes for a bunch of links |
| 2021-05-31 01:13:30 | → | wagle joins (~wagle@quassel.wagle.io) |
| 2021-05-31 01:14:17 | <arson> | heh, guess it's not haskell if you don't `{-# LANGUAGE DeriveFunctor, DeriveFoldable, DeriveTraversable, TemplateHaskell, TypeFamilies #-}` |
| 2021-05-31 01:16:03 | × | pbrisbin quits (~patrick@pool-72-92-38-164.phlapa.fios.verizon.net) (Ping timeout: 265 seconds) |
| 2021-05-31 01:16:04 | <pavonia> | Hhm, I'd say the whole language is more or less based on recursion schemes :p |
| 2021-05-31 01:16:28 | <davean> | That seems an odd way to think about it, but you do you |
| 2021-05-31 01:19:16 | <davean> | Yah, pretty sure i can't even stretch that to be true |
| 2021-05-31 01:23:43 | × | wagle quits (~wagle@quassel.wagle.io) (Ping timeout: 268 seconds) |
| 2021-05-31 01:25:11 | → | wagle joins (~wagle@quassel.wagle.io) |
| 2021-05-31 01:27:35 | × | bontaq quits (~user@ool-18e47f8d.dyn.optonline.net) (Remote host closed the connection) |
| 2021-05-31 01:28:56 | → | fosskers joins (~colin@S0106f0f249642f53.vn.shawcable.net) |
| 2021-05-31 01:30:12 | → | hylisper joins (~yaaic@111.119.208.67) |
| 2021-05-31 01:33:27 | × | sh9 quits (~sh9@softbank060116136158.bbtec.net) (Read error: Connection reset by peer) |
| 2021-05-31 01:37:17 | × | xff0x quits (~xff0x@2001:1a81:5252:9d00:f476:7d38:9d5:54c9) (Ping timeout: 268 seconds) |
| 2021-05-31 01:38:30 | → | xff0x joins (~xff0x@2001:1a81:528f:3900:ab23:5f87:bcb1:2783) |
| 2021-05-31 01:43:28 | → | Guest417 joins (~winter@2603-6011-f901-9e5b-0000-0000-0000-08cf.res6.spectrum.com) |
| 2021-05-31 01:46:25 | → | wei2912 joins (~wei2912@112.199.250.21) |
| 2021-05-31 01:46:30 | → | sh9 joins (~sh9@softbank060116136158.bbtec.net) |
| 2021-05-31 01:48:50 | → | myShoggoth joins (~myShoggot@97-120-89-117.ptld.qwest.net) |
| 2021-05-31 01:49:11 | → | renzhi joins (~xp@2607:fa49:6500:bc00::e7b) |
| 2021-05-31 02:00:30 | → | falafel joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) |
| 2021-05-31 02:01:50 | × | arson quits (~arson@pool-100-36-47-118.washdc.fios.verizon.net) (Quit: Client closed) |
| 2021-05-31 02:03:07 | × | egoist quits (~egoist@186.235.82.52) (Quit: WeeChat 3.1) |
| 2021-05-31 02:05:24 | → | hydroxonium joins (uid500654@id-500654.stonehaven.irccloud.com) |
| 2021-05-31 02:08:16 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-05-31 02:12:09 | → | gbd_628 joins (~gbd_628@c-73-160-244-80.hsd1.nj.comcast.net) |
| 2021-05-31 02:15:50 | <gbd_628> | Hi all, I'm getting an odd error when I try to build the latest version of `glib` from Hackage: "Lexical error! The character '#' does not fit here." Full error message: https://paste.tomsmeding.com/EcjZdm60. |
| 2021-05-31 02:16:06 | <gbd_628> | I get the same problem with the `cairo` package. Googling led to the recommendation that I try compiling with LANG=C in the shell environment, but that didn't change anything for me. |
| 2021-05-31 02:16:46 | <gbd_628> | (Sorry if this isn't really a Haskell question, but I'm not sure what's causing the problem so I don't know where else to ask) |
| 2021-05-31 02:17:05 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 264 seconds) |
| 2021-05-31 02:17:30 | <davean> | With no particular knowlege I'd bet thats something like a c2hs issue |
| 2021-05-31 02:17:40 | <davean> | check if your c2hs is old maybe? |
| 2021-05-31 02:18:51 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 2021-05-31 02:19:50 | × | machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 268 seconds) |
| 2021-05-31 02:21:33 | <gbd_628> | Sorry, what's c2hs? I have a program called `hsc2hs` as part of my ghc distribution; is that the same thing? It's on version 0.68.7 |
| 2021-05-31 02:22:38 | <gbd_628> | Which is the most recent version of it on hackage. I don't have any program called c2hs as part of my haskell installation, it doesn't look liek |
| 2021-05-31 02:23:30 | × | chisui quits (~chisui@200116b86647790081989979d16794a1.dip.versatel-1u1.de) (Ping timeout: 250 seconds) |
| 2021-05-31 02:29:25 | → | koishi_ joins (~koishi_@67.209.186.120.16clouds.com) |
| 2021-05-31 02:29:56 | <geekosaur> | that's a c2hs error but the real problem is too new a gcc |
| 2021-05-31 02:30:56 | <geekosaur> | https://github.com/haskell/c2hs/issues/268 |
| 2021-05-31 02:32:41 | <geekosaur> | and the gtk stuff comes with its own fork of c2hs (gtk2hsc2hs) which it uses to build API descriptions from gtk/glib include files |
| 2021-05-31 02:32:47 | × | td_ quits (~td@94.134.91.12) (Ping timeout: 252 seconds) |
| 2021-05-31 02:34:33 | → | td_ joins (~td@muedsl-82-207-238-238.citykom.de) |
| 2021-05-31 02:35:22 | <gbd_628> | Hmm, okay, I'll downgrade to version 10.x of gcc, hopefully that'll work. Thanks! |
| 2021-05-31 02:37:43 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds) |
| 2021-05-31 02:41:00 | × | koishi_ quits (~koishi_@67.209.186.120.16clouds.com) (Quit: /ragequit) |
| 2021-05-31 02:41:07 | × | forell quits (~forell@host-178-216-90-220.sta.tvknaszapraca.pl) (Ping timeout: 265 seconds) |
| 2021-05-31 02:41:20 | → | forell joins (~forell@host-178-216-90-220.sta.tvknaszapraca.pl) |
| 2021-05-31 02:42:02 | × | geekosaur quits (~geekosaur@069-135-003-034.biz.spectrum.com) (Ping timeout: 268 seconds) |
| 2021-05-31 02:42:39 | × | raehik1 quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 268 seconds) |
| 2021-05-31 02:45:07 | × | Guest417 quits (~winter@2603-6011-f901-9e5b-0000-0000-0000-08cf.res6.spectrum.com) (Ping timeout: 268 seconds) |
| 2021-05-31 02:47:32 | × | sheepduck quits (~sheepduck@2607:fea8:2a60:b700::5d55) (Read error: Connection reset by peer) |
| 2021-05-31 02:49:37 | <Axman6> | davean: That recursion schemes link... the first link got me |
| 2021-05-31 02:49:45 | → | sheepduck joins (~sheepduck@2607:fea8:2a60:b700::5d55) |
| 2021-05-31 02:50:18 | <davean> | Axman6: :) stuck in a loop? |
| 2021-05-31 02:51:08 | <Axman6> | I cannot get out D: |
| 2021-05-31 02:51:20 | <Axman6> | I just keep learning about recursion schemes! |
| 2021-05-31 02:52:04 | <int-e> | to learn about recursion schemes you first have to lear about recusion schemes? |
All times are in UTC.