2025/01/02

Newest at the top

2025-01-02 19:30:45 +0100Lord_of_Life_Lord_of_Life
2025-01-02 19:30:44 +0100Lord_of_Life(~Lord@user/lord-of-life/x-2819915) (Ping timeout: 264 seconds)
2025-01-02 19:29:25 +0100zenmov(~zenmov@user/zenmov) (Ping timeout: 252 seconds)
2025-01-02 19:29:23 +0100Lord_of_Life_(~Lord@user/lord-of-life/x-2819915) Lord_of_Life
2025-01-02 19:29:05 +0100artu(artu@2600:3c01::f03c:92ff:fecc:1d32) artu
2025-01-02 19:28:48 +0100 <geekosaur> https://cabal.readthedocs.io/en/3.12/cabal-commands.html#adding-libraries-to-ghc-package-environme…
2025-01-02 19:28:47 +0100 <rockingcool> Loving haskell so far, but that's definitely a pain point
2025-01-02 19:28:33 +0100 <rockingcool> yeah, I cam tell
2025-01-02 19:28:20 +0100 <rockingcool> got it
2025-01-02 19:28:15 +0100 <haskellbridge> <maerwald> Cabal was never good at UX
2025-01-02 19:28:00 +0100 <haskellbridge> <maerwald> Now you have to know 3-4 underdocumented cabal shenanigans to emulate the same thing
2025-01-02 19:27:27 +0100 <haskellbridge> <maerwald> Sandboxes, before they were prematurely ripped out of cabal
2025-01-02 19:26:27 +0100 <rockingcool> are virtual envs a thing? like in python
2025-01-02 19:26:03 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-02 19:26:00 +0100 <geekosaur> and is best used with --package-env
2025-01-02 19:25:47 +0100 <geekosaur> if you absolutely must, there's "cabal install --lib" but this has the potential to make big messes
2025-01-02 19:25:38 +0100 <rockingcool> I see
2025-01-02 19:25:18 +0100 <geekosaur> you don't "cabal install" or "stack install" a library, you write a package description that depends on the library and cabal or stack will install an appropriate version automatically
2025-01-02 19:25:15 +0100simplystuart(~simplystu@static-71-173-136-93.hrbgpa.fios.verizon.net) (Ping timeout: 252 seconds)
2025-01-02 19:24:45 +0100 <geekosaur> right, cabal and stack manage their own installations that are not directly visible
2025-01-02 19:23:46 +0100 <rockingcool> WARNING: Installation might not be completed as desired!
2025-01-02 19:23:43 +0100 <rockingcool> Beginner here: What's the best way to 'link' with a package when compiling using `ghc`? I tried installing the 'random' package (https://hackage.haskell.org/package/random-1.1) using cabal, and got this scary message:
2025-01-02 19:21:58 +0100vanishingideal(~vanishing@user/vanishingideal) vanishingideal
2025-01-02 19:16:28 +0100artu(~artu@li90-184.members.linode.com) (Ping timeout: 252 seconds)
2025-01-02 19:15:57 +0100rockingcool(~rockingco@user/rockingcool) rockingcool
2025-01-02 19:15:22 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
2025-01-02 19:14:01 +0100YoungFrog(~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be) youngfrog
2025-01-02 19:13:41 +0100YoungFrog(~youngfrog@2a02:a03f:c9db:fc00:3c98:8284:e7ab:d928) (Quit: ZNC 1.7.x-git-3-96481995 - https://znc.in)
2025-01-02 19:11:49 +0100peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 272 seconds)
2025-01-02 19:10:40 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-02 19:10:29 +0100rockingcool(~rockingco@user/rockingcool) (Quit: Leaving)
2025-01-02 19:09:12 +0100rockingcool(~rockingco@user/rockingcool) rockingcool
2025-01-02 19:09:12 +0100rockingcool(~rockingco@2600:1702:5284:80::2f) (Changing host)
2025-01-02 19:06:24 +0100Rockingcoolrockingcool
2025-01-02 19:05:27 +0100wootehfoot(~wootehfoo@user/wootehfoot) (Quit: Leaving)
2025-01-02 19:03:03 +0100Rockingcool(~rockingco@2600:1702:5284:80::2f)
2025-01-02 18:59:49 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
2025-01-02 18:56:48 +0100 <bwe> I mean the pattern I have is using Text as type but not having the type properly named.
2025-01-02 18:55:51 +0100Guest74(~Guest74@2600:1702:5284:80:899b:7d11:ffd4:dbfc)
2025-01-02 18:55:18 +0100 <bwe> maybe that or in any way a more convenient way than explicitly defining synonyms.
2025-01-02 18:55:16 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-02 18:54:36 +0100 <mauke> you want to declare a type in the middle of another type?
2025-01-02 18:53:11 +0100prasad(~Thunderbi@c-73-75-25-251.hsd1.in.comcast.net)
2025-01-02 18:52:55 +0100 <bwe> is there something like on the fly type aliases? https://play.haskell.org/saved/WxMkIOjh
2025-01-02 18:49:48 +0100peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich
2025-01-02 18:46:59 +0100drlong67(~david@pool-173-49-216-118.phlapa.fios.verizon.net) ()
2025-01-02 18:44:30 +0100Square(~Square@user/square) Square
2025-01-02 18:44:09 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 245 seconds)
2025-01-02 18:39:54 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-02 18:39:51 +0100drlong67(~david@pool-173-49-216-118.phlapa.fios.verizon.net)