2024/11/19

Newest at the top

2024-11-19 23:16:02 +0100 <hellwolf> that'd require a separate module, right?
2024-11-19 23:14:13 +0100 <mauke> TH?
2024-11-19 23:12:52 +0100lxsameer(~lxsameer@Serene/lxsameer) lxsameer
2024-11-19 23:10:25 +0100euleritian(~euleritia@ip4d16fc9f.dynamic.kabel-deutschland.de)
2024-11-19 23:09:49 +0100euleritian(~euleritia@ip4d16fc9f.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
2024-11-19 23:08:19 +0100 <hellwolf> $ for i in `seq 1 32`;do echo -n "instance ValidINTn $i;";done
2024-11-19 23:08:18 +0100 <hellwolf> For now I opt for a simpler one, since there are only 32 of them
2024-11-19 23:05:46 +0100takuan(~takuan@178-116-218-225.access.telenet.be)
2024-11-19 23:05:33 +0100takuan(~takuan@178-116-218-225.access.telenet.be) (Ping timeout: 252 seconds)
2024-11-19 23:04:09 +0100 <hellwolf> https://gitlab.haskell.org/ghc/ghc/-/issues/14609 found it
2024-11-19 22:58:59 +0100Alleria(~Alleria@user/alleria) (Ping timeout: 260 seconds)
2024-11-19 22:57:34 +0100ubert(~Thunderbi@178.115.41.15.wireless.dyn.drei.com) (Ping timeout: 252 seconds)
2024-11-19 22:57:19 +0100Alleria_(~Alleria@user/alleria) Alleria
2024-11-19 22:53:58 +0100 <hellwolf> but I don't want to enable it in module-level... I wish there is a {-# UndicidableInstance #-} pragma.
2024-11-19 22:53:36 +0100 <hellwolf> instance forall (n :: Nat) . (1 <= n, n <= 32) => ValidINTn n
2024-11-19 22:53:36 +0100 <hellwolf> class ValidINTn (n :: Nat)
2024-11-19 22:53:34 +0100 <hellwolf> I don't mind using UndicidableInstance for:
2024-11-19 22:51:46 +0100 <hellwolf> The one that is invalid is "n <= 32)
2024-11-19 22:49:25 +0100euleritian(~euleritia@ip4d16fc9f.dynamic.kabel-deutschland.de)
2024-11-19 22:49:09 +0100euleritian(~euleritia@dynamic-176-003-072-074.176.3.pool.telefonica.de) (Read error: Connection reset by peer)
2024-11-19 22:48:50 +0100euleritian(~euleritia@dynamic-176-003-072-074.176.3.pool.telefonica.de)
2024-11-19 22:48:42 +0100euleritian(~euleritia@ip4d16fc9f.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
2024-11-19 22:48:04 +0100cyphase(~cyphase@user/cyphase) cyphase
2024-11-19 22:46:11 +0100 <dmj`> equality constraint
2024-11-19 22:45:43 +0100 <dmj`> hellwolf: you can capture the type family result with ~ in the instance context, INTx s n ~ result
2024-11-19 22:44:59 +0100Everything(~Everythin@46-133-188-81.mobile.vf-ua.net) Everything
2024-11-19 22:44:19 +0100cyphase(~cyphase@user/cyphase) (Quit: cyphase.com)
2024-11-19 22:41:14 +0100 <hellwolf> this got "Illegal use of type family" error. I get that. But is there a good workaround when using Nat kind?
2024-11-19 22:41:14 +0100 <hellwolf> instance (KnownBool s, KnownNat n, n <= 32) => ABIWordValue (INTx s n) where
2024-11-19 22:36:59 +0100__monty__(~toonn@user/toonn) (Quit: leaving)
2024-11-19 22:23:15 +0100 <evocatus> I will have a look anyway :)
2024-11-19 22:22:55 +0100 <haskellbridge> <sm> but maybe I mention them too soon
2024-11-19 22:22:50 +0100stiell_(~stiell@gateway/tor-sasl/stiell) stiell
2024-11-19 22:22:21 +0100 <haskellbridge> <sm> https://gotchamana.github.io/wiwinwlh/ and https://github.com/Gabriella439/post-rfc/blob/main/sotu.md#state-of-the-haskell-ecosystem are useful ecosystem overviews
2024-11-19 22:21:17 +0100 <haskellbridge> <sm> yup
2024-11-19 22:20:57 +0100 <evocatus> cool, looks like he also has a video course on Youtube
2024-11-19 22:19:11 +0100 <haskellbridge> <sm> there are a ton of books now but everyone agrees Hutton's is good
2024-11-19 22:19:06 +0100 <evocatus> haskellbridge, thanks, that doesn't look so scary as an academic paper may
2024-11-19 22:18:13 +0100 <haskellbridge> <sm> https://www.microsoft.com/en-us/research/wp-content/uploads/2016/07/history.pdf I think it is
2024-11-19 22:17:42 +0100 <haskellbridge> <sm> ok you'd enjoy that SPJ history of haskell paper I bet
2024-11-19 22:16:43 +0100 <evocatus> usually I learn new languages by reading a book usually by the author of the language itself :)
2024-11-19 22:16:37 +0100 <sm> https://haskell-links.org links to many of them, eg the Book list. I like the look of the Haskell for Dilettantes youtube series.
2024-11-19 22:15:12 +0100alphazone(~alphazone@2.219.56.221)
2024-11-19 22:13:31 +0100 <sm> evocatus: books, free books, video, courses ? hands-on or conceptual ? friendly or dry ?
2024-11-19 22:11:08 +0100mcfrdmcfrdy
2024-11-19 22:10:46 +0100n3t(~n3t@user/n3t) n3t
2024-11-19 22:09:25 +0100pie_(~pie_bnc@user/pie/x-2818909) __
2024-11-19 22:09:09 +0100n3t(~n3t@user/n3t) (Ping timeout: 276 seconds)
2024-11-19 22:08:46 +0100chexum_(~quassel@gateway/tor-sasl/chexum) (Ping timeout: 260 seconds)
2024-11-19 22:08:46 +0100stiell_(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)