Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-05-07 16:44:09 <sm[m]> hello patu5! https://haskell.org will explain.
2021-05-07 16:44:17 gitgood joins (~gitgood@80-44-12-75.dynamic.dsl.as9105.com)
2021-05-07 16:45:38 proofofkeags_ joins (~proofofke@205.209.24.233)
2021-05-07 16:45:53 <seven_three> int-e: oh so I can just make the new module redefine the function, and export the new function along with the original library hiding the original function?
2021-05-07 16:47:22 <int-e> seven_three: Yes.
2021-05-07 16:47:37 <seven_three> ok that is a perfect solution thanks.
2021-05-07 16:47:57 × proofofkeags quits (~proofofke@205.209.28.54) (Ping timeout: 246 seconds)
2021-05-07 16:48:17 × landonf quits (landonf@mac68k.info) (Excess Flood)
2021-05-07 16:48:46 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-05-07 16:49:16 landonf joins (landonf@mac68k.info)
2021-05-07 16:50:38 nicholasbulka joins (~nicholasb@2601:900:4301:da0:9024:a632:8b7c:f290)
2021-05-07 16:51:06 × royal_screwup213 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed)
2021-05-07 16:51:27 royal_screwup213 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-05-07 16:52:58 ft joins (~ft@shell.chaostreff-dortmund.de)
2021-05-07 16:53:42 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-05-07 16:54:02 shad0w_ joins (~shad0w_@160.202.37.181)
2021-05-07 16:54:09 <shad0w_> Hi
2021-05-07 16:55:02 × zebrag quits (~inkbottle@aaubervilliers-654-1-99-167.w86-212.abo.wanadoo.fr) (Quit: Konversation terminated!)
2021-05-07 16:55:20 zebrag joins (~inkbottle@aaubervilliers-654-1-99-167.w86-212.abo.wanadoo.fr)
2021-05-07 16:57:38 <seven_three> Is it possible to hide functions when exporting another module? I basically want to say this: http://dpaste.com/DVSBQV3BB
2021-05-07 16:59:13 × Guest18158 quits (~joseph@2603-7000-7607-112b-351c-7687-8787-1bee.res6.spectrum.com) (Ping timeout: 250 seconds)
2021-05-07 16:59:49 × gitgood quits (~gitgood@80-44-12-75.dynamic.dsl.as9105.com) (Quit: Probably away to do something really awesome)
2021-05-07 17:00:50 × geekosaur quits (930099da@rrcs-147-0-153-218.central.biz.rr.com) (Quit: Connection closed)
2021-05-07 17:01:01 × Feuermagier quits (~Feuermagi@2a02:2488:4211:3400:7285:c2ff:fe22:172e) (Remote host closed the connection)
2021-05-07 17:01:15 geekosaur joins (930099da@rrcs-147-0-153-218.central.biz.rr.com)
2021-05-07 17:03:32 × stree quits (~stree@68.36.8.116) (Ping timeout: 240 seconds)
2021-05-07 17:03:51 × frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 268 seconds)
2021-05-07 17:06:09 <monochrom> Are you OK with: at the time of importing Other.FooBar you already do the hiding.
2021-05-07 17:06:13 Sheilong joins (uid293653@gateway/web/irccloud.com/x-pcfseicosyfeggbs)
2021-05-07 17:06:52 <seven_three> yes that is fine
2021-05-07 17:07:40 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
2021-05-07 17:08:08 frozenErebus joins (~frozenEre@37.231.244.249)
2021-05-07 17:08:21 <monochrom> In general, see my http://www.vex.net/~trebla/haskell/module.xhtml#re-export for what "module" really means. (It has nothing to do with modules.)
2021-05-07 17:08:54 <seven_three> alright I will read this now
2021-05-07 17:09:33 nineonine joins (~nineonine@S0106a0ff7073d5d5.vf.shawcable.net)
2021-05-07 17:09:35 × nineonine quits (~nineonine@S0106a0ff7073d5d5.vf.shawcable.net) (Remote host closed the connection)
2021-05-07 17:10:10 nineonine joins (~nineonine@2604:3d08:7783:f200:5c3d:ae41:1644:7ac)
2021-05-07 17:11:15 Deide joins (~Deide@217.155.19.23)
2021-05-07 17:11:44 <monochrom> Hrm, I should improve the opening section "Terminology" to also explain why I say "long names" not "qualified names".
2021-05-07 17:13:12 jakalx joins (~jakalx@base.jakalx.net)
2021-05-07 17:13:44 × patu5 quits (~u0_a179@154.228.149.197) (Quit: Lost terminal)
2021-05-07 17:14:10 proofofkeags__ joins (~proofofke@205.209.28.54)
2021-05-07 17:15:08 × shad0w_ quits (~shad0w_@160.202.37.181) (Quit: RAGE-QUIT)
2021-05-07 17:15:23 × nineonine quits (~nineonine@2604:3d08:7783:f200:5c3d:ae41:1644:7ac) (Ping timeout: 258 seconds)
2021-05-07 17:16:26 × proofofkeags_ quits (~proofofke@205.209.24.233) (Ping timeout: 240 seconds)
2021-05-07 17:17:16 stree joins (~stree@68.36.8.116)
2021-05-07 17:18:32 × frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 265 seconds)
2021-05-07 17:21:40 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2021-05-07 17:22:08 jgt_ joins (~jgt@92-247-237-116.spectrumnet.bg)
2021-05-07 17:24:19 knupfer joins (~Thunderbi@200116b82b638900b876a868553c62e5.dip.versatel-1u1.de)
2021-05-07 17:26:36 coot joins (~coot@37.30.58.122.nat.umts.dynamic.t-mobile.pl)
2021-05-07 17:32:41 <seven_three> monochrom: I now understand how this works thanks.
2021-05-07 17:33:04 <monochrom> :)
2021-05-07 17:33:18 × tromp quits (~tromp@dhcp-077-249-230-040.chello.nl) (Remote host closed the connection)
2021-05-07 17:44:08 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-05-07 17:44:11 × xff0x quits (~xff0x@2001:1a81:52b7:3500:20e6:b70c:2300:26bf) (Ping timeout: 260 seconds)
2021-05-07 17:44:43 shad0w_ joins (a0ca25b5@160.202.37.181)
2021-05-07 17:45:05 shad0w_ is now known as sphiz
2021-05-07 17:45:15 xff0x joins (~xff0x@2001:1a81:52b7:3500:20e6:b70c:2300:26bf)
2021-05-07 17:45:22 chimera joins (~chimera@168-182-134-95.pool.ukrtel.net)
2021-05-07 17:45:26 sphiz is now known as sphy
2021-05-07 17:46:46 sphy is now known as sphi
2021-05-07 17:47:24 nineonine joins (~nineonine@2604:3d08:7783:f200:5c3d:ae41:1644:7ac)
2021-05-07 17:47:25 × nineonine quits (~nineonine@2604:3d08:7783:f200:5c3d:ae41:1644:7ac) (Read error: Connection reset by peer)
2021-05-07 17:48:02 nineonine joins (~nineonine@2604:3d08:7783:f200:5c3d:ae41:1644:7ac)
2021-05-07 17:48:12 sphi86 joins (a0ca25b5@160.202.37.181)
2021-05-07 17:48:23 × sphi86 quits (a0ca25b5@160.202.37.181) (Client Quit)
2021-05-07 17:48:54 × sphi quits (a0ca25b5@160.202.37.181) (Client Quit)
2021-05-07 17:49:12 frozenErebus joins (~frozenEre@37.231.244.249)
2021-05-07 17:50:06 × nut quits (~nut@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 268 seconds)
2021-05-07 17:52:49 <tomsmeding> TIL full-module re-exports only export names that are also available unqualified
2021-05-07 17:52:54 × nineonine quits (~nineonine@2604:3d08:7783:f200:5c3d:ae41:1644:7ac) (Ping timeout: 245 seconds)
2021-05-07 17:53:10 <tomsmeding> I guess I haven't used full-module re-exports enough to notice that, which I guess is a good thing?
2021-05-07 17:53:18 <monochrom> >:)
2021-05-07 17:53:35 nut joins (~nut@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
2021-05-07 17:53:53 sszark joins (~sszark@h-213-180.A392.priv.bahnhof.se)
2021-05-07 17:54:06 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds)
2021-05-07 17:54:52 seven_three parts (~user@pool-96-252-123-136.bstnma.fios.verizon.net) ("ERC (IRC client for Emacs 27.2)")
2021-05-07 17:54:54 xcmw joins (~textual@dyn-72-33-2-152.uwnet.wisc.edu)
2021-05-07 17:55:02 × zebrag quits (~inkbottle@aaubervilliers-654-1-99-167.w86-212.abo.wanadoo.fr) (Quit: Konversation terminated!)
2021-05-07 17:55:21 zebrag joins (~inkbottle@aaubervilliers-654-1-99-167.w86-212.abo.wanadoo.fr)
2021-05-07 17:56:10 <chisui> tomsmeding: I may be late to the party but where is the confusion about exported names?
2021-05-07 17:56:21 sphi38 joins (a0ca25b5@160.202.37.181)
2021-05-07 17:56:23 <sszark> Are there any built in ways to read comments at runtime? Similar to other languages like Rust, which has access to doc comments.
2021-05-07 17:56:34 <tomsmeding> chisui: I just read monochrom's blog post and found out a thing I didn't know yet :p
2021-05-07 17:56:36 eacameron joins (uid256985@gateway/web/irccloud.com/x-robbxgykzcgtbyzs)
2021-05-07 17:56:46 <maerwald> "comments at runtime"?
2021-05-07 17:57:23 <monochrom> chisui, when you write "module E(module I)" and the meaning of "module I" is not what you think.
2021-05-07 17:57:24 tomsmeding is doubtful you can access rust doc comments at runtime
2021-05-07 17:57:37 <maerwald> tomsmeding: I'm trying to imagine how that would look like
2021-05-07 17:57:39 tomsmeding is sure that python does do that, however
2021-05-07 17:57:45 × sphi38 quits (a0ca25b5@160.202.37.181) (Client Quit)
2021-05-07 17:57:55 <sszark> Essentially i would like to print a comment. But i wasn't able to find any information about this. So i'm guessing you can't do it.
2021-05-07 17:57:56 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:9024:a632:8b7c:f290) (Remote host closed the connection)
2021-05-07 17:57:59 <sszark> Also i meant at compile time, my bad.
2021-05-07 17:58:03 <tomsmeding> lol
2021-05-07 17:58:18 <tomsmeding> haskell has doc comments for generating documentation from
2021-05-07 17:58:23 sphi joins (a0ca25b5@160.202.37.181)
2021-05-07 17:58:29 <maerwald> like, you run the binary and all comments that are along the callstack will be shown?
2021-05-07 17:58:36 <tomsmeding> what do you want to do with the text exactly?

All times are in UTC.