2024/05/03

Newest at the top

2024-05-03 16:01:32 +0200stiell(~stiell@gateway/tor-sasl/stiell)
2024-05-03 16:01:26 +0200ft(~ft@p3e9bc1bf.dip0.t-ipconnect.de) (Quit: leaving)
2024-05-03 16:00:29 +0200onion(~yin@user/zero) (Ping timeout: 240 seconds)
2024-05-03 15:59:38 +0200stiell(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)
2024-05-03 15:56:27 +0200stiell_(~stiell@gateway/tor-sasl/stiell)
2024-05-03 15:55:26 +0200stiell_(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)
2024-05-03 15:53:32 +0200 <onion> yes sorry for the noise
2024-05-03 15:51:48 +0200 <EvanR> you can use lambdabot in a private message
2024-05-03 15:51:44 +0200stiell(~stiell@gateway/tor-sasl/stiell)
2024-05-03 15:50:18 +0200stiell(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)
2024-05-03 15:46:36 +0200stiell_(~stiell@gateway/tor-sasl/stiell)
2024-05-03 15:45:10 +0200stiell_(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)
2024-05-03 15:44:45 +0200mwnaylor(~user@2601:5cf:837e:2bb0::c22d) (Remote host closed the connection)
2024-05-03 15:44:34 +0200zmt00(~zmt00@user/zmt00)
2024-05-03 15:42:21 +0200 <lambdabot> ‘a2’ is a rigid type variable bound by
2024-05-03 15:42:20 +0200 <lambdabot> • Couldn't match expected type ‘a2’ with actual type ‘Int’
2024-05-03 15:42:20 +0200 <lambdabot> error:
2024-05-03 15:42:19 +0200 <onion> > let id' (f :: forall a. a -> a) (x :: Int) = f x :: a in id' succ 7
2024-05-03 15:41:31 +0200stiell(~stiell@gateway/tor-sasl/stiell)
2024-05-03 15:40:30 +0200stiell(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)
2024-05-03 15:36:52 +0200 <onion> hmm..
2024-05-03 15:36:46 +0200 <lambdabot> 8
2024-05-03 15:36:45 +0200 <onion> > let id' (f :: a -> a) (x :: Int) = f x :: a in id' succ 7
2024-05-03 15:36:36 +0200stiell_(~stiell@gateway/tor-sasl/stiell)
2024-05-03 15:36:27 +0200 <lambdabot> 7
2024-05-03 15:36:26 +0200 <onion> > let id' (f :: a -> a) (x :: a) = f x :: a in id' id 7
2024-05-03 15:36:15 +0200 <onion> oops
2024-05-03 15:35:45 +0200 <lambdabot> a
2024-05-03 15:35:43 +0200 <onion> > let id' (f :: a -> a) (x :: a) = f a :: a in id' id 7
2024-05-03 15:35:37 +0200onion(~yin@user/zero)
2024-05-03 15:34:54 +0200stiell_(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)
2024-05-03 15:33:15 +0200onion(~yin@user/zero) (Ping timeout: 245 seconds)
2024-05-03 15:31:47 +0200stiell(~stiell@gateway/tor-sasl/stiell)
2024-05-03 15:31:21 +0200tv(~tv@user/tv) (Ping timeout: 255 seconds)
2024-05-03 15:30:14 +0200stiell(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)
2024-05-03 15:29:03 +0200 <lambdabot> (7,False,"ok")
2024-05-03 15:29:01 +0200 <onion> > let f (a :: Int) (b :: Bool) (c :: a) = (a,b,c) :: (Int,Bool,a) in f 7 False "ok"
2024-05-03 15:27:50 +0200 <onion> i just found out i can write this:
2024-05-03 15:26:26 +0200stiell_(~stiell@gateway/tor-sasl/stiell)
2024-05-03 15:25:06 +0200stiell_(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)
2024-05-03 15:24:10 +0200 <onion> thanks ncf
2024-05-03 15:23:57 +0200 <ncf> this explains why a -> a doesn't work, but not why forall a. a -> a doesn't
2024-05-03 15:23:55 +0200poscat(~poscat@user/poscat)
2024-05-03 15:23:46 +0200 <ncf> https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/scoped_type_variables.html#pattern-type-sigs
2024-05-03 15:23:10 +0200zetef(~quassel@5.14.202.140) (Remote host closed the connection)
2024-05-03 15:21:32 +0200stiell(~stiell@gateway/tor-sasl/stiell)
2024-05-03 15:21:11 +0200 <danse-nr3> i don't think the forall helps, but i am not sure why just `a` would not work
2024-05-03 15:20:29 +0200 <lambdabot> with actual type ‘a0 -> a0’
2024-05-03 15:20:29 +0200 <lambdabot> • Couldn't match expected type ‘forall a1. a1 -> a1’
2024-05-03 15:20:29 +0200 <lambdabot> error: