Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→ 1,804,072 events total
2025-09-09 20:56:26 × ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 244 seconds)
2025-09-09 20:56:26 ljdarj1 is now known as ljdarj
2025-09-09 21:04:22 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
2025-09-09 21:04:59 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
2025-09-09 21:05:06 × michalz quits (~michalz@185.246.207.200) (Remote host closed the connection)
2025-09-09 21:09:59 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 250 seconds)
2025-09-09 21:12:13 × takuan quits (~takuan@d8D86B9E9.access.telenet.be) (Remote host closed the connection)
2025-09-09 21:14:46 ouilemur joins (~jgmerritt@user/ouilemur)
2025-09-09 21:17:55 biberao joins (~m@user/biberao)
2025-09-09 21:18:17 <biberao> hi do any of you advise to use chocolatey for haskell env on win11
2025-09-09 21:18:19 <biberao> ?
2025-09-09 21:18:44 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
2025-09-09 21:21:07 emmanuelux joins (~emmanuelu@user/emmanuelux)
2025-09-09 21:23:28 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 258 seconds)
2025-09-09 21:23:44 <int-e> Just FWIW, here is one reason why JS's internal representation of strings might not matter for WASM backend purposes: https://gitlab.haskell.org/ghc/ghc/-/blob/master/libraries/ghc-internal/src/GHC/Internal/Wasm/Prim/Types.hs#L198-199 ...this encodes a JS string into a memory buffer shared with the WASM code, as UTF-8. So the encoding changes during marshalling. Does this connect to jsaddle in...
2025-09-09 21:23:50 <int-e> ...any way? I have no clue.
2025-09-09 21:28:10 <haskellbridge> <sm> biberao that's an ok way to get a few of the major tools installed - ghc, cabal, stack.. not ghcup I think
2025-09-09 21:29:28 <haskellbridge> <sm> the vscode-haskell extension is there, too
2025-09-09 21:30:03 × img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
2025-09-09 21:32:53 img joins (~img@user/img)
2025-09-09 21:33:28 <haskellbridge> <sm> but, https://community.chocolatey.org/packages/ghc is much too old - 9.8.2. So I'd use either stack or ghcup to install ghc.
2025-09-09 21:34:25 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
2025-09-09 21:40:21 × target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving)
2025-09-09 21:41:28 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds)
2025-09-09 21:46:24 × kaotica quits (~user@user/d4q) (Ping timeout: 260 seconds)
2025-09-09 21:46:38 weary-traveler joins (~user@user/user363627)
2025-09-09 21:47:11 kaotica joins (~user@user/d4q)
2025-09-09 21:52:14 trickard___ joins (~trickard@cpe-54-98-47-163.wireline.com.au)
2025-09-09 21:52:29 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
2025-09-09 21:53:21 × trickard quits (~trickard@cpe-53-98-47-163.wireline.com.au) (Ping timeout: 248 seconds)
2025-09-09 21:57:29 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds)
2025-09-09 22:02:56 × tromp quits (~textual@2001:1c00:3487:1b00:298e:6063:53dd:ee4e) (Quit: My iMac has gone to sleep. ZZZzzz…)
2025-09-09 22:08:16 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
2025-09-09 22:13:12 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds)
2025-09-09 22:17:40 <biberao> ok
2025-09-09 22:17:48 <biberao> but can i isolate it?
2025-09-09 22:17:53 <biberao> or its globally installed?
2025-09-09 22:24:06 segfaultfizzbuzz joins (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net)
2025-09-09 22:28:33 × segfaultfizzbuzz quits (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net) (Ping timeout: 248 seconds)
2025-09-09 22:32:02 <geekosaur> globally installed. ghcup and even more so stack can isolate them
2025-09-09 22:34:17 davidlbowman joins (~dlb@user/davidlbowman)
2025-09-09 22:35:40 segfaultfizzbuzz joins (~segfaultf@23-93-74-222.fiber.dynamic.sonic.net)
2025-09-09 22:35:44 <biberao> ah i can use ghcup or stack?
2025-09-09 22:35:47 <biberao> im cnfused here
2025-09-09 22:38:04 <geekosaur> both of them can install ghc for you, although modern stack usage gets ghc from ghcup
2025-09-09 22:38:32 <geekosaur> when you install ghcup, it will install ghc, haskell-language-server, cabal, and stack
2025-09-09 22:38:52 <geekosaur> it will also ask if you want to install a stack hook that makes it get ghc from ghcup instead of downloading it separately
2025-09-09 22:39:44 <geekosaur> stack is somewhat easier for beginners to use, although if you find yourself using extra-deps a lot then cabal might be a better alternative
2025-09-09 22:39:52 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
2025-09-09 22:44:44 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 258 seconds)
2025-09-09 22:46:38 × davidlbowman quits (~dlb@user/davidlbowman) (Ping timeout: 256 seconds)
2025-09-09 22:47:48 <biberao> ive always used linux so i dont know win11
2025-09-09 22:49:25 <geekosaur> unless you need to make a native Windows app then WSL2 + ghcup might be the way to go, then
2025-09-09 22:50:43 <biberao> geekosaur: any good reading for me to try?
2025-09-09 22:51:12 <biberao> i dont want it to mess much with the system
2025-09-09 22:53:38 <monochrom> I don't know what "isolation" means. But I can say what ghcup does. It can install multiple GHC versions, set one of them as default, but the others are still accessible as eg "ghc-9.6.7". It can uninstall any of the GHC versions.
2025-09-09 22:54:40 <biberao> ayh awesome
2025-09-09 22:54:47 <biberao> so i grab ghcup and its done then?
2025-09-09 22:54:55 <geekosaur> I'm not seeing any good documentation. Windows Subsystem for Linux 2 should be available for free in the Windows Store if it's not preinstalled, and once you start it you can use the Linux instructions to install ghcup within it https://haskell.org/ghcup
2025-09-09 22:55:23 <biberao> ah ok cool thanks
2025-09-09 22:55:28 <biberao> im sorry
2025-09-09 22:55:41 merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl)
2025-09-09 22:57:00 <EvanR> is jsaddle an improbably obscure reference to "haskell on a horse"
2025-09-09 22:57:37 <monochrom> Heh, how does haskell get in there?
2025-09-09 22:58:25 Sgeo joins (~Sgeo@user/sgeo)
2025-09-09 22:58:47 × Googulator quits (~Googulato@2a01-036d-0106-217b-fd1e-c506-2528-080c.pool6.digikabel.hu) (Quit: Client closed)
2025-09-09 22:58:52 <EvanR> it's some thing that facilitates haskell for web
2025-09-09 22:59:04 Googulator joins (~Googulato@2a01-036d-0106-217b-fd1e-c506-2528-080c.pool6.digikabel.hu)
2025-09-09 23:00:20 <geekosaur> ruby on rails, cobol on cogs, haskell on a horse
2025-09-09 23:00:27 × merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 258 seconds)
2025-09-09 23:00:37 <EvanR> intercal on interstates
2025-09-09 23:00:47 <monochrom> But then I would expect "hsaddle". :)
2025-09-09 23:01:12 <geekosaur> I think it's actually saddling Javascript for use with Haskell via ghcjs/the JS backend
2025-09-09 23:01:17 <Lycurgus> did i imagine a ghcjs oder?
2025-09-09 23:01:52 <EvanR> ok javascript is the horse
2025-09-09 23:01:57 <monochrom> May I distort this thing completely and imagine "j in Spanish is like h in English"? >:)
2025-09-09 23:02:10 <EvanR> no that explains it
2025-09-09 23:02:13 <geekosaur> harder h, though
2025-09-09 23:02:21 <monochrom> Jasquell
2025-09-09 23:02:38 <EvanR> I never learned haskell only HQuery
2025-09-09 23:03:15 <Lycurgus> https://github.com/ghcjs/ghcjs
2025-09-09 23:03:38 <Lycurgus> just died out igess
2025-09-09 23:05:35 <Lycurgus> went to ill conceived idea heaven
2025-09-09 23:05:49 × raym quits (~ray@user/raym) (Ping timeout: 258 seconds)
2025-09-09 23:05:57 <EvanR> ghcjs was an ill conceived idea and died out?
2025-09-09 23:06:03 × acidjnk quits (~acidjnk@p200300d6e7171905303ea6658b591e68.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
2025-09-09 23:06:15 <jackdk> Isn't there a JS and a WASM backend in mainline GHC now?
2025-09-09 23:07:03 <geekosaur> more correctly, all its devs moved over to developing ghc's JS backend
2025-09-09 23:07:39 <geekosaur> because trying to upgrade ghcjs past 8.10 was too much of a nightmare
2025-09-09 23:07:48 <Lycurgus> so it could hook up with another ill concieved thing igess (wasm)
2025-09-09 23:08:04 <EvanR> ill advised
2025-09-09 23:08:05 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine)
2025-09-09 23:08:19 <Lycurgus> same deal
2025-09-09 23:08:29 <int-e> There is a wasm backend in mainline GHC. I don't think the JS backend is in there, but that's fine; the WASM one largely supersedes it anyway.
2025-09-09 23:08:41 <geekosaur> JS is in there
2025-09-09 23:08:45 <int-e> where?
2025-09-09 23:08:55 <Lycurgus> unless u think an idea is good if it looks or sounds good
2025-09-09 23:09:16 <Lycurgus> if sex ka-ching or whatever
2025-09-09 23:09:17 <int-e> Oh I'm too stupid to search. ./compiler/GHC/StgToJS.hs
2025-09-09 23:09:24 <Lycurgus> *sez

All times are in UTC.