Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→
Page 1 .. 328 329 330 331 332 333 334 335 336 337 338 .. 5022
502,152 events total
2020-09-30 18:42:15 × mu_ quits (~mu@unaffiliated/mu) (Read error: Connection reset by peer)
2020-09-30 18:42:25 <texasmynsted> Hmm.
2020-09-30 18:42:41 × filwisher quits (~filwisher@cpc76738-dals23-2-0-cust186.20-2.cable.virginm.net) (Ping timeout: 260 seconds)
2020-09-30 18:42:43 mu_ joins (~mu@unaffiliated/mu)
2020-09-30 18:42:48 <glguy> hlint is pretty much "best effort" when it comes to parsing
2020-09-30 18:42:50 <texasmynsted> I think I did cabal update and tried re-install yesterday.
2020-09-30 18:42:56 <texasmynsted> How do I upgrade it correctly?
2020-09-30 18:43:09 <glguy> you can try: cabal install hlint-3.2 # and see what complaints you get
2020-09-30 18:43:18 <texasmynsted> Will do
2020-09-30 18:43:31 <geekosaur> that said, it could be $PATH
2020-09-30 18:43:56 <geekosaur> that is, it installed but the old one's earlier in $PATH so gets found first
2020-09-30 18:43:58 hackage servant-serf 0.0.2 - Generates a servant API module https://hackage.haskell.org/package/servant-serf-0.0.2 (goolord)
2020-09-30 18:44:13 × kori quits (~kori@arrowheads/kori) (Ping timeout: 272 seconds)
2020-09-30 18:44:13 <glguy> great point ^
2020-09-30 18:44:25 <texasmynsted> It is finding the one from $HOME/.cabal/bin/hlint
2020-09-30 18:44:33 aldessa joins (~Hugh@host-2-103-12-241.as13285.net)
2020-09-30 18:44:42 <sm[m]> number one cause of haskell trouble...
2020-09-30 18:44:48 <glguy> hlint? :)
2020-09-30 18:44:58 × xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 272 seconds)
2020-09-30 18:44:59 <sm[m]> PATH :)
2020-09-30 18:45:18 <texasmynsted> Well it seems it is finding the correct hlint
2020-09-30 18:46:14 × avdb quits (~avdb@ip-81-11-153-13.dsl.scarlet.be) (Quit: WeeChat 2.9)
2020-09-30 18:47:16 <aldessa> when you specify a license in package.yaml e.g. BSD3 does it automatically check if my license is compatible with all my dependencies
2020-09-30 18:47:28 <texasmynsted> Attempting the upgrade. Maybe then I will get a different message.
2020-09-30 18:47:47 aldum joins (~vishera@aldum.pw)
2020-09-30 18:48:23 <sm[m]> aldessa: no
2020-09-30 18:49:18 <sm[m]> That would be nice
2020-09-30 18:49:37 <glguy> cabal-plan as a license report command that can help
2020-09-30 18:49:55 <Squarism> Ouch. I've been out of the Nix loop long enough to forget easy things. I try to build my old project, that I remember was working last I checked. And get this error:
2020-09-30 18:49:56 <Squarism> ghc: can't find a package database at /home/myuser/.cabal/store/ghc-8.6.5/package.db
2020-09-30 18:50:01 <texasmynsted> I guess I need to add hlint comments to get it to avoid that section.
2020-09-30 18:50:10 <Squarism> ...but there is a bunch of stuff there
2020-09-30 18:50:31 filwisher joins (~filwisher@cpc76738-dals23-2-0-cust186.20-2.cable.virginm.net)
2020-09-30 18:50:38 <glguy> In my IRC client I have my Setup.hs abort if you attempt to build against something GPL, etc
2020-09-30 18:51:35 knupfer1 joins (~Thunderbi@mue-88-130-61-186.dsl.tropolys.de)
2020-09-30 18:51:35 × knupfer quits (~Thunderbi@mue-88-130-61-186.dsl.tropolys.de) (Quit: knupfer)
2020-09-30 18:51:35 knupfer1 is now known as knupfer
2020-09-30 18:52:32 × mu_ quits (~mu@unaffiliated/mu) (Read error: Connection reset by peer)
2020-09-30 18:52:42 <sm[m]> glguy: slick.. any friction caused by having a custom Setup.hs ?
2020-09-30 18:52:43 mu__ joins (~mu@unaffiliated/mu)
2020-09-30 18:52:58 <glguy> Not that I've experienced
2020-09-30 18:53:46 <aldessa> is gplV3 the most compatible license? am I right in guessing I can use MIT/BSD dependencies in GPL programs?
2020-09-30 18:53:58 <texasmynsted> wow building the ghc-lib-parser and no messages for a while now
2020-09-30 18:54:05 fendor joins (~fendor@77.119.131.134.wireless.dyn.drei.com)
2020-09-30 18:54:22 <glguy> It's part of the process of assembling the full-version output
2020-09-30 18:55:21 patryk_ joins (~patryk_@84.39.117.57)
2020-09-30 18:55:53 <texasmynsted> okay back to progress
2020-09-30 18:56:01 <glguy> aldessa: depends if you're making a library or executable
2020-09-30 18:56:09 ransom joins (~c4264035@undergraduate-jvossen-9690.mines.edu)
2020-09-30 18:56:29 <glguy> If you're making a library most of the Haskell ecosystem won't be able to use your library if it's gpl
2020-09-30 18:57:04 <Clint> "won't"
2020-09-30 18:57:58 ryantrinkle parts (~ryan@cpe-68-173-35-198.nyc.res.rr.com) ()
2020-09-30 18:57:59 <aldessa> i'm making an executable but it would be nice if someone needed the code that they code reuse it
2020-09-30 18:58:09 <aldessa> could*
2020-09-30 18:58:47 × danvet_ quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 240 seconds)
2020-09-30 18:58:55 <texasmynsted> Okay I get the better error message now about how there is: "Parse error: on input `pattern'"
2020-09-30 18:59:42 <texasmynsted> I guess this is a bug? I do now see what would be wrong with that input.
2020-09-30 19:00:07 × filwisher quits (~filwisher@cpc76738-dals23-2-0-cust186.20-2.cable.virginm.net) (Ping timeout: 240 seconds)
2020-09-30 19:00:28 p0a joins (~user@unaffiliated/p0a)
2020-09-30 19:00:30 <solonarv> perhaps you forgot to enable a language extension? (the relevant one would be PatternSynonyms)
2020-09-30 19:00:58 <p0a> Hello how can I compile GHC from source?
2020-09-30 19:00:59 <geekosaur> no, the point is it's disabled and "pattern" should not be a keyword, but hlint thinks it is
2020-09-30 19:01:28 hackage servant-serf 0.0.3 - Generates a servant API module https://hackage.haskell.org/package/servant-serf-0.0.3 (goolord)
2020-09-30 19:01:39 <texasmynsted> oh
2020-09-30 19:01:56 × madjestic quits (~madjestic@86-88-72-244.fixed.kpn.net) (Ping timeout: 256 seconds)
2020-09-30 19:02:36 × mu__ quits (~mu@unaffiliated/mu) (Read error: Connection reset by peer)
2020-09-30 19:02:39 <fendor> p0a, https://gitlab.haskell.org/ghc/ghc and https://gitlab.haskell.org/ghc/ghc/-/wikis/building
2020-09-30 19:02:42 mu_ joins (~mu@unaffiliated/mu)
2020-09-30 19:02:45 <texasmynsted> Okay yes. I change the name and it works
2020-09-30 19:02:47 filwisher joins (~filwisher@cpc76738-dals23-2-0-cust186.20-2.cable.virginm.net)
2020-09-30 19:03:05 <texasmynsted> So how did you know that it thought that `pattern` was a reserved word?
2020-09-30 19:03:13 <texasmynsted> I did not get that from the error message
2020-09-30 19:03:56 <geekosaur> just from the fact that it errored on "pattern" and I know about the PatternSynonyms extension. same way glguy figured it out a couple pages of text back :)
2020-09-30 19:04:01 wanaks[m] joins (wanaksmatr@gateway/shell/matrix.org/x-ypunfwqxglzxjffl)
2020-09-30 19:04:37 <glguy> You just have to memorize all the ghc language extensions and have in mind where they overlap
2020-09-30 19:04:45 <glguy> <_< easy
2020-09-30 19:04:50 <p0a> fendor: thank you
2020-09-30 19:05:05 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2020-09-30 19:05:06 <geekosaur> luckily few of them introduce new keywords
2020-09-30 19:05:08 <texasmynsted> Pfffft. grrreat
2020-09-30 19:05:13 <texasmynsted> lol. Thank you!
2020-09-30 19:07:13 alp joins (~alp@2a01:e0a:58b:4920:7484:254:28d2:c14c)
2020-09-30 19:07:51 Cerise joins (~jerry@natsumi.devzero.info)
2020-09-30 19:07:51 × Cerise quits (~jerry@natsumi.devzero.info) (Changing host)
2020-09-30 19:07:51 Cerise joins (~jerry@unaffiliated/cerise)
2020-09-30 19:07:53 avdb joins (~avdb@ip-81-11-153-13.dsl.scarlet.be)
2020-09-30 19:08:28 nckx joins (~nckx@tobias.gr)
2020-09-30 19:08:44 × revprez_anzio quits (~revprez_a@pool-108-49-213-40.bstnma.fios.verizon.net) (Ping timeout: 256 seconds)
2020-09-30 19:09:20 revprez_anzio joins (~revprez_a@pool-108-49-213-40.bstnma.fios.verizon.net)
2020-09-30 19:10:25 × machinedgod quits (~machinedg@45.78.189.122) (Ping timeout: 264 seconds)
2020-09-30 19:12:17 mirrorbird joins (~psutcliff@2a00:801:3fb:53b9:b09b:cd4e:4e4a:44a9)
2020-09-30 19:12:17 × mu_ quits (~mu@unaffiliated/mu) (Read error: Connection reset by peer)
2020-09-30 19:12:36 John20 joins (~John@82.46.59.122)
2020-09-30 19:12:43 mu_ joins (~mu@unaffiliated/mu)
2020-09-30 19:13:27 × knupfer quits (~Thunderbi@mue-88-130-61-186.dsl.tropolys.de) (Ping timeout: 240 seconds)
2020-09-30 19:13:50 cosimone joins (~cosimone@2001:b07:ae5:db26:b248:7aff:feea:34b6)
2020-09-30 19:14:04 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2020-09-30 19:14:20 × avdb quits (~avdb@ip-81-11-153-13.dsl.scarlet.be) (Ping timeout: 256 seconds)
2020-09-30 19:15:02 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-09-30 19:17:33 × conal quits (~conal@198.8.81.205) (Quit: Computer has gone to sleep.)

All times are in UTC.