Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→
Page 1 .. 375 376 377 378 379 380 381 382 383 384 385 .. 5022
502,152 events total
2020-10-02 20:21:23 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 240 seconds)
2020-10-02 20:21:23 <ezzieyguywuf> cohn: when you don't use the 'qualified' keyword, thet `B.SomeFooFunc` and `SomeFooFunc` are both valid.
2020-10-02 20:21:39 rprije joins (~rprije@203.214.95.251)
2020-10-02 20:21:44 <ezzieyguywuf> yea what dolio said.
2020-10-02 20:21:49 borne joins (~fritjof@200116b86454500007933c164a08810c.dip.versatel-1u1.de)
2020-10-02 20:22:00 <[exa]> cohn: 'qualified' is mainly for preventing name ambiguity in the "unprefixed" globally available names
2020-10-02 20:23:27 <[exa]> .....btw why is it called 'qualified'?
2020-10-02 20:25:00 <ezzieyguywuf> b/c it forces you to 'qualify' any functions from the imported module that you wish to use with a prefix, I imagine
2020-10-02 20:25:13 × MaoZeDong_ quits (~sweety@176.59.33.165) (Ping timeout: 246 seconds)
2020-10-02 20:25:44 <ezzieyguywuf> `import Foo; import Bar; someFuncInBothFooAndBar` ghc won't know which to use, so it'll ask you to "qualify" the function name with a prefix (in this case the module name)
2020-10-02 20:26:10 <cohn> ok, thanks everybody.
2020-10-02 20:26:54 <cohn> coming from python, where qualifying an import is just "import foo as bar", the difference was confusing
2020-10-02 20:27:10 jle` joins (~mstksg@cpe-23-240-75-236.socal.res.rr.com)
2020-10-02 20:27:10 × jle` quits (~mstksg@cpe-23-240-75-236.socal.res.rr.com) (Changing host)
2020-10-02 20:27:10 jle` joins (~mstksg@unaffiliated/mstksg)
2020-10-02 20:28:15 <ezzieyguywuf> cohn: it's similar, just adds an extra layer of tunability in haskell
2020-10-02 20:28:46 <ezzieyguywuf> i.e. to accomplish `import Foo as Bar` in python you'd need two lines, `import Foo; import Foo as Bar`
2020-10-02 20:28:47 MaoZeDong_ joins (~sweety@176.59.33.165)
2020-10-02 20:29:00 × MaoZeDong_ quits (~sweety@176.59.33.165) (Remote host closed the connection)
2020-10-02 20:29:44 DTZUZU_ is now known as DTZUZU
2020-10-02 20:29:48 MaoZeDong_ joins (~sweety@176.59.33.165)
2020-10-02 20:31:03 × Franciman quits (~francesco@host-212-171-42-250.retail.telecomitalia.it) (Quit: Leaving)
2020-10-02 20:32:11 Franciman joins (~francesco@host-212-171-42-250.retail.telecomitalia.it)
2020-10-02 20:32:52 <ezzieyguywuf> hrm, maybe pipes-csv
2020-10-02 20:33:08 × jle` quits (~mstksg@unaffiliated/mstksg) (Ping timeout: 256 seconds)
2020-10-02 20:33:28 × elliott_ quits (~elliott_@pool-100-36-54-163.washdc.fios.verizon.net) (Ping timeout: 260 seconds)
2020-10-02 20:34:12 vicfred joins (~vicfred@unaffiliated/vicfred)
2020-10-02 20:35:14 <cohn> ezzieyguywuf: true, but I was only curious about qualifying an import. So, seems like I need to use the "qualified" keyword so I don't potentially step on similar-named functions
2020-10-02 20:36:09 <cohn> so for Python's "import foo.bar as b" I need to do "import qualified Foo.Bar as B" in Haskell
2020-10-02 20:36:36 <ezzieyguywuf> cohn: yea, I use qualified pretty much every time
2020-10-02 20:36:42 × MaoZeDong_ quits (~sweety@176.59.33.165) (Read error: Connection reset by peer)
2020-10-02 20:36:49 sweety_ joins (~sweety@176.59.33.165)
2020-10-02 20:36:58 <ezzieyguywuf> correction: I use qualified every time I import a whole module.
2020-10-02 20:37:14 <ezzieyguywuf> cohn: usually I just import exactly what I need, i.e. `import Foo(Bar, Baz)`
2020-10-02 20:37:31 <cohn> exactly
2020-10-02 20:37:57 <ezzieyguywuf> cohn: but this is unqualified, so I use Bar and Baz "bare". I prefer this, though, as it keeps my namespace uncluttered
2020-10-02 20:39:19 <cohn> yea. The hlint utility definitely helps in that regard!
2020-10-02 20:39:57 shatriff joins (~vitaliish@188.163.30.117)
2020-10-02 20:41:11 agrif is now known as agrim
2020-10-02 20:42:13 × DirefulSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Remote host closed the connection)
2020-10-02 20:42:15 × sweety_ quits (~sweety@176.59.33.165) (Read error: Connection reset by peer)
2020-10-02 20:42:38 Sigyn is now known as feralSigyn
2020-10-02 20:42:51 sweety_ joins (~sweety@176.59.33.165)
2020-10-02 20:43:14 thir joins (~thir@p200300f27f0fc60004d129737887aa72.dip0.t-ipconnect.de)
2020-10-02 20:43:35 × sweety_ quits (~sweety@176.59.33.165) (Remote host closed the connection)
2020-10-02 20:44:24 sweety_ joins (~sweety@176.59.33.165)
2020-10-02 20:44:25 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
2020-10-02 20:45:01 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 256 seconds)
2020-10-02 20:45:02 × sweety_ quits (~sweety@176.59.33.165) (Remote host closed the connection)
2020-10-02 20:47:27 × thir quits (~thir@p200300f27f0fc60004d129737887aa72.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
2020-10-02 20:50:04 × nbloomf quits (~nbloomf@2600:1700:83e0:1f40:41ee:e0ba:d692:129) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2020-10-02 20:50:08 × shatriff quits (~vitaliish@188.163.30.117) (Remote host closed the connection)
2020-10-02 20:51:23 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Ping timeout: 240 seconds)
2020-10-02 20:51:44 × chele quits (~chele@ip5b416ea2.dynamic.kabel-deutschland.de) (Remote host closed the connection)
2020-10-02 20:52:54 falafel joins (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798)
2020-10-02 20:53:59 niko is now known as Citrouille
2020-10-02 20:56:05 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2020-10-02 20:57:08 taurux joins (~taurux@net-93-144-28-140.cust.vodafonedsl.it)
2020-10-02 20:57:54 × Franciman quits (~francesco@host-212-171-42-250.retail.telecomitalia.it) (Quit: Leaving)
2020-10-02 20:58:45 × frdg quits (47b88ff9@pool-71-184-143-249.bstnma.fios.verizon.net) (Remote host closed the connection)
2020-10-02 21:00:02 × ThunderChicken1 quits (~ThunderCh@185.244.214.216) ()
2020-10-02 21:00:20 jle` joins (~mstksg@cpe-23-240-75-236.socal.res.rr.com)
2020-10-02 21:00:20 × jle` quits (~mstksg@cpe-23-240-75-236.socal.res.rr.com) (Changing host)
2020-10-02 21:00:20 jle` joins (~mstksg@unaffiliated/mstksg)
2020-10-02 21:00:25 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds)
2020-10-02 21:00:55 jb55 joins (~jb55@gateway/tor-sasl/jb55)
2020-10-02 21:02:57 madjestic joins (~madjestic@86-88-72-244.fixed.kpn.net)
2020-10-02 21:04:12 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-10-02 21:05:23 × jle` quits (~mstksg@unaffiliated/mstksg) (Ping timeout: 240 seconds)
2020-10-02 21:13:02 GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be)
2020-10-02 21:13:02 × GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host)
2020-10-02 21:13:02 GyroW joins (~GyroW@unaffiliated/gyrow)
2020-10-02 21:13:10 × GyroW_ quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 246 seconds)
2020-10-02 21:13:26 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2020-10-02 21:14:32 × falafel quits (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798) (Remote host closed the connection)
2020-10-02 21:15:57 falafel joins (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798)
2020-10-02 21:16:00 × ggole quits (~ggole@2001:8003:8119:7200:8514:d230:fa70:c54c) (Quit: Leaving)
2020-10-02 21:16:14 × chaosmasttter quits (~chaosmast@p200300c4a711ea011d677dd0bd985d37.dip0.t-ipconnect.de) (Quit: WeeChat 2.9)
2020-10-02 21:18:37 × __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving)
2020-10-02 21:20:15 × falafel quits (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798) (Read error: Connection reset by peer)
2020-10-02 21:20:38 falafel joins (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798)
2020-10-02 21:27:32 × falafel quits (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798) (Remote host closed the connection)
2020-10-02 21:28:41 falafel joins (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798)
2020-10-02 21:28:42 × mirrorbird quits (~psutcliff@2a00:801:42a:82eb:6edc:4c78:a574:2a8f) (Quit: Leaving)
2020-10-02 21:29:25 × taurux quits (~taurux@net-93-144-28-140.cust.vodafonedsl.it) (Ping timeout: 240 seconds)
2020-10-02 21:29:50 haasn` is now known as haasn
2020-10-02 21:29:52 taurux joins (~taurux@net-188-216-115-169.cust.vodafonedsl.it)
2020-10-02 21:30:33 × danvet_ quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 272 seconds)
2020-10-02 21:31:16 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-10-02 21:32:02 × falafel quits (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798) (Remote host closed the connection)
2020-10-02 21:32:05 jle` joins (~mstksg@cpe-23-240-75-236.socal.res.rr.com)
2020-10-02 21:32:05 × jle` quits (~mstksg@cpe-23-240-75-236.socal.res.rr.com) (Changing host)
2020-10-02 21:32:05 jle` joins (~mstksg@unaffiliated/mstksg)
2020-10-02 21:32:46 alp joins (~alp@2a01:e0a:58b:4920:348b:a0fc:3b69:4893)
2020-10-02 21:35:48 mahene joins (~mahene@2a02:8109:86c0:8d68:5400:2bfd:d746:732c)
2020-10-02 21:35:55 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds)
2020-10-02 21:37:30 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-10-02 21:38:05 × jle` quits (~mstksg@unaffiliated/mstksg) (Ping timeout: 240 seconds)
2020-10-02 21:38:55 falafel joins (~falafel@cpe-104-172-194-249.socal.res.rr.com)
2020-10-02 21:42:04 elliott_ joins (~elliott_@pool-71-127-56-236.washdc.fios.verizon.net)

All times are in UTC.