Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-03-23 08:41:21 <olligobber> `len("ㅤ ㅤ\x20a".split())'
2021-03-23 08:41:27 Sathiana joins (~kath@185-113-98-38.cust.bredband2.com)
2021-03-23 08:42:18 <loyon> slack1256: yeah exactly, I used to do that too :-)
2021-03-23 08:42:38 <loyon> even did it in haskell at some point, that was more fun than with bash
2021-03-23 08:42:57 <loyon> but it seems `entr` is very flexible, for now working like a charm
2021-03-23 08:43:13 × heatsink quits (~heatsink@2600:1700:bef1:5e10:90f:37ea:5699:98fc) (Remote host closed the connection)
2021-03-23 08:43:50 malumore joins (~malumore@151.62.117.161)
2021-03-23 08:46:09 × minoru_shiraeesh quits (~shiraeesh@46.34.206.238) (Ping timeout: 264 seconds)
2021-03-23 08:46:44 × Axman6 quits (~Axman6@pdpc/supporter/student/Axman6) (Remote host closed the connection)
2021-03-23 08:46:59 Axman6 joins (~Axman6@pdpc/supporter/student/Axman6)
2021-03-23 08:48:29 fendor joins (~fendor@178.165.131.158.wireless.dyn.drei.com)
2021-03-23 08:49:32 minoru_shiraeesh joins (~shiraeesh@46.34.206.238)
2021-03-23 08:50:08 × forgottenone quits (~forgotten@176.42.23.95) (Quit: Konversation terminated!)
2021-03-23 08:50:36 jakalx parts (~jakalx@base.jakalx.net) ("Error from remote client")
2021-03-23 08:51:37 × Sathiana quits (~kath@185-113-98-38.cust.bredband2.com) (Quit: WeeChat 3.1)
2021-03-23 08:51:53 mouseghost joins (~draco@wikipedia/desperek)
2021-03-23 08:52:04 Sathiana joins (~kath@185-113-98-38.cust.bredband2.com)
2021-03-23 08:55:04 × malumore quits (~malumore@151.62.117.161) (Remote host closed the connection)
2021-03-23 08:55:22 malumore joins (~malumore@151.62.117.161)
2021-03-23 08:57:17 acidjnk_new joins (~acidjnk@p200300d0c72b9578819a903e74dd056f.dip0.t-ipconnect.de)
2021-03-23 08:57:53 × Sathiana quits (~kath@185-113-98-38.cust.bredband2.com) (Quit: WeeChat 3.1)
2021-03-23 09:00:09 × meff[m] quits (meffsunado@gateway/shell/matrix.org/x-txsqavrnddjxiriw) (Quit: Idle for 30+ days)
2021-03-23 09:00:19 Sathiana joins (~kath@185-113-98-38.cust.bredband2.com)
2021-03-23 09:00:43 jakalx joins (~jakalx@base.jakalx.net)
2021-03-23 09:02:00 <tomsmeding> olligobber: you have what, exactly?
2021-03-23 09:02:41 <olligobber> tomsmeding, a file that tells you what version you used
2021-03-23 09:03:11 <tomsmeding> ah yes, the CGSE topic I linked has a couple of python submissions as well
2021-03-23 09:03:23 <tomsmeding> note that I believe literally querying the version, if possible, is disallowed
2021-03-23 09:03:26 <tomsmeding> in that question
2021-03-23 09:03:40 <olligobber> but calling len and split on a string should be fine
2021-03-23 09:04:12 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
2021-03-23 09:04:29 ryxai joins (~textual@pool-71-183-41-241.nycmny.fios.verizon.net)
2021-03-23 09:04:34 ddellacosta joins (~ddellacos@86.106.143.180)
2021-03-23 09:05:01 × slack1256 quits (~slack1256@dvc-186-186-101-190.movil.vtr.net) (Remote host closed the connection)
2021-03-23 09:05:47 × drbean quits (~drbean@TC210-63-209-42.static.apol.com.tw) (Quit: ZNC 1.8.2+cygwin2 - https://znc.in)
2021-03-23 09:06:31 × xff0x_ quits (~xff0x@2001:1a81:5390:3000:45a9:729d:b2a5:971c) (Quit: xff0x_)
2021-03-23 09:06:39 xff0x joins (~xff0x@2001:1a81:5390:3000:45a9:729d:b2a5:971c)
2021-03-23 09:07:12 kritzefitz joins (~kritzefit@p548c9398.dip0.t-ipconnect.de)
2021-03-23 09:07:27 × Guest90956 quits (~marienz@37.120.211.188) (Remote host closed the connection)
2021-03-23 09:08:56 × ddellacosta quits (~ddellacos@86.106.143.180) (Ping timeout: 240 seconds)
2021-03-23 09:13:08 gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh)
2021-03-23 09:15:21 × hiroaki quits (~hiroaki@2a02:8108:8c40:2bb8:a175:b70a:c656:5ff4) (Remote host closed the connection)
2021-03-23 09:17:06 hiroaki joins (~hiroaki@2a02:8108:8c40:2bb8:68c9:1c68:98e2:37ad)
2021-03-23 09:17:40 <olligobber> ok, posted my golf there: https://codegolf.stackexchange.com/questions/139243/determine-your-languages-version/221122#221122
2021-03-23 09:17:47 geowiesnot_bis joins (~user@87-89-181-157.abo.bbox.fr)
2021-03-23 09:18:07 Major_Biscuit joins (~Major_Bis@wlan-145-94-219-47.wlan.tudelft.nl)
2021-03-23 09:23:52 jakalx parts (~jakalx@base.jakalx.net) ("Error from remote client")
2021-03-23 09:25:52 Lowl3v3l joins (~Lowl3v3l@dslb-002-207-103-026.002.207.pools.vodafone-ip.de)
2021-03-23 09:26:05 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
2021-03-23 09:28:56 <olligobber> wait I can shave off 4 bytes
2021-03-23 09:29:03 × sh9 quits (~sh9@softbank060116136158.bbtec.net) (Quit: WeeChat 2.8)
2021-03-23 09:32:18 × jneira quits (501e65b6@gateway/web/cgi-irc/kiwiirc.com/ip.80.30.101.182) (Ping timeout: 265 seconds)
2021-03-23 09:33:45 <fendor> if a type implements an additional type class, does that warrant a major version bump?
2021-03-23 09:34:07 <merijn> fendor: If it's not an orphan, I'd say no
2021-03-23 09:34:43 <merijn> fendor: But consult the PVP flowchart? :p
2021-03-23 09:34:47 <merijn> fendor: https://pvp.haskell.org/
2021-03-23 09:35:15 × Unhammer quits (~Unhammer@gateway/tor-sasl/unhammer) (Remote host closed the connection)
2021-03-23 09:35:21 <fendor> merijn, that's a good flowchart, so far I always only read the first page of that site
2021-03-23 09:35:22 <fendor> thanks!
2021-03-23 09:35:48 ddellacosta joins (~ddellacos@86.106.143.154)
2021-03-23 09:36:12 Unhammer joins (~Unhammer@gateway/tor-sasl/unhammer)
2021-03-23 09:37:16 frozenErebus joins (~frozenEre@94.128.81.87)
2021-03-23 09:38:35 × Sathiana quits (~kath@185-113-98-38.cust.bredband2.com) (Quit: WeeChat 3.1)
2021-03-23 09:38:58 Sathiana joins (~kath@185-113-98-38.cust.bredband2.com)
2021-03-23 09:40:50 × ddellacosta quits (~ddellacos@86.106.143.154) (Ping timeout: 264 seconds)
2021-03-23 09:41:55 × hiroaki quits (~hiroaki@2a02:8108:8c40:2bb8:68c9:1c68:98e2:37ad) (Ping timeout: 240 seconds)
2021-03-23 09:42:45 × frozenErebus quits (~frozenEre@94.128.81.87) (Ping timeout: 256 seconds)
2021-03-23 09:43:07 perrier-jouet joins (~perrier-j@modemcable012.251-130-66.mc.videotron.ca)
2021-03-23 09:43:42 heatsink joins (~heatsink@2600:1700:bef1:5e10:b09b:3609:dd4b:42c9)
2021-03-23 09:48:07 × heatsink quits (~heatsink@2600:1700:bef1:5e10:b09b:3609:dd4b:42c9) (Ping timeout: 260 seconds)
2021-03-23 09:50:18 × ryxai quits (~textual@pool-71-183-41-241.nycmny.fios.verizon.net) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-03-23 09:51:40 frankdmartinez joins (~frankdmar@62.182.99.65)
2021-03-23 09:51:54 jakalx joins (~jakalx@base.jakalx.net)
2021-03-23 09:52:13 ubert joins (~Thunderbi@p200300ecdf25d9f2e6b318fffe838f33.dip0.t-ipconnect.de)
2021-03-23 09:53:50 z0k joins (~user@115.186.169.1)
2021-03-23 09:55:16 hiroaki joins (~hiroaki@2a02:8108:8c40:2bb8:2475:6303:62e1:31c1)
2021-03-23 09:55:34 × frankdmartinez quits (~frankdmar@62.182.99.65) (Client Quit)
2021-03-23 09:56:58 × kritzefitz quits (~kritzefit@p548c9398.dip0.t-ipconnect.de) (Ping timeout: 256 seconds)
2021-03-23 09:57:01 Guest38849 is now known as zzz
2021-03-23 09:57:17 kritzefitz joins (~kritzefit@2003:5b:203b:200::10:49)
2021-03-23 09:59:07 × Guest93685 quits (~textual@2603-7000-3040-0000-5567-17e6-5142-189b.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-03-23 09:59:42 <zzz> hello my people. I did "import Primes" at the top of the file and "cabal install primes --lib". I'm getting "could not find module 'Primes'". what am I missing?
2021-03-23 10:00:48 <merijn> zzz: The fact that "cabal install primes" isn't really the way to make packages available to your program/code
2021-03-23 10:01:20 <zzz> where can i educate myself on the true ways of haskell?
2021-03-23 10:01:25 <merijn> zzz: What you'd really wanna do is make a minimal .cabal file and add primes as build-depends in it. You can run "cabal init --interactive" to generate one
2021-03-23 10:01:55 <merijn> zzz: See also: https://cabal.readthedocs.io/en/latest/getting-started.html
2021-03-23 10:02:28 <zzz> much appreciated
2021-03-23 10:04:14 <merijn> zzz: Basically, because global package installs usually turn into a mess of conflicting things on different projects, cabal doesn't have a global notion of "installed", but selectively makes a set of package available to projects, so projects can never conflict (think of it at kinda automatic and dynamic virtualenvs if you're familiar with those)
2021-03-23 10:05:01 × Guest53001 quits (~soulseeke@90.214.167.201) (Read error: Connection reset by peer)
2021-03-23 10:06:07 <zzz> what have i done exactly by running "cabal install package --lib" ?
2021-03-23 10:08:14 <merijn> zzz: I fibbed, because there *is* sort of a global install thing, but it's not really finished/usable yet. So "install --lib" does a kinda half-baked global install, but the usability of *using* it isn't really finished/done :)
2021-03-23 10:09:46 <zzz> understood
2021-03-23 10:12:04 ddellacosta joins (~ddellacos@86.106.143.89)
2021-03-23 10:14:45 <merijn> zzz: For a quick way to get a ghci session with a package you can also do "cabal repl --build-depends=primes" to get a ghci with that packages available
2021-03-23 10:15:16 <merijn> But in general you'll want to use a .cabal file for non-trivial packages/code anyway
2021-03-23 10:15:28 × apeyroux quits (~alex@78.20.138.88.rev.sfr.net) (Ping timeout: 245 seconds)
2021-03-23 10:16:45 × ddellacosta quits (~ddellacos@86.106.143.89) (Ping timeout: 264 seconds)
2021-03-23 10:17:14 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Remote host closed the connection)
2021-03-23 10:18:30 ukari joins (~ukari@unaffiliated/ukari)
2021-03-23 10:20:32 Stanley00 joins (~stanley00@unaffiliated/stanley00)

All times are in UTC.