Newest at the top
2025-03-17 03:37:26 +0100 | <monochrom> | You're overthinking it. I quit. |
2025-03-17 03:37:17 +0100 | <geekosaur> | although even SPJ doesn't use braces religiously |
2025-03-17 03:37:05 +0100 | <geekosaur> | imo they make code harder to read (sorry SPJ) |
2025-03-17 03:36:50 +0100 | <geekosaur> | or not so pragmatic |
2025-03-17 03:36:15 +0100 | <haskellbridge> | <Liamzee> I mean, you could use braces to indicate prototyping, but that should slow down prototyping, no? But you could make an alternative argument that significant whitespace is idiomatic in Haskell, and stubbornly insisting on braces means you're doing improper Haskell for pragmatic reasons. |
2025-03-17 03:35:23 +0100 | <haskellbridge> | <Liamzee> No, but braces are fully supported by GHC and the Haskell report. Optional braces can be used as a means of expressing... something. |
2025-03-17 03:34:53 +0100 | MyNetAz | (~MyNetAz@user/MyNetAz) MyNetAz |
2025-03-17 03:34:42 +0100 | <geekosaur> | the popularity of python for scientific programming shoots that one down anyway |
2025-03-17 03:33:16 +0100 | <monochrom> | And with that, also out with "layout means script kiddies". |
2025-03-17 03:33:00 +0100 | <monochrom> | Today no editor has an issue. Come on this is 2025 already. |
2025-03-17 03:32:43 +0100 | <monochrom> | I am talking about 20 years ago. |
2025-03-17 03:32:26 +0100 | <haskellbridge> | <Liamzee> So, there's actually a pragmatic reason to use braces in Haskell, simply to make your code compile less than 1% faster. Got it. |
2025-03-17 03:32:24 +0100 | alfiee | (~alfiee@user/alfiee) (Ping timeout: 265 seconds) |
2025-03-17 03:31:39 +0100 | <monochrom> | I tried that, but that's only when my editor haskell mode was primitive and couldn't do good indentation without braces. |
2025-03-17 03:29:35 +0100 | <haskellbridge> | Now if you wanted to build your own Haskell compiler that only uses braces you could bypass the layout pass (and dreaded parse-error case) |
2025-03-17 03:29:34 +0100 | <haskellbridge> | <dmjio> Well braces automatically get inserted after the layout pass, so you might be saving the layout pass some work. |
2025-03-17 03:27:53 +0100 | MyNetAz | (~MyNetAz@user/MyNetAz) (Remote host closed the connection) |
2025-03-17 03:27:53 +0100 | alfiee | (~alfiee@user/alfiee) alfiee |
2025-03-17 03:25:38 +0100 | ljdarj1 | ljdarj |
2025-03-17 03:25:38 +0100 | ljdarj | (~Thunderbi@user/ljdarj) (Ping timeout: 265 seconds) |
2025-03-17 03:24:25 +0100 | <haskellbridge> | <Liamzee> there's a point to it, since I like treating Haskell as a scripting language and non-idiomatic Haskell, if you're writing in braces you're implying you're being serious and actually caring about engineering quality. But then again, braces aren't that idiomatic either. |
2025-03-17 03:22:27 +0100 | ljdarj1 | (~Thunderbi@user/ljdarj) ljdarj |
2025-03-17 03:21:06 +0100 | tremon | (~tremon@83.80.159.219) (Quit: getting boxed in) |
2025-03-17 03:19:25 +0100 | jmcantrell | (~weechat@user/jmcantrell) jmcantrell |
2025-03-17 03:18:54 +0100 | machinedgod | (~machinedg@d108-173-18-100.abhsia.telus.net) machinedgod |
2025-03-17 03:17:32 +0100 | euandreh | (~Thunderbi@189.6.105.228) (Ping timeout: 244 seconds) |
2025-03-17 03:08:46 +0100 | bilegeek | (~bilegeek@2600:1008:b041:b61:4489:3f6f:340a:78f6) bilegeek |
2025-03-17 03:08:20 +0100 | mange | (~user@user/mange) mange |
2025-03-17 03:04:49 +0100 | mange | (~user@user/mange) (Ping timeout: 260 seconds) |
2025-03-17 03:02:56 +0100 | <haskellbridge> | <Liamzee> has anyone tried writing Haskell in braces before, besides SPJ? |
2025-03-17 02:56:09 +0100 | xff0x | (~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp) |
2025-03-17 02:50:23 +0100 | machinedgod | (~machinedg@d108-173-18-100.abhsia.telus.net) (Ping timeout: 245 seconds) |
2025-03-17 02:49:20 +0100 | j1n37- | (~j1n37@user/j1n37) (Ping timeout: 252 seconds) |
2025-03-17 02:49:09 +0100 | MyNetAz | (~MyNetAz@user/MyNetAz) MyNetAz |
2025-03-17 02:49:01 +0100 | myxos | (~myxos@syn-065-028-251-121.res.spectrum.com) myxokephale |
2025-03-17 02:48:26 +0100 | j1n37 | (~j1n37@user/j1n37) j1n37 |
2025-03-17 02:46:58 +0100 | alfiee | (~alfiee@user/alfiee) (Ping timeout: 268 seconds) |
2025-03-17 02:42:09 +0100 | MyNetAz | (~MyNetAz@user/MyNetAz) (Remote host closed the connection) |
2025-03-17 02:42:08 +0100 | alfiee | (~alfiee@user/alfiee) alfiee |
2025-03-17 02:26:10 +0100 | ftzm7 | ftzm |
2025-03-17 02:26:10 +0100 | ftzm | (~ftzm@085081056141.dynamic.telenor.dk) (Ping timeout: 248 seconds) |
2025-03-17 02:24:12 +0100 | ftzm7 | (~ftzm@085081035209.dynamic.telenor.dk) ftzm |
2025-03-17 02:02:29 +0100 | weary-traveler | (~user@user/user363627) user363627 |
2025-03-17 02:00:37 +0100 | xff0x | (~xff0x@2405:6580:b080:900:3552:f799:4331:aaa8) (Ping timeout: 248 seconds) |
2025-03-17 02:00:11 +0100 | alfiee | (~alfiee@user/alfiee) (Ping timeout: 252 seconds) |
2025-03-17 01:57:55 +0100 | ezzieyguywuf | (~Unknown@user/ezzieyguywuf) ezzieyguywuf |
2025-03-17 01:56:04 +0100 | alfiee | (~alfiee@user/alfiee) alfiee |
2025-03-17 01:48:14 +0100 | fris | (sid7259@id-7259.helmsley.irccloud.com) fris |
2025-03-17 01:44:33 +0100 | infinity0 | (~infinity0@pwned.gg) infinity0 |
2025-03-17 01:41:03 +0100 | Tuplanolla | (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.) |