Logs: liberachat/#haskell
| 2026-01-04 21:24:29 | × | Gravifer quits (~Gravifer@user/Gravifer) (Ping timeout: 272 seconds) |
| 2026-01-04 21:24:57 | <larsivi> | According to ghcup, 9.6.7 is the _only_ version I have, and ghc --version says 9.6.7 |
| 2026-01-04 21:26:06 | <larsivi> | Is there some way I can find out what HLS is using? |
| 2026-01-04 21:27:10 | <larsivi> | As for the diagnostic, I have no idea if it is newer than 9.6.7, it was just a guess from me. But I would have expected a page like the one showing the error to say _when_ it was defined/added. |
| 2026-01-04 21:28:49 | <larsivi> | Diagnostic shown in neovim: 1. Not in scope: type constructor or class ‘SSEstream’ [GHC-76037] |
| 2026-01-04 21:31:02 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-01-04 21:32:16 | <monochrom> | I think 9.6 is new enough to give those error codes. (I see them all the time.) |
| 2026-01-04 21:32:29 | <larsivi> | As mentioned, I'm rather new to Haskell, but SSEstream is defined/declared in a module that is exported from a library, which then has everything imported into a demo program. |
| 2026-01-04 21:32:56 | <tomsmeding> | larsivi: how do you have your project set up? Is there a <something>.cabal file, for example? |
| 2026-01-04 21:33:13 | <larsivi> | Yeah, used cabal |
| 2026-01-04 21:33:38 | <larsivi> | @monochrom but shouldn't I see them when compiling? |
| 2026-01-04 21:33:53 | <tomsmeding> | could you run `haskell-language-server-wrapper` in the terminal in your project directory, and paste the output on e.g. paste.tomsmeding.com? |
| 2026-01-04 21:34:55 | × | peterbecich quits (~Thunderbi@71.84.33.135) (Ping timeout: 240 seconds) |
| 2026-01-04 21:35:21 | <tomsmeding> | larsivi: 9.6.7 doesn't yet have [GHC-] tags for all error messages; it does for this one, for example https://play.haskell.org/saved/C3fJhIsI , so the fact that you're getting error codes doesn't yet imply that HLS is using something other than 9.6.7 |
| 2026-01-04 21:35:50 | <tomsmeding> | did HLS create a .stack-work subdirectory, and/or do you have stack installed with ghcup? |
| 2026-01-04 21:36:01 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds) |
| 2026-01-04 21:38:28 | × | confusedalex quits (~confuseda@user/confusedalex) (Remote host closed the connection) |
| 2026-01-04 21:39:47 | <larsivi> | Paste id wfSaP4bQ |
| 2026-01-04 21:40:26 | <haskellbridge> | <sm> best to share the url |
| 2026-01-04 21:40:48 | → | confusedalex joins (~confuseda@user/confusedalex) |
| 2026-01-04 21:41:13 | <tomsmeding> | https://paste.tomsmeding.com/wfSaP4bQ |
| 2026-01-04 21:41:53 | <haskellbridge> | <sm> I was surprised to hear you say that ghcup is recommending 9.6.7 - I know it's conservative, but _9.6_.. ? |
| 2026-01-04 21:42:42 | <tomsmeding> | sm: relevant https://github.com/haskell/ghcup-metadata/issues/335#issuecomment-3369142839 |
| 2026-01-04 21:43:42 | → | debayan joins (~debayan@user/debayan) |
| 2026-01-04 21:43:48 | <tomsmeding> | larsivi: have you forgotten to list ServerSentEventGenerator in your cabal file, by any chance? |
| 2026-01-04 21:44:13 | <tomsmeding> | all modules in a package must be listed in the .cabal file, either in exposed-modules (if a library) or in other-modules |
| 2026-01-04 21:44:14 | <larsivi> | I have stack from ghcup, but not HLS (probably arch... messed a lot with this a couple of months back, don't remember all details) |
| 2026-01-04 21:44:22 | × | debayan quits (~debayan@user/debayan) (Client Quit) |
| 2026-01-04 21:44:52 | <tomsmeding> | it's highly risky to mix ghc/cabal/stack/HLS from different sources (not risky as in blows up your pc, but risky as in stuff is likely to not work) |
| 2026-01-04 21:45:17 | <tomsmeding> | and arch's packages in particular are infamous for being terrible for usability, don't use them at all if you can |
| 2026-01-04 21:45:32 | <tomsmeding> | (arch's haskell-related packages, that is) |
| 2026-01-04 21:45:37 | <larsivi> | I have not forgotten, as I'm not the original author of this. :) It is a couple of years old I think and abandoned. I'm trying to get it slightly more up-to-date and usable with some external stuff it references. |
| 2026-01-04 21:46:01 | <tomsmeding> | ok, general "you the author of this code" then :) |
| 2026-01-04 21:46:49 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-01-04 21:47:34 | <haskellbridge> | <sm> tomsmeding: we have a new LTS ghc now don't we |
| 2026-01-04 21:48:56 | <tomsmeding> | I guess we do, since very recently! Likely maerwald wants to wait a little bit before recommending the 9.14 series :) |
| 2026-01-04 21:51:39 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds) |
| 2026-01-04 21:52:29 | <larsivi> | ok, let me see if I can get rid of hls and then install it via ghcup |
| 2026-01-04 21:56:27 | × | target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving) |
| 2026-01-04 21:57:33 | <larsivi> | Ah, but where do I get the wrapper from? |
| 2026-01-04 21:57:53 | <tomsmeding> | installing HLS via ghcup should get you the wrapper automatically; you may have to "set" it again |
| 2026-01-04 22:00:18 | <haskellbridge> | <sm> oh 9.14, yes that's a bit new. (I thought 9.10 had been the de facto lts) |
| 2026-01-04 22:00:55 | <tomsmeding> | sm: see the discussion in the issue I linked |
| 2026-01-04 22:01:37 | <larsivi> | Thanks! I misunderstood the TUI dialogue, got it set now and it seems to work again. |
| 2026-01-04 22:02:36 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-01-04 22:02:55 | <haskellbridge> | <sm> 👍🏻 9.6 in 2025 is sad though, looking forward to a new lts |
| 2026-01-04 22:04:08 | <haskellbridge> | <sm> though, its first release was march 2023. Wow, in haskell world it feels like another era.. but <2y |
| 2026-01-04 22:07:21 | <larsivi> | So after re-installing hls, that particular error diagnostic doesn't show anymore |
| 2026-01-04 22:07:30 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
| 2026-01-04 22:08:35 | × | machinedgod quits (~machinedg@d75-159-126-101.abhsia.telus.net) (Ping timeout: 240 seconds) |
| 2026-01-04 22:11:16 | → | Lycurgus joins (~juan@user/Lycurgus) |
| 2026-01-04 22:15:16 | × | ss4 quits (~wootehfoo@user/wootehfoot) (Ping timeout: 246 seconds) |
| 2026-01-04 22:16:16 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-01-04 22:20:55 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds) |
| 2026-01-04 22:23:51 | → | fp joins (~Thunderbi@2001-14ba-6e24-3000--198.rev.dnainternet.fi) |
| 2026-01-04 22:27:25 | Festive_Dragon | is now known as gAy_Dragon |
| 2026-01-04 22:29:32 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
| 2026-01-04 22:32:03 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-01-04 22:33:43 | × | vanishingideal quits (~vanishing@user/vanishingideal) (Read error: Connection reset by peer) |
| 2026-01-04 22:37:22 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds) |
| 2026-01-04 22:41:36 | × | euphores quits (~SASL_euph@user/euphores) (Ping timeout: 252 seconds) |
| 2026-01-04 22:42:54 | × | gorignak quits (~gorignak@user/gorignak) (Quit: quit) |
| 2026-01-04 22:43:22 | × | fp quits (~Thunderbi@2001-14ba-6e24-3000--198.rev.dnainternet.fi) (Quit: fp) |
| 2026-01-04 22:43:33 | → | gorignak joins (~gorignak@user/gorignak) |
| 2026-01-04 22:47:50 | → | euphores joins (~SASL_euph@user/euphores) |
| 2026-01-04 22:47:51 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-01-04 22:49:14 | × | Lycurgus quits (~juan@user/Lycurgus) (Quit: alsoknownas.renjuan.org ( juan@acm.org )) |
| 2026-01-04 22:50:26 | × | Everything quits (~Everythin@217.147.163.184) (Quit: leaving) |
| 2026-01-04 22:52:31 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds) |
| 2026-01-04 22:53:13 | × | gorignak quits (~gorignak@user/gorignak) (Quit: quit) |
| 2026-01-04 22:53:52 | → | gorignak joins (~gorignak@user/gorignak) |
| 2026-01-04 22:58:16 | × | CryptLab quits (~NSA@2a0d:5600:6:108::2e) (Ping timeout: 255 seconds) |
| 2026-01-04 22:59:15 | → | CryptLab joins (~NSA@2a0d:5600:6:108::2e) |
| 2026-01-04 23:00:03 | × | gorignak quits (~gorignak@user/gorignak) (Quit: quit) |
| 2026-01-04 23:00:42 | → | gorignak joins (~gorignak@user/gorignak) |
| 2026-01-04 23:03:36 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-01-04 23:04:06 | × | gorignak quits (~gorignak@user/gorignak) (Client Quit) |
| 2026-01-04 23:05:31 | → | gorignak joins (~gorignak@user/gorignak) |
| 2026-01-04 23:05:42 | × | gorignak quits (~gorignak@user/gorignak) (Remote host closed the connection) |
| 2026-01-04 23:10:05 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds) |
| 2026-01-04 23:17:16 | × | DetourNetworkUK quits (~DetourNet@user/DetourNetworkUK) () |
| 2026-01-04 23:17:16 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-01-04 23:17:39 | → | DetourNetworkUK joins (DetourNetw@user/DetourNetworkUK) |
| 2026-01-04 23:22:07 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 246 seconds) |
| 2026-01-04 23:30:26 | × | olivial quits (~benjaminl@user/benjaminl) (Remote host closed the connection) |
| 2026-01-04 23:32:10 | → | olivial joins (~benjaminl@user/benjaminl) |
| 2026-01-04 23:33:01 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-01-04 23:33:02 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "") |
| 2026-01-04 23:35:33 | → | mange joins (~mange@user/mange) |
| 2026-01-04 23:36:29 | → | machinedgod joins (~machinedg@d75-159-126-101.abhsia.telus.net) |
| 2026-01-04 23:38:07 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds) |
| 2026-01-04 23:43:08 | → | humasect joins (~humasect@dyn-192-249-132-90.nexicom.net) |
| 2026-01-04 23:47:40 | × | humasect quits (~humasect@dyn-192-249-132-90.nexicom.net) (Ping timeout: 246 seconds) |
| 2026-01-04 23:49:05 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-01-04 23:50:27 | × | ttybitnik quits (~ttybitnik@user/wolper) (Quit: Fading out...) |
| 2026-01-04 23:53:00 | → | pavonia joins (~user@user/siracusa) |
| 2026-01-04 23:53:34 | → | Square3 joins (~Square@user/square) |
| 2026-01-04 23:54:06 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds) |
| 2026-01-05 00:02:59 | × | ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 260 seconds) |
| 2026-01-05 00:04:02 | <haskellbridge> | <maerwald> sm: what is sad about a stable and well working GHC release? |
All times are in UTC.