2024/05/14

Newest at the top

2024-05-14 06:46:16 +0200 <danza> other languages that support out-of-order arguments end up with a syntax similar to { arg = val } like one would easily achieve with a product type
2024-05-14 06:44:29 +0200 <cheater> whatever's useful
2024-05-14 06:44:17 +0200 <cheater> so what if we had a type constructor that's like (->) but binds less tightly than (->) and doesn't care about order. say (&). You could write f :: X & A -> B -> C & Y & Z -> Out, and then you could go like f a b c x y z, or f a x b y c z, or f x y z a b c
2024-05-14 06:42:23 +0200 <cheater> if you look at type sigs, f :: A -> B -> C is basically a tuple. the only reason it's not exactly the same thing as (A, B, C) is currying.
2024-05-14 06:41:56 +0200 <cheater> idk what you're saying
2024-05-14 06:40:39 +0200 <danza> make a product type for that?
2024-05-14 06:40:14 +0200 <cheater> rarely do functions have the same type multiple times, and when they do it's usually like a binary or ternary function and then you can explicitly order them with a tuple
2024-05-14 06:39:49 +0200 <cheater> i feel like haskell would be better if arguments were non-positional, i.e. you could supply them in any order
2024-05-14 06:37:46 +0200remmie(ianremsen@tilde.team) (Ping timeout: 256 seconds)
2024-05-14 06:23:41 +0200ChaiTRex(~ChaiTRex@user/chaitrex)
2024-05-14 06:22:51 +0200ChaiTRex(~ChaiTRex@user/chaitrex) (Remote host closed the connection)
2024-05-14 06:21:18 +0200rosco(~rosco@yp-146-6.tm.net.my)
2024-05-14 06:16:28 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Remote host closed the connection)
2024-05-14 06:08:46 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com)
2024-05-14 06:06:26 +0200yin(~yin@user/zero)
2024-05-14 06:06:15 +0200ec(~ec@gateway/tor-sasl/ec)
2024-05-14 06:05:35 +0200ec(~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
2024-05-14 06:04:48 +0200yin(~yin@user/zero) (Ping timeout: 255 seconds)
2024-05-14 06:00:56 +0200rekahsoft(~rekahsoft@184.148.6.204) (Ping timeout: 256 seconds)
2024-05-14 05:56:22 +0200aforemny(~aforemny@i59F516F4.versanet.de) (Ping timeout: 246 seconds)
2024-05-14 05:55:47 +0200aforemny_(~aforemny@i59F516F1.versanet.de)
2024-05-14 05:55:44 +0200yin(~yin@user/zero)
2024-05-14 05:55:20 +0200mei(~mei@user/mei)
2024-05-14 05:54:05 +0200mei(~mei@user/mei) (Ping timeout: 240 seconds)
2024-05-14 05:42:27 +0200paddymahoney(~paddymaho@pool-99-250-26-190.cpe.net.cable.rogers.com)
2024-05-14 05:31:03 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 255 seconds)
2024-05-14 05:19:44 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com)
2024-05-14 05:19:33 +0200danza(~francesco@151.57.214.17)
2024-05-14 05:19:24 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Remote host closed the connection)
2024-05-14 04:42:24 +0200emmanuelux(~emmanuelu@user/emmanuelux) (Quit: au revoir)
2024-05-14 04:36:23 +0200philopsos1(~caecilius@user/philopsos) (Ping timeout: 260 seconds)
2024-05-14 04:25:48 +0200ddellacosta(~ddellacos@ool-44c73d29.dyn.optonline.net)
2024-05-14 04:23:59 +0200jmdaemon(~jmdaemon@user/jmdaemon) (Ping timeout: 264 seconds)
2024-05-14 04:19:41 +0200xff0x(~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp)
2024-05-14 04:18:04 +0200machinedgod(~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 268 seconds)
2024-05-14 04:15:33 +0200td_(~td@i53870907.versanet.de)
2024-05-14 04:13:47 +0200td_(~td@i53870933.versanet.de) (Ping timeout: 256 seconds)
2024-05-14 04:08:30 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com)
2024-05-14 03:57:25 +0200Square2(~Square4@user/square)
2024-05-14 03:55:47 +0200phma(~phma@host-67-44-208-11.hnremote.net)
2024-05-14 03:55:23 +0200phma(phma@2001:5b0:210b:c738:d0e0:5870:ec8f:f731) (Read error: Connection reset by peer)
2024-05-14 03:34:30 +0200xff0x(~xff0x@2405:6580:b080:900:b7f1:8627:ae1f:1fb0) (Ping timeout: 255 seconds)
2024-05-14 03:32:26 +0200waleee(~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 268 seconds)
2024-05-14 03:29:36 +0200philopsos1(~caecilius@user/philopsos)
2024-05-14 03:24:41 +0200jmdaemon(~jmdaemon@user/jmdaemon)
2024-05-14 03:23:11 +0200raehik(~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net) (Ping timeout: 252 seconds)
2024-05-14 03:16:41 +0200philopsos1(~caecilius@user/philopsos) (Ping timeout: 256 seconds)
2024-05-14 03:13:32 +0200otto_s(~user@p5de2fc4f.dip0.t-ipconnect.de)
2024-05-14 03:12:09 +0200philopsos1(~caecilius@user/philopsos)
2024-05-14 03:11:57 +0200otto_s(~user@p5de2fd19.dip0.t-ipconnect.de) (Ping timeout: 272 seconds)