2024/07/01

Newest at the top

2024-07-01 03:45:26 +0200 <jcarpenter2> Instead of parsers that match parts of an input string, there are patterns that match parts of a structured expression tree
2024-07-01 03:44:31 +0200 <jcarpenter2> I've been working on this program that does pattern matching against expression trees, and just noticed pattern matching is sort of like parsing
2024-07-01 03:41:35 +0200 <mikko> hmm maybe it belong in $XDG_DATA_HOME not $XDG_CONFIG_HOME
2024-07-01 03:39:50 +0200 <sclv> https://ghc.gitlab.haskell.org/ghc/doc/users_guide/packages.html#package-environments
2024-07-01 03:38:56 +0200 <sclv> you can explicitly pass in a different env file location to ghci if you don’t want it to use the one in .ghc — and similarly you can direct cabal to write that enc file elsewhere
2024-07-01 03:38:50 +0200 <mikko> i tried moving that to ~/.config/ghc/ but it didn't seem to help
2024-07-01 03:38:10 +0200 <sclv> thats where the package is picked up by ghci from, as a “pointer” to the actual location its installed
2024-07-01 03:37:44 +0200 <sclv> the thing cabal writes in there is the default env file. which is mentioned in your paste
2024-07-01 03:37:27 +0200 <mikko> well it's definitely the cabal command that generates it
2024-07-01 03:36:41 +0200 <sclv> cabal doesn’t generate .ghc. unsurprisingly, ghc does
2024-07-01 03:36:02 +0200 <mikko> and why it even generates .ghc when i already have ~/.config/ghc/ghci.conf
2024-07-01 03:35:43 +0200 <mikko> i'm a bit confused where cabal is even installing the package and why removing .ghc affects anything when there's clearly no package there
2024-07-01 03:34:39 +0200 <mikko> i spent good 20 minutes chatting with chatgippity about package-db and whatever but none of its suggestions helped
2024-07-01 03:34:28 +0200caryfitz(~caryfitz@2600:1700:e72:9000::47) (Ping timeout: 256 seconds)
2024-07-01 03:33:53 +0200 <mikko> here's what i tried https://bpa.st/raw/XPGA
2024-07-01 03:33:37 +0200 <mikko> is there any way to install packages such that they are available in the default ghci (outside any project) without introducing a ~/.ghc directory?
2024-07-01 03:32:26 +0200lol_jcarpenter2
2024-07-01 03:16:47 +0200machinedgod(~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 264 seconds)
2024-07-01 02:59:29 +0200 <Axman6> :o
2024-07-01 02:45:18 +0200ft(~ft@mue-88-130-106-118.dsl.tropolys.de)
2024-07-01 02:44:02 +0200ft(~ft@mue-88-130-107-007.dsl.tropolys.de) (Ping timeout: 268 seconds)
2024-07-01 02:37:06 +0200dcoutts(~duncan@cpc113460-oxfd27-2-0-cust409.4-3.cable.virginm.net)
2024-07-01 02:35:48 +0200xdminsy(~xdminsy@117.147.70.231)
2024-07-01 02:34:53 +0200xdminsy(~xdminsy@117.147.70.231) (Ping timeout: 240 seconds)
2024-07-01 02:29:37 +0200sawilagar(~sawilagar@user/sawilagar) (Ping timeout: 272 seconds)
2024-07-01 02:21:16 +0200gmg(~user@user/gehmehgeh) (Quit: Leaving)
2024-07-01 02:14:06 +0200Leary(~Leary@user/Leary/x-0910699)
2024-07-01 02:11:15 +0200Leary(~Leary@user/Leary/x-0910699) (Remote host closed the connection)
2024-07-01 02:05:53 +0200phma(~phma@host-67-44-208-142.hnremote.net)
2024-07-01 02:01:56 +0200califax(~califax@user/califx)
2024-07-01 02:00:32 +0200califax(~califax@user/califx) (Remote host closed the connection)
2024-07-01 01:54:16 +0200misterfish(~misterfis@84.53.85.146) (Ping timeout: 246 seconds)
2024-07-01 01:48:09 +0200phma(phma@2001:5b0:2144:3258:22dc:c425:bf48:7057) (Read error: Connection reset by peer)
2024-07-01 01:45:46 +0200phma(phma@2001:5b0:2144:3258:22dc:c425:bf48:7057)
2024-07-01 01:42:50 +0200phma(~phma@2001:5b0:215a:ef08:a1:7264:bc90:3efa) (Read error: Connection reset by peer)
2024-07-01 01:31:08 +0200ss4(~wootehfoo@user/wootehfoot) (Ping timeout: 252 seconds)
2024-07-01 01:30:01 +0200mxs9(~mxs@user/mxs)
2024-07-01 01:20:04 +0200mxs9(~mxs@user/mxs) (Quit: The Lounge - https://thelounge.chat)
2024-07-01 01:14:11 +0200tomboy64(~tomboy64@user/tomboy64)
2024-07-01 01:09:08 +0200tomboy64(~tomboy64@user/tomboy64) (Ping timeout: 252 seconds)
2024-07-01 01:07:01 +0200emm(~emm@user/edmeme) (Ping timeout: 246 seconds)
2024-07-01 01:06:13 +0200misterfish(~misterfis@84.53.85.146)
2024-07-01 01:03:34 +0200Tuplanolla(~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.)
2024-07-01 01:00:27 +0200__monty__(~toonn@user/toonn) (Quit: leaving)
2024-07-01 00:59:23 +0200dcoutts(~duncan@94.119.32.5) (Ping timeout: 264 seconds)
2024-07-01 00:56:26 +0200dolio(~dolio@130.44.134.54)
2024-07-01 00:55:26 +0200nshepperd2(~nshepperd@2a01:4f9:3b:4cc9::2)
2024-07-01 00:55:18 +0200nshepperd2(~nshepperd@2a01:4f9:3b:4cc9::2) (Client Quit)
2024-07-01 00:53:55 +0200nshepperd2(~nshepperd@2a01:4f9:3b:4cc9::2)
2024-07-01 00:53:46 +0200nshepperd2(~nshepperd@2a01:4f9:3b:4cc9::2) (Quit: The Lounge - https://thelounge.chat)