2025/01/02

Newest at the top

2025-01-02 19:43:28 +0100rockingcool(~rockingco@user/rockingcool) rockingcool
2025-01-02 19:43:06 +0100rockingcool(~rockingco@user/rockingcool) (Remote host closed the connection)
2025-01-02 19:42:19 +0100 <rockingcool> sounds good
2025-01-02 19:41:36 +0100 <glguy> A bot requires less UI so that can be a good starting point on that path
2025-01-02 19:41:07 +0100 <rockingcool> glguy: Thanks for the ideas, an irc client sounds fun
2025-01-02 19:39:39 +0100 <rockingcool> my only previous exposure to FP is python, which probably doesn't even count
2025-01-02 19:38:47 +0100 <glguy> rockingcool: depends on what you think is fun. I like making text games, IRC clients, and solving puzzles, so I use Haskell for those. It's generally suitable for what first project is something you're interested in
2025-01-02 19:37:46 +0100 <__monty__> I think the data61 FP-course is a good practical introduction to Haskell, albeit with a bit of a steep curve if you don't have guidance or prior experience.
2025-01-02 19:36:50 +0100 <__monty__> Parser combinators are great but I honestly wouldn't be able to recommend them as first exposure to Haskell. Depending on previous functional programming experience of course.
2025-01-02 19:35:50 +0100 <rockingcool> been thinking about a parser, since that seems like Haskell's strength
2025-01-02 19:35:49 +0100simplystuart(~simplystu@static-71-173-136-93.hrbgpa.fios.verizon.net)
2025-01-02 19:35:33 +0100 <rockingcool> are there any common 'first projects' that people usually do in haskell?
2025-01-02 19:34:35 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2025-01-02 19:34:27 +0100 <rockingcool> right
2025-01-02 19:33:57 +0100 <geekosaur> (at least you can cure them by removing the environment file, which ghc will tell you it's using)
2025-01-02 19:33:38 +0100 <geekosaur> you really don't want to add them to the default global environment, different versdions will conflict with each other and you'll ultimately end up with horrible tangles
2025-01-02 19:33:27 +0100 <rockingcool> sounds good, thanks
2025-01-02 19:32:49 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
2025-01-02 19:32:45 +0100 <geekosaur> with --package-env=., it's okay
2025-01-02 19:31:32 +0100 <rockingcool> would you recommend the '--lib' approach for toy programs?
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