2024/05/13

Newest at the top

2024-05-13 18:07:59 +0200 <EvanR> mdpete, the same thing I did as a beginner. Figure out as soon as possible how to show graphics and make sounds
2024-05-13 18:07:19 +0200 <c_wraith> stefan-__: note that for whatever reason, the -haddock flag seems to make installing primitive break. It's not really fully-supported yet...
2024-05-13 18:04:20 +0200ft(~ft@p508db8fc.dip0.t-ipconnect.de)
2024-05-13 18:01:47 +0200danse-nr3(~danse-nr3@151.57.39.218) (Ping timeout: 264 seconds)
2024-05-13 18:01:46 +0200 <mdpete> I have started to learn basics of programming . I read that there is no best first programming language. I guess Haskell programmers are more into joy of programming. Would you please recommend me as a beginner what you should do if you had the chance to srtart again as a total beginner?
2024-05-13 18:00:55 +0200euleritian(~euleritia@dynamic-176-003-078-122.176.3.pool.telefonica.de)
2024-05-13 18:00:46 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 255 seconds)
2024-05-13 17:59:47 +0200urdh(~urdh@user/urdh)
2024-05-13 17:58:18 +0200urdh(~urdh@user/urdh) (Quit: Boom!)
2024-05-13 17:58:09 +0200 <stefan-__> c_wraith: this helped https://github.com/haskell/haskell-language-server/issues/4210#issuecomment-2094925497 :)
2024-05-13 17:57:29 +0200mdpete(~mdpete@46.143.107.90)
2024-05-13 17:54:02 +0200 <ski> dmj` : because it's blub to them
2024-05-13 17:50:52 +0200 <c_wraith> ah. there it is. .local/state/cabal/store is the default if it's using XDG paths.
2024-05-13 17:49:04 +0200titibandit(~titibandi@user/titibandit) (Ping timeout: 246 seconds)
2024-05-13 17:48:31 +0200dezalator(~dezalator@77-254-94-95.dynamic.inetia.pl)
2024-05-13 17:47:02 +0200 <dmj`> ski: they make it sound like it's frankenstein
2024-05-13 17:46:36 +0200 <c_wraith> you still have a .cabal directory? lucky
2024-05-13 17:46:14 +0200 <stefan-__> removed that directory, now the dependencies are rebuilding :)
2024-05-13 17:45:58 +0200 <tomsmeding> ignore me :)
2024-05-13 17:45:55 +0200 <tomsmeding> oops
2024-05-13 17:45:52 +0200 <stefan-__> it seems to build to "~/.cabal/store/ghc-9.8.2/"
2024-05-13 17:45:51 +0200 <tomsmeding> you're right
2024-05-13 17:45:47 +0200 <tomsmeding> _oh_
2024-05-13 17:45:37 +0200 <c_wraith> tomsmeding: that doesn't build the same docs.
2024-05-13 17:45:15 +0200 <tomsmeding> stefan-__: have you tried putting 'documentation: True' in your cabal.project for the project? (If you don't have one yet, you also need 'packages: .' in there)
2024-05-13 17:44:03 +0200 <tomsmeding> but that hammer may be somewhat too large :p
2024-05-13 17:43:47 +0200 <tomsmeding> stefan-__: you can enable building documentation globally always by setting the 'documentation' key in ~/.cabal/config
2024-05-13 17:42:17 +0200machinedgod(~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 268 seconds)
2024-05-13 17:42:11 +0200 <c_wraith> yeah, you'd need to wipe the directory cabal builds stuff in. I honestly don't know where that is since they started using XDG stuff. I can't find it anymore.
2024-05-13 17:42:09 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2024-05-13 17:41:06 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
2024-05-13 17:40:49 +0200euleritian(~euleritia@dynamic-176-003-078-122.176.3.pool.telefonica.de) (Read error: Connection reset by peer)
2024-05-13 17:40:48 +0200 <stefan-__> how do I do a rebuild of the dependencies? "cabal clean && cabal build" seems to build only my program
2024-05-13 17:40:11 +0200raehik(~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net)
2024-05-13 17:40:07 +0200 <c_wraith> yeah, that page definitely implies that it's pulling info out of the .hi file. I wish that wasn't so awkward to deal with.
2024-05-13 17:38:31 +0200 <c_wraith> that only builds documentation for the package you're in. If you need documentation for your dependencies, you'll need to rebuild them
2024-05-13 17:37:45 +0200 <stefan-__> after setting the cabal config I did a "cabal haddock" not sure if that is enough
2024-05-13 17:36:30 +0200 <c_wraith> the .hi file *can* contain documentation, but only if you've compiled the library with it enabled.
2024-05-13 17:36:02 +0200 <c_wraith> I wonder if it's just pulling from the .hi file. That looks like what you'd get from running :info in ghci
2024-05-13 17:34:54 +0200 <stefan-__> also I followed this configuration for the cabal project: https://haskell-language-server.readthedocs.io/en/latest/configuration.html#how-to-show-local-docu…
2024-05-13 17:33:39 +0200 <stefan-__> I would expect it to show at least the description "Render the table.", as on hackage: https://hackage.haskell.org/package/brick-2.3.1/docs/Brick-Widgets-Table.html#v:renderTable
2024-05-13 17:33:11 +0200sawilagar(~sawilagar@user/sawilagar)
2024-05-13 17:33:04 +0200 <stefan-__> https://matrix.42dots.de/_matrix/media/v3/download/matrix.42dots.de/DiBITy1opNjoQQXCDOwuLjsM6vauzZ…
2024-05-13 17:33:01 +0200 <stefan-__> I am using haskell-language-server via Emacs' lsp-mode, any idea why only a minimal documentation is shown, e.g.:
2024-05-13 17:30:39 +0200sawilagar(~sawilagar@user/sawilagar) (Quit: Leaving)
2024-05-13 17:28:10 +0200lortabac(~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Quit: WeeChat 4.2.1)
2024-05-13 17:26:38 +0200kuribas(~user@ip-188-118-57-242.reverse.destiny.be) (Remote host closed the connection)
2024-05-13 17:21:36 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2024-05-13 17:19:17 +0200Square2(~Square4@user/square) (Ping timeout: 252 seconds)
2024-05-13 17:17:37 +0200raehik(~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net) (Ping timeout: 268 seconds)