Logs: liberachat/#haskell
| 2025-12-29 13:59:34 | × | ridcully_ quits (~ridcully@p508aca22.dip0.t-ipconnect.de) (Ping timeout: 256 seconds) |
| 2025-12-29 14:01:37 | × | karenw quits (~karenw@user/karenw) (Ping timeout: 250 seconds) |
| 2025-12-29 14:01:49 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds) |
| 2025-12-29 14:02:07 | × | pera quits (~pera@user/pera) (Ping timeout: 240 seconds) |
| 2025-12-29 14:04:10 | → | pera joins (~pera@user/pera) |
| 2025-12-29 14:09:15 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2025-12-29 14:10:26 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 2025-12-29 14:14:04 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds) |
| 2025-12-29 14:16:06 | → | Brumaire_ joins (~no@94.140.114.73) |
| 2025-12-29 14:16:12 | × | Brumaire quits (~no@94.140.114.73) (Ping timeout: 252 seconds) |
| 2025-12-29 14:16:49 | → | petrichor joins (~jez@user/petrichor) |
| 2025-12-29 14:17:22 | × | wootehfoot quits (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer) |
| 2025-12-29 14:17:41 | × | Gravifer quits (~Gravifer@user/Gravifer) (Ping timeout: 272 seconds) |
| 2025-12-29 14:18:42 | → | ridcully joins (~ridcully@pd951f61e.dip0.t-ipconnect.de) |
| 2025-12-29 14:21:19 | × | Lycurgus quits (~juan@user/Lycurgus) (Quit: alsoknownas.renjuan.org ( juan@acm.org )) |
| 2025-12-29 14:32:40 | × | pavonia quits (~user@user/siracusa) (Quit: Bye!) |
| 2025-12-29 14:33:37 | → | spew joins (~spew@user/spew) |
| 2025-12-29 14:34:16 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2025-12-29 14:39:07 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 246 seconds) |
| 2025-12-29 14:47:18 | × | CiaoSen quits (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) (Ping timeout: 260 seconds) |
| 2025-12-29 14:50:41 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
| 2025-12-29 14:56:41 | → | fp joins (~Thunderbi@2001-14ba-6e24-3000--198.rev.dnainternet.fi) |
| 2025-12-29 15:10:15 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2025-12-29 15:16:35 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds) |
| 2025-12-29 15:19:37 | × | oneeyedalien quits (~oneeyedal@user/oneeyedalien) (Ping timeout: 250 seconds) |
| 2025-12-29 15:39:40 | × | fp quits (~Thunderbi@2001-14ba-6e24-3000--198.rev.dnainternet.fi) (Quit: fp) |
| 2025-12-29 15:44:33 | → | rainbyte joins (~rainbyte@186.22.19.214) |
| 2025-12-29 15:47:37 | → | mmohammadi9812 joins (~mohammad@5.115.171.115) |
| 2025-12-29 16:08:21 | → | wootehfoot joins (~wootehfoo@user/wootehfoot) |
| 2025-12-29 16:11:16 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2025-12-29 16:16:34 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds) |
| 2025-12-29 16:18:16 | × | m_a_r_k quits (~m_a_r_k@archlinux/support/mark) (Remote host closed the connection) |
| 2025-12-29 16:19:03 | → | m_a_r_k joins (~m_a_r_k@archlinux/support/mark) |
| 2025-12-29 16:22:27 | × | mmohammadi9812 quits (~mohammad@5.115.171.115) (Ping timeout: 250 seconds) |
| 2025-12-29 16:26:14 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2025-12-29 16:30:52 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds) |
| 2025-12-29 16:32:39 | → | remexre joins (~remexre@user/remexre) |
| 2025-12-29 16:38:06 | → | humasect joins (~humasect@dyn-192-249-132-90.nexicom.net) |
| 2025-12-29 16:38:33 | × | rekahsoft quits (~rekahsoft@70.51.99.245) (Remote host closed the connection) |
| 2025-12-29 16:42:22 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2025-12-29 16:46:35 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds) |
| 2025-12-29 16:50:29 | → | wennefer0_______ joins (~wennefer0@user/wennefer0) |
| 2025-12-29 16:52:08 | × | wennefer0_______ quits (~wennefer0@user/wennefer0) (Remote host closed the connection) |
| 2025-12-29 16:56:04 | × | Brumaire_ quits (~no@94.140.114.73) (Ping timeout: 265 seconds) |
| 2025-12-29 16:56:22 | → | Brumaire joins (~no@94.140.114.73) |
| 2025-12-29 16:58:22 | → | wennefer0_______ joins (~wennefer0@user/wennefer0) |
| 2025-12-29 16:58:25 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2025-12-29 17:02:55 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds) |
| 2025-12-29 17:09:42 | × | marinelli quits (~weechat@gateway/tor-sasl/marinelli) (Quit: marinelli) |
| 2025-12-29 17:10:07 | → | jmcantrell joins (~weechat@user/jmcantrell) |
| 2025-12-29 17:10:26 | × | humasect quits (~humasect@dyn-192-249-132-90.nexicom.net) (Remote host closed the connection) |
| 2025-12-29 17:10:27 | → | Henson joins (~kvirc@72.138.141.114) |
| 2025-12-29 17:11:33 | × | wennefer0_______ quits (~wennefer0@user/wennefer0) (Remote host closed the connection) |
| 2025-12-29 17:12:15 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2025-12-29 17:12:53 | → | wennefer0____ joins (~wennefer0@user/wennefer0) |
| 2025-12-29 17:14:18 | → | wennefer0_______ joins (~wennefer0@user/wennefer0) |
| 2025-12-29 17:15:38 | × | euphores quits (~SASL_euph@user/euphores) (Quit: Leaving.) |
| 2025-12-29 17:15:59 | × | wennefer0_______ quits (~wennefer0@user/wennefer0) (Client Quit) |
| 2025-12-29 17:16:14 | × | wennefer0____ quits (~wennefer0@user/wennefer0) (Client Quit) |
| 2025-12-29 17:16:39 | → | wennefer0_______ joins (~wennefer0@user/wennefer0) |
| 2025-12-29 17:16:39 | × | mrmonday quits (~robert@what.i.hope.is.not.a.tabernaevagant.es) (Quit: .) |
| 2025-12-29 17:18:03 | → | mrmonday joins (~robert@what.i.hope.is.not.a.tabernaevagant.es) |
| 2025-12-29 17:18:35 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds) |
| 2025-12-29 17:20:25 | × | pera quits (~pera@user/pera) (Quit: leaving) |
| 2025-12-29 17:20:39 | × | wennefer0 quits (~wennefer0@user/wennefer0) (Killed (NickServ (GHOST command used by wennefer0_______))) |
| 2025-12-29 17:21:02 | wennefer0_______ | is now known as wennefer0 |
| 2025-12-29 17:21:56 | → | euphores joins (~SASL_euph@user/euphores) |
| 2025-12-29 17:22:21 | × | wennefer0 quits (~wennefer0@user/wennefer0) (Remote host closed the connection) |
| 2025-12-29 17:23:17 | <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 17:23:47 | <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 17:30:32 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2025-12-29 17:30:56 | × | vulpine quits (xfnw@user/meow/xfnw) (Quit: Connection reset by purr) |
| 2025-12-29 17:31:26 | → | Lycurgus joins (~juan@user/Lycurgus) |
| 2025-12-29 17:35:25 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds) |
| 2025-12-29 17:37:57 | <c_wraith> | it sounds like you have a shared source directory |
| 2025-12-29 17:38:21 | <c_wraith> | Which results in the same modules being found in multiple projects |
| 2025-12-29 17:38:54 | <c_wraith> | To prevent that from happening, at the very least the executable needs to be in a different directory. |
| 2025-12-29 17:49:29 | <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 17:50:20 | <geekosaur> | cabal "does". ghc doesn't; if it sees a possible import reachable, it'll use it itself |
| 2025-12-29 17:50:34 | <geekosaur> | *reachable via the filesystem |
| 2025-12-29 17:51:00 | → | oneeyedalien joins (~oneeyedal@user/oneeyedalien) |
| 2025-12-29 17:51:01 | <geekosaur> | so yes, every component should live in its own source directory to keep ghc from grabbing stuff itself |
| 2025-12-29 17:51:29 | × | oneeyedalien quits (~oneeyedal@user/oneeyedalien) (Client Quit) |
| 2025-12-29 17:51:35 | <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 17:51:43 | <geekosaur> | right |
| 2025-12-29 17:52:04 | <Henson> | ok, that's likely what's going on here. Everything is all in the same source directory. |
| 2025-12-29 17:53:13 | <Henson> | c_wraith, geekosaur: thank you very much for your help! |
| 2025-12-29 17:54:13 | <geekosaur> | this is basically a holdover from `ghc --make` building entire projects directly, before the days of stack and cabal |
| 2025-12-29 17:54:37 | <Henson> | ok, good to know! |
| 2025-12-29 17:59:05 | → | karenw joins (~karenw@user/karenw) |
| 2025-12-29 17:59:39 | <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:00:23 | → | d34db33f joins (~d34db33f@user/d34db33f) |
| 2025-12-29 18:03:19 | → | marinelli joins (~weechat@gateway/tor-sasl/marinelli) |
| 2025-12-29 18:05:48 | <Henson> | geekosaur: ok, I'll keep an eye out for that. |
| 2025-12-29 18:05:59 | <Henson> | thanks a lot for your help, gotta go now |
| 2025-12-29 18:06:03 | × | Henson quits (~kvirc@72.138.141.114) (Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/) |
| 2025-12-29 18:07:24 | × | d34db33f quits (~d34db33f@user/d34db33f) (Read error: Connection reset by peer) |
| 2025-12-29 18:07:57 | → | d34db33f joins (~d34db33f@user/d34db33f) |
| 2025-12-29 18:09:45 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 252 seconds) |
| 2025-12-29 18:13:15 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
All times are in UTC.