2025/12/29

Newest at the top

2025-12-29 19:21:12 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) humasect
2025-12-29 19:17:52 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 246 seconds)
2025-12-29 19:13:55 +0100Digit(~Digit@user/digit) (Ping timeout: 240 seconds)
2025-12-29 19:13:34 +0100Digitteknohippie(~Digit@user/digit) Digit
2025-12-29 19:13:15 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2025-12-29 19:09:45 +0100bitdex(~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 252 seconds)
2025-12-29 19:07:57 +0100d34db33f(~d34db33f@user/d34db33f) d34db33f
2025-12-29 19:07:24 +0100d34db33f(~d34db33f@user/d34db33f) (Read error: Connection reset by peer)
2025-12-29 19:06:03 +0100Henson(~kvirc@72.138.141.114) (Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/)
2025-12-29 19:05:59 +0100 <Henson> thanks a lot for your help, gotta go now
2025-12-29 19:05:48 +0100 <Henson> geekosaur: ok, I'll keep an eye out for that.
2025-12-29 19:03:19 +0100marinelli(~weechat@gateway/tor-sasl/marinelli) marinelli
2025-12-29 19:00:23 +0100d34db33f(~d34db33f@user/d34db33f) d34db33f
2025-12-29 18:59:39 +0100 <geekosaur> also I *think* -Wall would have warned you by ghc emitting -Wmissing-home-modules warnings each time it did that
2025-12-29 18:59:05 +0100karenw(~karenw@user/karenw) karenw
2025-12-29 18:54:37 +0100 <Henson> ok, good to know!
2025-12-29 18:54:13 +0100 <geekosaur> this is basically a holdover from `ghc --make` building entire projects directly, before the days of stack and cabal
2025-12-29 18:53:13 +0100 <Henson> c_wraith, geekosaur: thank you very much for your help!
2025-12-29 18:52:04 +0100 <Henson> ok, that's likely what's going on here. Everything is all in the same source directory.
2025-12-29 18:51:43 +0100 <geekosaur> right
2025-12-29 18:51:35 +0100 <Henson> ok. So LibB will compile Foo.Bar itself if it can find it in its directory tree, instead of using the one that is built into LibA on which LibB depends?
2025-12-29 18:51:29 +0100oneeyedalien(~oneeyedal@user/oneeyedalien) (Client Quit)
2025-12-29 18:51:01 +0100 <geekosaur> so yes, every component should live in its own source directory to keep ghc from grabbing stuff itself
2025-12-29 18:51:00 +0100oneeyedalien(~oneeyedal@user/oneeyedalien) oneeyedalien
2025-12-29 18:50:34 +0100 <geekosaur> *reachable via the filesystem
2025-12-29 18:50:20 +0100 <geekosaur> cabal "does". ghc doesn't; if it sees a possible import reachable, it'll use it itself
2025-12-29 18:49:29 +0100 <Henson> should the various libraries be in separate directories? I made sure that the exported-modules and other-modules are not duplicated, and I assumed that cabal would only build what are in those directives.
2025-12-29 18:38:54 +0100 <c_wraith> To prevent that from happening, at the very least the executable needs to be in a different directory.
2025-12-29 18:38:21 +0100 <c_wraith> Which results in the same modules being found in multiple projects
2025-12-29 18:37:57 +0100 <c_wraith> it sounds like you have a shared source directory
2025-12-29 18:35:25 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2025-12-29 18:31:26 +0100Lycurgus(~juan@user/Lycurgus) Lycurgus
2025-12-29 18:30:56 +0100vulpine(xfnw@user/meow/xfnw) (Quit: Connection reset by purr)
2025-12-29 18:30:32 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2025-12-29 18:23:47 +0100 <Henson> present in LibB, because LibB depends on LibA. So I'm doing something wrong about combining all of these things together. Does anybody have any suggestions to point me in the right direction?
2025-12-29 18:23:17 +0100 <Henson> I've got a Cabal file with multiple libraries. Say LibA, LibB, and an executable EXE. LibB depends on LibA, and the final executable depends on both LibA and LibB. But when trying to link it all together, the EXE won't compile without LibA being present, but when I add it to the build-depends it complains because definitions in LibA are conflicting with the definitions of LibA and are...
2025-12-29 18:22:21 +0100wennefer0(~wennefer0@user/wennefer0) (Remote host closed the connection)
2025-12-29 18:21:56 +0100euphores(~SASL_euph@user/euphores) euphores
2025-12-29 18:21:02 +0100wennefer0_______wennefer0
2025-12-29 18:20:39 +0100wennefer0(~wennefer0@user/wennefer0) (Killed (NickServ (GHOST command used by wennefer0_______)))
2025-12-29 18:20:25 +0100pera(~pera@user/pera) (Quit: leaving)
2025-12-29 18:18:35 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds)
2025-12-29 18:18:03 +0100mrmonday(~robert@what.i.hope.is.not.a.tabernaevagant.es) mrmonday
2025-12-29 18:16:39 +0100mrmonday(~robert@what.i.hope.is.not.a.tabernaevagant.es) (Quit: .)
2025-12-29 18:16:39 +0100wennefer0_______(~wennefer0@user/wennefer0) wennefer0
2025-12-29 18:16:14 +0100wennefer0____(~wennefer0@user/wennefer0) (Client Quit)
2025-12-29 18:15:59 +0100wennefer0_______(~wennefer0@user/wennefer0) (Client Quit)
2025-12-29 18:15:38 +0100euphores(~SASL_euph@user/euphores) (Quit: Leaving.)
2025-12-29 18:14:18 +0100wennefer0_______(~wennefer0@user/wennefer0) wennefer0
2025-12-29 18:12:53 +0100wennefer0____(~wennefer0@user/wennefer0) wennefer0