Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→
Page 1 .. 733 734 735 736 737 738 739 740 741 742 743 .. 5022
502,152 events total
2020-10-19 14:22:15 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
2020-10-19 14:23:08 conal_ joins (~conal@66.115.176.210)
2020-10-19 14:23:51 ericsagnes joins (~ericsagne@2405:6580:0:5100:2827:63d8:269e:cab4)
2020-10-19 14:24:03 × puffnfresh quits (~puffnfres@180-150-38-83.b49626.bne.nbn.aussiebb.net) (Ping timeout: 258 seconds)
2020-10-19 14:24:40 nados joins (~dan@69-165-210-185.cable.teksavvy.com)
2020-10-19 14:24:59 × conal quits (~conal@64.71.133.70) (Ping timeout: 260 seconds)
2020-10-19 14:25:35 × kritzefitz quits (~kritzefit@2003:5b:203b:200::10:49) (Remote host closed the connection)
2020-10-19 14:25:53 × Lord_of_Life quits (~Lord@46.217.196.111) (Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine)
2020-10-19 14:27:08 Saukk joins (~Saukk@2001:998:f9:2914:1c59:9bb5:b94c:4)
2020-10-19 14:27:13 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-10-19 14:28:22 ap5 parts (~ap5@85.184.161.18) ("kthxbye")
2020-10-19 14:31:25 × dyeplexer quits (~lol@unaffiliated/terpin) (Ping timeout: 240 seconds)
2020-10-19 14:31:48 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
2020-10-19 14:31:49 emmanuel_erc joins (~user@2604:2000:1382:ce03:94e9:f71a:61cb:48a4)
2020-10-19 14:34:41 mirrorbird joins (~psutcliff@2a00:801:42b:7891:16b1:e53f:55b2:15e1)
2020-10-19 14:35:57 × alp quits (~alp@2a01:e0a:58b:4920:fc13:1084:2958:78e2) (Ping timeout: 272 seconds)
2020-10-19 14:38:24 Lord_of_Life joins (~Lord@46.217.196.111)
2020-10-19 14:39:00 irc_user joins (uid423822@gateway/web/irccloud.com/x-eatidcztrwplllyi)
2020-10-19 14:39:09 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
2020-10-19 14:40:28 × Lord_of_Life quits (~Lord@46.217.196.111) (Client Quit)
2020-10-19 14:41:53 Lord_of_Life joins (~Lord@46.217.196.111)
2020-10-19 14:41:54 × Lord_of_Life quits (~Lord@46.217.196.111) (Changing host)
2020-10-19 14:41:54 Lord_of_Life joins (~Lord@unaffiliated/lord-of-life/x-0885362)
2020-10-19 14:42:08 × karanlikmadde quits (~karanlikm@2a01:c22:a46a:b400:3c0d:995b:be0c:192) (Quit: karanlikmadde)
2020-10-19 14:46:35 × jonathanx quits (~jonathan@dyn-8-sc.cdg.chalmers.se) (Remote host closed the connection)
2020-10-19 14:47:23 texasmynsted joins (~texasmyns@104.140.53.131)
2020-10-19 14:48:06 × invaser quits (~Thunderbi@31.148.23.125) (Ping timeout: 272 seconds)
2020-10-19 14:48:06 karanlikmadde joins (~karanlikm@2a01:c22:a46a:b400:3c0d:995b:be0c:192)
2020-10-19 14:53:17 christo joins (~chris@81.96.113.213)
2020-10-19 14:56:39 hnOsmium0001 joins (uid453710@gateway/web/irccloud.com/x-chlrdvhuygbnoesm)
2020-10-19 14:57:21 × conal_ quits (~conal@66.115.176.210) (Quit: Computer has gone to sleep.)
2020-10-19 14:57:40 × christo quits (~chris@81.96.113.213) (Ping timeout: 256 seconds)
2020-10-19 14:57:54 conal joins (~conal@66.115.176.210)
2020-10-19 14:58:28 × conal quits (~conal@66.115.176.210) (Client Quit)
2020-10-19 15:00:02 × espadrine quits (~espadrine@195.140.213.38) ()
2020-10-19 15:00:25 geowiesnot joins (~user@87-89-181-157.abo.bbox.fr)
2020-10-19 15:01:27 hackage pvar 1.0.0.0 - Mutable variable with primitive values https://hackage.haskell.org/package/pvar-1.0.0.0 (lehins)
2020-10-19 15:01:54 knupfer joins (~Thunderbi@i59F7FF86.versanet.de)
2020-10-19 15:02:12 conal joins (~conal@66.115.176.210)
2020-10-19 15:03:27 × coeus quits (~coeus@p200300d02724ef00d20f0ecf5ac74df4.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
2020-10-19 15:07:16 × da39a3ee5e6b4b0d quits (~textual@n11211935170.netvigator.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2020-10-19 15:08:35 <lightwave> newbie question: is there a generally accepted 'good' style guide for Haskell that most Haskellers agree to be good?
2020-10-19 15:08:44 <maerwald> no
2020-10-19 15:08:46 <merijn> No
2020-10-19 15:08:50 <lightwave> LOL
2020-10-19 15:08:59 × karanlikmadde quits (~karanlikm@2a01:c22:a46a:b400:3c0d:995b:be0c:192) (Quit: karanlikmadde)
2020-10-19 15:09:02 <maerwald> good question, next question
2020-10-19 15:09:15 <merijn> lightwave: There's tons of guide, but nothing universally agreed upon
2020-10-19 15:10:07 <merijn> lightwave: I think the closest to consensus you'll get is: "Curly braces and semicolons bad, layout good" and "spaces, not tabs" and even those aren't universal (but close enough)
2020-10-19 15:10:18 × fendor quits (~fendor@e237-037.eduroam.tuwien.ac.at) (Remote host closed the connection)
2020-10-19 15:10:35 <merijn> lightwave: Oh, and generally people tend to prefer "where" blocks over "let in"
2020-10-19 15:10:50 <{abby}> if you ask 3 haskellers how they format their code you'll get at least 4 different answers
2020-10-19 15:10:55 <merijn> :)
2020-10-19 15:11:17 <merijn> lightwave: I'd just do "whatever seems most readable" and "try and match surrounding style" (in projects)
2020-10-19 15:11:32 <merijn> lightwave: And people will be more than happy to critique your style ;)
2020-10-19 15:11:42 <lightwave> LAMO
2020-10-19 15:11:48 <lightwave> LMAO
2020-10-19 15:11:56 <maerwald> yes, if you wanna waste a lot of your time, ask ppl for advice on formatting
2020-10-19 15:12:05 <lightwave> Something never changes in programming languages.
2020-10-19 15:12:18 <merijn> maerwald: Well, for beginners it makes sense, they often don't know many Haskell-y idioms
2020-10-19 15:12:46 <{abby}> there are, of course, automated formatters---but I suspect the "every project has its own style" culture does not lead itself well to adopting "one true style" tools… I find ormolu's style painfully ugly, for example :p
2020-10-19 15:12:50 <merijn> I see many beginners asking for feedback where there code can be cleaned up considerably, just don't expect any universal consensus :)
2020-10-19 15:12:53 <maerwald> my advice is: never align, only indent. But that's already quite controversial
2020-10-19 15:12:55 × vicfred_ quits (~vicfred@unaffiliated/vicfred) (Quit: Leaving)
2020-10-19 15:12:58 <noctux> what, spaces? damn it...
2020-10-19 15:13:19 <{abby}> maerwald: oo, them's fighting words
2020-10-19 15:13:29 <merijn> noctux: tabs are well defined in GHC, unfortunately they follow unix and not "what people like to pretend they mean"
2020-10-19 15:13:38 <lightwave> My keyboard only has 0, 1, space, backspace and enter keys. No tab.
2020-10-19 15:14:02 <lightwave> Forgive me for asking the style guide question. LOL
2020-10-19 15:14:21 <noctux> merijn: meaning? \t being an ordinary whitespace ascii character?
2020-10-19 15:14:24 tzh joins (~tzh@2601:448:c500:5300::e74c)
2020-10-19 15:14:39 <lightwave> I'll not ask what editor is the best for Haskell. ;-)
2020-10-19 15:15:03 bitmapper joins (uid464869@gateway/web/irccloud.com/x-ccvftmqgiojwtxir)
2020-10-19 15:15:07 <merijn> noctux: \t rounds to nearest multiple of 8
2020-10-19 15:15:29 <merijn> noctux: That means that the width of a tab is dependent on preceding characters
2020-10-19 15:15:30 thir joins (~thir@p200300f27f0b040039cda3b6fce8e5af.dip0.t-ipconnect.de)
2020-10-19 15:15:32 <{abby}> lightwave: whichever you're used to using, honestly. except for nano, unless someone's written a nano LSP client...
2020-10-19 15:15:40 <merijn> If you have 3 spaces followed by a tab, the tab is 5 wide
2020-10-19 15:15:52 <merijn> Which is the standard unix convention
2020-10-19 15:16:00 <merijn> but not how people treat tabs in source code :)
2020-10-19 15:16:21 <noctux> yeah, and as long as you set tw=8, all is fine :P
2020-10-19 15:16:37 <merijn> noctux: No
2020-10-19 15:16:37 <hyperisco> if I just want to wait for a process to terminate, do I have to read its stdout char by char until I hit EOF?
2020-10-19 15:16:50 <{abby}> noctux: set tw=0 et, you mean? :P
2020-10-19 15:16:53 cfricke joins (~cfricke@unaffiliated/cfricke)
2020-10-19 15:16:58 <merijn> noctux: because tw says "tabs are 8", which is *different* from "tabs round to nearest multiple of 8"
2020-10-19 15:16:59 <{abby}> s/0/8/ even
2020-10-19 15:17:19 <lightwave> s/\t/doh!/g
2020-10-19 15:17:32 <merijn> hyperisco: Possibly, if the process blocks on blocked writes
2020-10-19 15:17:58 <merijn> lightwave: It's basically 1/3rd vim, 1/3rd emacs, 1/3rd rest in here
2020-10-19 15:18:17 <maerwald> I had the impression slightly more emacs than vim
2020-10-19 15:18:31 <merijn> maerwald: That's because, like nix people, emacs people are loud :p
2020-10-19 15:18:33 <{abby}> of the emacs users, how many do you think are vim users in denial? evil, vile and co
2020-10-19 15:18:50 <maerwald> 20 vim, 35 emacs, 45 rest
2020-10-19 15:18:57 <noctux> {abby}: well, I seem to want ts :p
2020-10-19 15:18:59 × grimgnr quits (~user@94.19.246.43) (Read error: Connection reset by peer)
2020-10-19 15:19:04 <lightwave> I use Doom Emacs (evil mode) Best of both worlds
2020-10-19 15:19:41 <noctux> hihi, vim's helptext on the matter:
2020-10-19 15:19:44 <noctux> Note: Setting 'tabstop' to any other value than 8 can make your file
2020-10-19 15:19:46 <noctux> appear wrong in many places (e.g., when printing it).

All times are in UTC.