Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-04-09 09:39:34 stevekrouse1[m] joins (stevekrous@gateway/shell/matrix.org/x-yfciaffvblomhpni)
2021-04-09 09:39:34 MahmoudMAZOUZ[m] joins (mazouzmaen@gateway/shell/matrix.org/x-ghntwnvrtvpfbsqm)
2021-04-09 09:39:34 Haskman[m] joins (haskmanmat@gateway/shell/matrix.org/x-qodhnpaatgaxkddj)
2021-04-09 09:39:35 chrisbloecker[m] joins (chrisbloec@gateway/shell/matrix.org/x-lgtlnzhqkxeunsed)
2021-04-09 09:39:35 amerocu[m] joins (amerocumat@gateway/shell/matrix.org/x-akxojggvelptdtyj)
2021-04-09 09:39:36 alar[m] joins (alarmxalat@gateway/shell/matrix.org/x-clezazqvvhbwarkc)
2021-04-09 09:39:36 Cesionaut[m] joins (cesionautm@gateway/shell/matrix.org/x-zgyzfrxcyyaarkdv)
2021-04-09 09:39:37 ManofLetters[m] joins (manoflette@gateway/shell/matrix.org/x-bhsmqzkumzppvnax)
2021-04-09 09:39:37 enya[m] joins (enyaismatr@gateway/shell/matrix.org/x-uvhkwreitvzoiznj)
2021-04-09 09:39:38 viktorstrate[m] joins (viktorstra@gateway/shell/matrix.org/x-hmlndirbgscxehuy)
2021-04-09 09:39:39 fox[m]1 joins (foxforestf@gateway/shell/matrix.org/x-gohjwymesqexxyxc)
2021-04-09 09:40:08 ixlun joins (~matthew@213.205.241.25)
2021-04-09 09:42:48 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2021-04-09 09:43:09 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-04-09 09:43:38 DavidEichmann joins (~david@47.27.93.209.dyn.plus.net)
2021-04-09 09:45:09 × brkscnce_ quits (~obaum@37.120.59.241) (Ping timeout: 246 seconds)
2021-04-09 09:46:23 × xourt quits (d4c620ea@212-198-32-234.rev.numericable.fr) (Ping timeout: 240 seconds)
2021-04-09 09:50:31 shailangsa joins (~shailangs@host86-185-98-61.range86-185.btcentralplus.com)
2021-04-09 09:51:03 Mrbuck joins (~Mrbuck@gateway/tor-sasl/mrbuck)
2021-04-09 09:54:26 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-04-09 09:55:09 coot joins (~coot@37.30.50.130.nat.umts.dynamic.t-mobile.pl)
2021-04-09 09:55:17 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-09 09:59:51 Benzi-Junior joins (~BenziJuni@88-149-64-251.du.xdsl.is)
2021-04-09 10:00:26 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-04-09 10:01:02 × dariof4 quits (~dario@5.77.75.87) (Quit: WeeChat 3.1)
2021-04-09 10:01:05 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-09 10:04:16 × malumore quits (~malumore@151.62.122.180) (Ping timeout: 260 seconds)
2021-04-09 10:06:21 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
2021-04-09 10:06:28 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-09 10:07:52 HannaM joins (~quassel@p54849510.dip0.t-ipconnect.de)
2021-04-09 10:08:59 frozenErebus joins (~frozenEre@37.231.244.249)
2021-04-09 10:09:25 × kilolympus quits (~kilolympu@5.151.5.178) (Quit: Quitting IRC :()
2021-04-09 10:11:46 xourt joins (d4c620ea@212-198-32-234.rev.numericable.fr)
2021-04-09 10:13:23 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2021-04-09 10:13:49 × andi- quits (~andi-@NixOS/user/andi-) (Ping timeout: 246 seconds)
2021-04-09 10:14:10 × xintron quits (~xintron@unaffiliated/xintron) (Quit: aoeu)
2021-04-09 10:14:45 xintron joins (~xintron@unaffiliated/xintron)
2021-04-09 10:15:29 × xourt quits (d4c620ea@212-198-32-234.rev.numericable.fr) (Client Quit)
2021-04-09 10:16:26 × stree quits (~stree@68.36.8.116) (Ping timeout: 265 seconds)
2021-04-09 10:17:21 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
2021-04-09 10:17:47 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-09 10:22:25 andi- joins (~andi-@NixOS/user/andi-)
2021-04-09 10:22:26 malumore joins (~malumore@151.62.122.180)
2021-04-09 10:23:08 × malumore quits (~malumore@151.62.122.180) (Remote host closed the connection)
2021-04-09 10:23:31 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
2021-04-09 10:23:40 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-09 10:23:43 malumore joins (~malumore@151.62.122.180)
2021-04-09 10:24:41 × Pickchea quits (~private@unaffiliated/pickchea) (Ping timeout: 240 seconds)
2021-04-09 10:28:46 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-04-09 10:29:11 stree joins (~stree@68.36.8.116)
2021-04-09 10:29:22 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-09 10:30:15 kristijonas joins (~kristijon@78-56-32-39.static.zebra.lt)
2021-04-09 10:31:59 vilpan joins (~0@212.117.1.172)
2021-04-09 10:34:18 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-04-09 10:34:52 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-09 10:35:11 × LKoen quits (~LKoen@65.250.88.92.rev.sfr.net) (Remote host closed the connection)
2021-04-09 10:35:57 × finn_elija quits (~finn_elij@gateway/tor-sasl/finnelija/x-67402716) (Ping timeout: 240 seconds)
2021-04-09 10:37:58 × todda7 quits (~torstein@athedsl-09242.home.otenet.gr) (Ping timeout: 240 seconds)
2021-04-09 10:38:15 finn_elija joins (~finn_elij@gateway/tor-sasl/finnelija/x-67402716)
2021-04-09 10:38:16 kilolympus joins (~kilolympu@5.151.5.177)
2021-04-09 10:39:42 × ixlun quits (~matthew@213.205.241.25) (Ping timeout: 240 seconds)
2021-04-09 10:40:00 juri__ is now known as juri_
2021-04-09 10:40:36 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)
2021-04-09 10:40:59 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-09 10:43:26 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-04-09 10:43:44 zebrag joins (~inkbottle@aaubervilliers-654-1-2-51.w83-200.abo.wanadoo.fr)
2021-04-09 10:46:19 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
2021-04-09 10:47:02 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-09 10:47:03 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 252 seconds)
2021-04-09 10:47:47 ClaudiusMaximus joins (~claude@cpc98210-croy26-2-0-cust137.19-2.cable.virginm.net)
2021-04-09 10:47:48 × ClaudiusMaximus quits (~claude@cpc98210-croy26-2-0-cust137.19-2.cable.virginm.net) (Changing host)
2021-04-09 10:47:48 ClaudiusMaximus joins (~claude@unaffiliated/claudiusmaximus)
2021-04-09 10:48:20 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds)
2021-04-09 10:51:29 usr25 joins (~usr25@unaffiliated/usr25)
2021-04-09 10:55:38 × minoru_shiraeesh quits (~shiraeesh@5.101.59.91) (Ping timeout: 240 seconds)
2021-04-09 10:58:13 Martinsos joins (~user@cpe-188-129-39-153.dynamic.amis.hr)
2021-04-09 10:59:49 Guest182 joins (~laudiacay@67.176.215.84)
2021-04-09 11:00:02 <Martinsos> I have Stack project that has a library and an executable. Executable depends on a library. I have module FooBar in both library and executable. In some part of executable, I want to access both FooBar module from a library and FooBar module from the executable -> how can I go about that? Is that possible? Should I avoid having modules with same name in executable and library? If so, how -> do you prefix all modules from executable with
2021-04-09 11:00:02 <Martinsos> something?
2021-04-09 11:01:04 <Martinsos> Btw I tried accessing both, but it doesn't work, it behaves as if it sees only FooBar from the library.
2021-04-09 11:01:15 <merijn> Martinsos: The solution is "don't do that"
2021-04-09 11:01:46 <merijn> You should, indeed, avoid having the same module names. Not just in library and executable, but in general.
2021-04-09 11:02:16 <Martinsos> Thanks -> is there a recommended approach to this?
2021-04-09 11:02:32 <merijn> Presumably the modules are related if they have the same name? If so, how are they related?
2021-04-09 11:02:59 <Martinsos> Well in this case it is module named "Paths" where I store some common paths used int he rest of the code
2021-04-09 11:03:07 <Martinsos> and I have it both in library and in executable
2021-04-09 11:03:41 <Martinsos> I can get imaginative and figure out some other name if needed, but it sounds hackish
2021-04-09 11:03:55 <Martinsos> maybe I should give a name to executable and put all the modules in executable inside that module?
2021-04-09 11:04:05 <Martinsos> so, MyExec.Paths instead of just Paths?
2021-04-09 11:04:06 × Guest182 quits (~laudiacay@67.176.215.84) (Ping timeout: 240 seconds)
2021-04-09 11:04:15 <merijn> Are these paths related to stuff included in your package?
2021-04-09 11:05:06 <Martinsos> Hmmmm @merijn I am not sure what do you mean by that? I have package which has librrary and it has executable. Both library and executable define some paths of their own, and in both I used module named Paths for that.
2021-04-09 11:05:18 <Martinsos> and at some point I want to use Paths from library in the executable
2021-04-09 11:05:35 <Martinsos> but I also want to usee Paths from executable in the executable
2021-04-09 11:05:37 <merijn> Yeah, I meant "which paths?"
2021-04-09 11:05:55 <Martinsos> aha, well it is domain logic, hard to explain now
2021-04-09 11:06:14 <merijn> Because Cabal has support for package related paths via auto-generated modules
2021-04-09 11:06:20 <Martinsos> nono, no those paths
2021-04-09 11:06:29 <Martinsos> I know about that, this is not it, this is my own concept of paths
2021-04-09 11:07:01 <Martinsos> it doesn't have to be paths, it could be anything else really, I am sure there is a possibility that you have two same concepts both in library and in cli? Maybe Utils or something?

All times are in UTC.