HVR

527 posts

HVR

HVR

@hvrgnu

Lazy functional tweeter

Vienna, Austria เข้าร่วม Ekim 2015
62 กำลังติดตาม701 ผู้ติดตาม
HVR รีทวีตแล้ว
School of FP
School of FP@schooloffp·
Whirlwind Tour Of Cabal For Beginners buff.ly/3iN7VgT
English
1
5
11
0
HVR
HVR@hvrgnu·
@maksbotan @A64mQ btw, if you use workflows that demand closed-world build-plans (and don't achieve that via file+index:// repos), a useful feature not mentioned by the article you might find useful is #cfg-field-reject-unconstrained-dependencies" target="_blank" rel="nofollow noopener">cabal.readthedocs.io/en/latest/caba…
English
0
1
5
0
Максим Кольцов
@hvrgnu @A64mQ Very nice! I've replaced Stack with Cabal month or so ago and so far it's smooth. I'd like to add that you can reuse Stackage snapshots with Cabal, to get best of both worlds. Just pick this file: stackage.org/lts-15.14/caba… and save as cabal.project.freeze! Works for any LTS.
English
1
1
5
0
HVR
HVR@hvrgnu·
@pitopos Fwiw, even though this is yet another thing hlint's defaults keep hatin' my source for, I'm quite happy using U+0027 as prefix-separator in my record fields and constructor names, as in e.g. #t:ProtocolOp" target="_blank" rel="nofollow noopener">hackage.haskell.org/package/LDAPv3… this trades some verbosity for less cognitive overhead ftw! :-)
English
1
0
5
0
FromJavaToHaskell
FromJavaToHaskell@to_haskell·
@a_cowley @cafe2code I was able to build hackage-security-0.6.0.0 with ghc8.10.1 and Cabal 3.2.0.0/cabal-install 3.2 with two additional changes set flag48 to True and remove upper bound on base
English
3
0
1
0
Anthony Cowley
Anthony Cowley@a_cowley·
Several hours later, I still don't have a working GHC 8.10 build environment for one of the packages I maintain. Well over 90% of the failures are with restrictive upper-bounds and problems with testing libraries. This is such an own goal.
English
2
1
14
0
HVR
HVR@hvrgnu·
#Haskell (ghc-8.10.1) / #Cabal 3.2 / #Xmonad 0.15 Tip of the day: cabal install -z --lib --package-env=$HOME/.xmonad/ --allow-newer=setlocale-1.0.0.9:base xmonad xmonad-contrib This will create a CWD-style GHC pkg-env file which will be picked up by `xmonad --recompile` &al.
English
0
1
7
0
HVR
HVR@hvrgnu·
@mattoflambda @mightybyte @jkachmar This has been debunked many times so just to remind: The problem is that even small chances of failures add-up and propagate through the dep-graph harming/annoying everyone & the longer a semantically unsound buildplan is allowed to circulate, the more costly it becomes to repair
English
1
0
2
0
Matt Parsons
Matt Parsons@mattoflambda·
@mightybyte @jkachmar There are two scenarios, both requiring revisions, in the case of a dep major version bump. No bounds: small chance that it breaks my library, and I need to revise affected versions Yes bounds: 100% chance that it breaks the build plan, and I need to revise affected versions
English
2
0
1
0
HVR
HVR@hvrgnu·
@purelyagile @IvanPerezKeera @MagpieMcGraw All but the "cabal-install-head" package are supposed to be stable releases (or stable release candidates); if you've run into problems please file a report over at github.com/haskell/cabal/… and tell us `cabal --version` as well as the output of `dpkg -l 'cabal-install-*'` !
English
0
0
1
0
HVR
HVR@hvrgnu·
@IvanPerezKeera @NathanLander Sure, make sure /opt/ghc/bin is in your path, then you can use a `-w ghc-7.8.4` CLI flag on the fly to quickly switch between ghc versions or put packages: . with-compiler: ghc-7.8.4 into your per-project `cabal.project` configuration file; see also qfpl.io/posts/multiple…
English
0
1
3
0
HVR
HVR@hvrgnu·
@bgamari I'd like to plug a friendly reminder that you can get convenient .deb packages for brand new #Haskell GHC 8.8.3 and Cabal 3.2 releases built appositely for your specific #Debian and #Ubuntu releases from our Apt repositories; see downloads.haskell.org/debian/ for more details!
English
0
4
9
0
Ben Gamari
Ben Gamari@bgamari·
I am happy to report that the mix-up with the GHC 8.8.1 release artifacts has been resolved. Grab them while they're hot at downloads.haskell.org/ghc/8.8.3/. Happy Haskelling!
English
1
3
6
0
Ben Gamari
Ben Gamari@bgamari·
GHC 8.8.3 is now available! A few nice bug fixes in there so upgrading is encouraged. Thanks to everyone who contributed to this release! haskell.org/ghc/blog/20200…
English
2
24
49
0
HVR
HVR@hvrgnu·
@bgamari ...but are you *really* sure that you built the GHCHQ src+bindist tarballs from that very commit hash and not the one that had been sitting on the ghc/8.8 branch tip until a couple minutes ago, and that now we either need to move the Git tag or scrap the GHCHQ tarball dists?
English
1
0
0
0
Ben Gamari
Ben Gamari@bgamari·
@hvrgnu The hash of the release commit is d0bab2e3419e49cdbb1201d4650572b57f33420c.
English
1
0
1
0
HVR
HVR@hvrgnu·
IMO @_osa1 makes a good case that the overall cost&issues of adding seemingly neat syntax variations to the language extends far beyond an innocent looking 10-line patch (whose OP might not even be involved w #haskell anymore) and isn't taken srsly enough osa1.net/posts/2020-01-…
English
0
2
11
0
HVR รีทวีตแล้ว
Kowainik
Kowainik@kowainik·
We've put together an Awesome list of resources for the #Haskell Cabal build tool 💫 Discover incredible tools and helpful guides all in one place! And help us to make it even more awesome💅 Share your amazing work if it's anyhow related to Cabal! kowainik.github.io/projects/aweso…
English
1
21
48
0
HVR รีทวีตแล้ว