2025/01/09

Newest at the top

2025-01-09 11:57:23 +0100 <__monty__> Isn't that a line comment in Java?
2025-01-09 11:57:02 +0100 <__monty__> Alternatively, if you don't want to define them for yourself, you could add conceals (or whatever your editor calls them) for `div` et al. if you think it reads better or whatever.
2025-01-09 11:57:01 +0100 <hellwolf> am I being scammed by ChatGPT?
2025-01-09 11:55:49 +0100 <orangeFlu> Java does not have // afaik
2025-01-09 11:55:09 +0100byorgey(~byorgey@user/byorgey) byorgey
2025-01-09 11:55:02 +0100byorgey(~byorgey@user/byorgey) (Ping timeout: 252 seconds)
2025-01-09 11:54:14 +0100pie_(~pie_bnc@user/pie/x-2818909) __
2025-01-09 11:53:56 +0100pie_(~pie_bnc@user/pie/x-2818909) (Ping timeout: 252 seconds)
2025-01-09 11:49:57 +0100mud(~mud@user/kadoban) (Read error: Connection reset by peer)
2025-01-09 11:49:35 +0100 <hellwolf> could be an option.
2025-01-09 11:49:23 +0100 <mari-estel> maybe they do not need to become operators
2025-01-09 11:49:16 +0100 <hellwolf> //- ?
2025-01-09 11:49:05 +0100kadobanana(~mud@user/kadoban) kadoban
2025-01-09 11:48:58 +0100 <hellwolf> I know, but I dont' know what better variant to use.
2025-01-09 11:48:58 +0100 <hellwolf> 01-09 12:48 <mari-estel> hm _ conventionally means "discard returned"
2025-01-09 11:48:43 +0100 <hellwolf> incidentally, I didn't know that recent Python and Java uses "//" to mean integral divisions.
2025-01-09 11:48:40 +0100 <mari-estel> hm _ conventionally means "discard returned"
2025-01-09 11:48:10 +0100 <lambdabot> Data.Vector.Generic (//) :: Vector v a => v a -> [(Int, a)] -> v a
2025-01-09 11:48:10 +0100 <lambdabot> Data.Vector (//) :: Vector a -> [(Int, a)] -> Vector a
2025-01-09 11:48:10 +0100 <lambdabot> GHC.Arr (//) :: Ix i => Array i e -> [(i, e)] -> Array i e
2025-01-09 11:48:05 +0100 <hellwolf> ones with "_" truncating towards negative infinity
2025-01-09 11:48:03 +0100 <mari-estel> @hoogle //
2025-01-09 11:47:42 +0100 <lambdabot> Protolude (%) :: Integral a => a -> a -> Ratio a
2025-01-09 11:47:42 +0100 <lambdabot> GHC.Real (%) :: Integral a => a -> a -> Ratio a
2025-01-09 11:47:42 +0100 <lambdabot> Data.Ratio (%) :: Integral a => a -> a -> Ratio a
2025-01-09 11:47:41 +0100 <mari-estel> @hoogle %
2025-01-09 11:47:13 +0100 <mari-estel> i guess it has. Finding the conv is a different matter
2025-01-09 11:47:08 +0100 <hellwolf> say `//, //_, %, %_' where the variants without "_" matches the behaviour you would most likely encounter in other languages (truncating towards zero)
2025-01-09 11:46:21 +0100 <hellwolf> ?
2025-01-09 11:46:13 +0100 <hellwolf> may I start a new topic, has it ever been discussed about having operators for `quot, rem, div, mod`
2025-01-09 11:45:02 +0100 <hellwolf> etc.
2025-01-09 11:45:01 +0100 <hellwolf> Scrive
2025-01-09 11:44:54 +0100 <hellwolf> Mercury
2025-01-09 11:44:48 +0100 <hellwolf> maerwald: that's surprising to hear
2025-01-09 11:44:38 +0100alexherbo2(~alexherbo@2a02-8440-e505-36d8-e9e7-2f9d-7370-79e4.rev.sfr.net) alexherbo2
2025-01-09 11:44:26 +0100 <orangeFlu> what other haskell companies are out there?
2025-01-09 11:42:55 +0100 <haskellbridge> <maerwald> most of the Haskell companies I've worked at didn't have an acutal test suite... I think IOG was the exception
2025-01-09 11:42:03 +0100lortabac(~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Quit: WeeChat 4.4.2)
2025-01-09 11:40:50 +0100 <haskellbridge> <hellwolf> (oh, I should say, even better, to have a test framework and test before git commit)
2025-01-09 11:40:08 +0100jespada(~jespada@2800:a4:12d:ab00:b8c0:591c:43dd:ac7f) (Quit: My Mac has gone to sleep. ZZZzzz…)
2025-01-09 11:40:00 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2025-01-09 11:39:58 +0100 <haskellbridge> <hellwolf> Haskell is great for this flow
2025-01-09 11:39:48 +0100 <haskellbridge> <hellwolf> make it compile, git commit, refactor, git commit
2025-01-09 11:39:42 +0100mari-estel(~mari-este@user/mari-estel) mari-estel
2025-01-09 11:39:13 +0100mari-estel(~mari-este@user/mari-estel) (Read error: Connection reset by peer)
2025-01-09 11:27:39 +0100merijn(~merijn@77.242.116.146) (Ping timeout: 260 seconds)
2025-01-09 11:26:33 +0100xff0x(~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp) (Ping timeout: 244 seconds)
2025-01-09 11:24:46 +0100comerijn(~merijn@77.242.116.146) merijn
2025-01-09 11:17:05 +0100econo_(uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
2025-01-09 11:14:17 +0100sprotte24(~sprotte24@p200300d16f253600814d8e598f05b539.dip0.t-ipconnect.de)