2026/03/28

Newest at the top

2026-03-28 18:34:26 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2026-03-28 18:29:47 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-03-28 18:29:14 +0100gabriel_sevecek(~gabriel@92-180-224-71.dynamic.orange.sk) (Quit: WeeChat 4.8.2)
2026-03-28 18:25:53 +0100koala_man(~vidar@157.146.251.23.bc.googleusercontent.com) koala_man
2026-03-28 18:22:40 +0100peterbecich(~Thunderbi@71.84.33.135) peterbecich
2026-03-28 18:21:45 +0100emmanuelux(~em@user/emmanuelux) (Ping timeout: 255 seconds)
2026-03-28 18:21:12 +0100emmanuelux_(~em@2a02-8440-2504-46f6-d9db-ddcd-9d62-8fc7.rev.sfr.net)
2026-03-28 18:20:01 +0100ft(~ft@p508db341.dip0.t-ipconnect.de) ft
2026-03-28 18:18:55 +0100merijn(~merijn@62.45.136.136) (Ping timeout: 245 seconds)
2026-03-28 18:18:30 +0100koala_man(~vidar@157.146.251.23.bc.googleusercontent.com) (Ping timeout: 245 seconds)
2026-03-28 18:16:30 +0100 <monochrom> EvanR: Haha
2026-03-28 18:12:09 +0100merijn(~merijn@62.45.136.136) merijn
2026-03-28 18:11:17 +0100koala_man(~vidar@157.146.251.23.bc.googleusercontent.com) koala_man
2026-03-28 18:09:35 +0100luke(~luke@user/luke) (Remote host closed the connection)
2026-03-28 18:09:29 +0100mistivia(~mistivia@user/mistivia) (Remote host closed the connection)
2026-03-28 18:04:43 +0100koala_man(~vidar@157.146.251.23.bc.googleusercontent.com) (Read error: Connection reset by peer)
2026-03-28 18:01:52 +0100tzh(~tzh@c-76-115-131-146.hsd1.or.comcast.net)
2026-03-28 18:01:31 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2026-03-28 17:56:50 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-03-28 17:52:32 +0100 <int-e> (this is not the worst idea if the parts are more expensive and/or the list is short)
2026-03-28 17:52:13 +0100 <gentauro> int-e: I guess that's the one
2026-03-28 17:52:05 +0100 <lambdabot> [0,1,1,2,3,5,8,13,21,34]
2026-03-28 17:52:04 +0100 <int-e> > let fibs = 0:1:[fibs !! (n-2) + fibs !! (n-1) | n <- [2..]] in take 10 fibs
2026-03-28 17:51:40 +0100 <lambdabot> Variable not in scope: fib :: [a1]Variable not in scope: fib :: [a1]
2026-03-28 17:51:39 +0100 <int-e> > let fibs = 0:1:[fib !! (n-2) + fib !! (n-1) | n <- [2..]] in take 10 fibs
2026-03-28 17:50:34 +0100 <gentauro> I don't recall the example, but it was kind of strange. You memoized the list with (!!)
2026-03-28 17:50:25 +0100machinedgod(~machinedg@d172-219-48-230.abhsia.telus.net) machinedgod
2026-03-28 17:50:10 +0100 <gentauro> int-e: https://wiki.haskell.org/index.php?title=Memoization
2026-03-28 17:47:41 +0100koala_man(~vidar@157.146.251.23.bc.googleusercontent.com) koala_man
2026-03-28 17:46:31 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2026-03-28 17:44:55 +0100koala_man(~vidar@157.146.251.23.bc.googleusercontent.com) (Ping timeout: 265 seconds)
2026-03-28 17:44:47 +0100 <haskellbridge> <sm> Agreed about time, but I wonder if the docs or getting started experience could be improved
2026-03-28 17:43:02 +0100 <EvanR> I suggest an APL-like global TVar which toggles Enum to be based at 0 or 1
2026-03-28 17:42:53 +0100 <int-e> gentauro: You can do that if you don't care about efficiency.
2026-03-28 17:41:29 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-03-28 17:37:52 +0100 <gentauro> and then just `zip [1..] [ minBound .. maxBound ]` no?
2026-03-28 17:37:19 +0100 <gentauro> int-e: Month should use https://hackage-content.haskell.org/package/base-4.22.0.0/docs/Data-Bounded.html
2026-03-28 17:35:09 +0100wootehfoot(~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer)
2026-03-28 17:30:49 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds)
2026-03-28 17:27:59 +0100nelson(~nelson@2600:4041:3c9b:f800:ea2e:8969:c6ba:dfb5) (Client Quit)
2026-03-28 17:26:38 +0100nelson(~nelson@2600:4041:3c9b:f800:ea2e:8969:c6ba:dfb5)
2026-03-28 17:26:07 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-03-28 17:26:05 +0100koala_man(~vidar@157.146.251.23.bc.googleusercontent.com) koala_man
2026-03-28 17:25:53 +0100xff0x(~xff0x@2405:6580:b080:900:fe99:f2ca:92ea:c869)
2026-03-28 17:24:04 +0100xff0x(~xff0x@2405:6580:b080:900:6a99:b43f:8065:9325) (Ping timeout: 245 seconds)
2026-03-28 17:22:22 +0100koala_man(~vidar@157.146.251.23.bc.googleusercontent.com) (Ping timeout: 276 seconds)
2026-03-28 17:17:08 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) humasect
2026-03-28 17:16:10 +0100koala_man(~vidar@157.146.251.23.bc.googleusercontent.com) koala_man
2026-03-28 17:13:30 +0100koala_man(~vidar@157.146.251.23.bc.googleusercontent.com) (Ping timeout: 245 seconds)
2026-03-28 17:06:22 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds)