Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→ 1,804,100 events total
2021-08-18 11:55:10 burnsidesLlama joins (~burnsides@dhcp168-023.wadham.ox.ac.uk)
2021-08-18 11:56:47 lortabac_ joins (~lortabac@151.73.3.232)
2021-08-18 11:58:22 × lortabac quits (~lortabac@151.73.97.57) (Ping timeout: 245 seconds)
2021-08-18 12:00:09 benin036932 joins (~benin@183.82.178.142)
2021-08-18 12:01:58 ubert joins (~Thunderbi@178.115.35.155.wireless.dyn.drei.com)
2021-08-18 12:03:02 shriekingnoise joins (~shrieking@186.137.144.80)
2021-08-18 12:04:40 × keutoi quits (~keutoi@157.48.90.57) (Ping timeout: 240 seconds)
2021-08-18 12:05:10 lortabac_ is now known as lortabac
2021-08-18 12:12:33 lavaman joins (~lavaman@98.38.249.169)
2021-08-18 12:15:47 <merijn> hpc: I actually have a use of Cont in my code!
2021-08-18 12:15:55 <merijn> And I even understood it when I wrote it!
2021-08-18 12:16:10 <merijn> Don't understand shit about it anymore, but it still works, so I just don't touch it :p
2021-08-18 12:18:29 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-08-18 12:20:49 <hpc> hah
2021-08-18 12:22:32 <lechner> Hi, I have postgresql-simple working via 'text'/Data.Text result types. Can the module hadle more custom conversions, such as from SEMVER from the Pg extension pg-simple to SemVer.Version from 'semver' in Haskell?
2021-08-18 12:22:46 <lechner> pg-semver
2021-08-18 12:22:57 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 248 seconds)
2021-08-18 12:29:22 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-08-18 12:31:25 machinedgod joins (~machinedg@135-23-192-217.cpe.pppoe.ca)
2021-08-18 12:33:04 × Pickchea quits (~private@user/pickchea) (Ping timeout: 258 seconds)
2021-08-18 12:38:16 × burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Remote host closed the connection)
2021-08-18 12:38:22 × acidjnk_new quits (~acidjnk@p200300d0c72b952850c7a959aba8feb6.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
2021-08-18 12:39:27 burnsidesLlama joins (~burnsides@dhcp168-023.wadham.ox.ac.uk)
2021-08-18 12:41:36 × burnsidesLlama quits (~burnsides@dhcp168-023.wadham.ox.ac.uk) (Remote host closed the connection)
2021-08-18 12:47:04 pbrisbin joins (~patrick@pool-108-16-214-93.phlapa.fios.verizon.net)
2021-08-18 12:49:17 norias joins (~jaredm@c-98-219-195-163.hsd1.pa.comcast.net)
2021-08-18 12:50:01 acidjnk_new joins (~acidjnk@p200300d0c72b952850c7a959aba8feb6.dip0.t-ipconnect.de)
2021-08-18 12:54:09 × ubert quits (~Thunderbi@178.115.35.155.wireless.dyn.drei.com) (Quit: ubert)
2021-08-18 12:54:27 ubert joins (~Thunderbi@178.115.35.155.wireless.dyn.drei.com)
2021-08-18 12:59:54 × chomwitt quits (~chomwitt@ppp-94-67-193-240.home.otenet.gr) (Ping timeout: 258 seconds)
2021-08-18 13:07:03 <maerwald> how to convert `[Word8]` to `ByteArray#`?
2021-08-18 13:07:53 <Hecate> < hpc> ah yes, truly your life is full of hardships :D // This is the only hardship in my life that is relevant to this channel :p
2021-08-18 13:08:38 <Hecate> maerwald: 'coerce' ? :p
2021-08-18 13:09:07 <Hecate> no more seriously, maerwald, 'byteArrayFromList :: Prim a => [a] -> ByteArray'
2021-08-18 13:09:15 <maerwald> I'm already doing that
2021-08-18 13:09:21 <maerwald> it doesn't yield an unlifted type
2021-08-18 13:09:34 <Hecate> oh shit yes
2021-08-18 13:09:36 <Hecate> sorry
2021-08-18 13:09:48 <maerwald> unpacking from the constructor, oddly, also doesn't
2021-08-18 13:10:29 <maerwald> so `(\(BA.ByteArray ba) -> ba) . BA.byteArrayFromList $ ws` doesn't work
2021-08-18 13:13:47 Guest40 joins (~Guest40@2a02:6b64:708f:0:9101:3c1b:1de7:cf00)
2021-08-18 13:13:47 × acidjnk_new quits (~acidjnk@p200300d0c72b952850c7a959aba8feb6.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
2021-08-18 13:14:17 Lycurgus joins (~juan@cpe-45-46-140-49.buffalo.res.rr.com)
2021-08-18 13:17:48 <Guest40> is this the best place to get beginner help for haskell?
2021-08-18 13:18:22 <dminuoso> Whether it's the best that's for you to decide.
2021-08-18 13:18:39 <dminuoso> But we welcome beginners in this channel.
2021-08-18 13:19:10 <dminuoso> We also have #haskell-beginners which is less noisy, but dont feel pressured to go there. Sometimes this channel can be busy. :)
2021-08-18 13:19:28 <Guest40> that's nice, was just wondering because i didn't see anyone sending messages
2021-08-18 13:19:42 <Guest40> and whether people usually help out
2021-08-18 13:19:48 <Guest40> i'll make sure to join , thanks
2021-08-18 13:20:06 <dminuoso> You will usually have better response times in here
2021-08-18 13:20:21 slowButPresent joins (~slowButPr@user/slowbutpresent)
2021-08-18 13:20:38 <Lycurgus> and it's newbie friendly unlike some other langs/channels
2021-08-18 13:21:16 <dminuoso> Indeed, dont be scared away if people start off with advanced discussions. We dont mind beginner questions at all, even if they are very basic. :)
2021-08-18 13:22:31 AlexNoo_ is now known as AlexNoo
2021-08-18 13:22:48 <Guest40> thank you
2021-08-18 13:27:30 <merijn> Guest40: Activity here is spiky :p Also, most US people are asleep and the EU people are (pretending) to work :p
2021-08-18 13:31:14 <maerwald> is dlist good at fusing?
2021-08-18 13:31:55 <maerwald> example: https://paste.tomsmeding.com/GOQCMLgl
2021-08-18 13:32:09 <maerwald> I wonder if it will nicely build the bytestring or keep the list in memory
2021-08-18 13:35:23 burnsidesLlama joins (~burnsides@client-8-71.eduroam.oxuni.org.uk)
2021-08-18 13:35:48 <albet70> could Cont replace Maybe or Either?
2021-08-18 13:35:59 Sgeo joins (~Sgeo@user/sgeo)
2021-08-18 13:36:46 <janus> how would it? it has only one constructor
2021-08-18 13:37:05 × wxallowed quits (~d4@151.51.133.244) (Ping timeout: 258 seconds)
2021-08-18 13:37:24 drd joins (~drd@93-39-151-19.ip76.fastwebnet.it)
2021-08-18 13:38:27 <albet70> oh I forget that, they all can do early exit in >>=, so I wonder that
2021-08-18 13:39:40 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds)
2021-08-18 13:40:23 <albet70> Cont can jump back to the beginning in the >>= chain, how would it?
2021-08-18 13:40:23 <janus> but any definition of >>= can do early exit, surely that doesn't make them all replacements for Maybe/Either?
2021-08-18 13:40:34 <dminuoso> albet70: Cont can implement all the other haskell-writable monads.
2021-08-18 13:40:37 <dminuoso> All.
2021-08-18 13:41:46 <albet70> dminuoso how would it?
2021-08-18 13:42:57 <albet70> I wonder who create or discover Cont first?
2021-08-18 13:45:11 tengu1 joins (~tengu1@cpe-70-121-244-14.neb.res.rr.com)
2021-08-18 13:45:40 × burnsidesLlama quits (~burnsides@client-8-71.eduroam.oxuni.org.uk) (Remote host closed the connection)
2021-08-18 13:46:37 burnsidesLlama joins (~burnsides@client-8-71.eduroam.oxuni.org.uk)
2021-08-18 13:46:41 <dminuoso> albet70: https://web.archive.org/web/20150925081214/https://www.fpcomplete.com/user/dpiponi/the-mother-of-all-monads
2021-08-18 13:50:40 chomwitt joins (~chomwitt@ppp-94-67-193-240.home.otenet.gr)
2021-08-18 13:52:24 × burnsidesLlama quits (~burnsides@client-8-71.eduroam.oxuni.org.uk) (Remote host closed the connection)
2021-08-18 13:54:30 <JavierNeira[m]> the original post, still available was http://blog.sigfpe.com/2008/12/mother-of-all-monads.html
2021-08-18 13:54:48 slack1256 joins (~slack1256@191.125.227.92)
2021-08-18 13:56:43 ec joins (~ec@gateway/tor-sasl/ec)
2021-08-18 13:58:14 × lortabac quits (~lortabac@151.73.3.232) (Quit: WeeChat 2.8)
2021-08-18 14:00:36 [Kalisto] joins (~nico@user/kalisto/x-8968079)
2021-08-18 14:01:16 <[Kalisto]> hi
2021-08-18 14:01:28 <[Kalisto]> i am trying to compile an old project of mine and i get this error
2021-08-18 14:01:30 <[Kalisto]> https://paste.tomsmeding.com/dVLlVsCb
2021-08-18 14:01:37 <[Kalisto]> i don't know what to do
2021-08-18 14:01:39 <[Kalisto]> :(
2021-08-18 14:01:58 <[Kalisto]> in the cabal file i have this
2021-08-18 14:01:59 <[Kalisto]> build-depends: base >=4.11 && <4.12, gd >=3000.7 && <3000.8, mtl >=2.2 && <2.3, parsec >=3.1 && <3.2
2021-08-18 14:03:08 <raehik> it looks like your installed GHC is too new for your base dependency
2021-08-18 14:03:17 <merijn> That, yeah
2021-08-18 14:03:22 <dminuoso> [__1] rejecting: base-4.14.1.0/installed-4.14.1.0 (conflict: miniLogo => base>=4.11 && <4.12)
2021-08-18 14:03:42 <[Kalisto]> oh
2021-08-18 14:03:46 <raehik> you could loosen the dependency and see if it works, or install an older GHC
2021-08-18 14:03:51 <dminuoso> [Kalisto]: This reads: miniLogo induces a base dependency (you can, more or less, equate this with GHC version) of >=4.11 && <4.12
2021-08-18 14:04:08 <[Kalisto]> i am compiling it inside a docker container
2021-08-18 14:04:12 burnsidesLlama joins (~burnsides@client-8-71.eduroam.oxuni.org.uk)

All times are in UTC.