2024/11/08

Newest at the top

2024-11-08 23:23:48 +0100 <darkling> Does ghc actually transpile to C, or does it just use some part of the back-end of a C compiler? (code generation and ASM-level optimisations, say?)
2024-11-08 23:23:21 +0100 <monochrom> Oh hey jle` I read your free applicative article (found via HWN) and the related free alternative article. Very interesting!
2024-11-08 23:22:29 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-11-08 23:22:09 +0100 <geekosaur> ghc in particular hands as much as possible off to the C compiler to figure out
2024-11-08 23:21:27 +0100 <geekosaur> (both would have to know way too much about the machine they're building on to generate them themselves)
2024-11-08 23:20:04 +0100 <geekosaur> unless cross-compiling, which ghc is poor at and cabal more or less doesn't support as yet
2024-11-08 23:19:56 +0100Natch(~natch@c-92-34-7-158.bbcust.telenor.se) Natch
2024-11-08 23:19:28 +0100 <geekosaur> neither, `-isystem` should usually not be touched and I'm pretty sure neither cabal nor ghc does
2024-11-08 23:18:42 +0100 <jle`> i wonder if this is a ghc thing or a cabal thing ...
2024-11-08 23:18:37 +0100 <jle`> it builds fine but i'm triyng to use bear to generate compile_commands.json
2024-11-08 23:18:20 +0100 <jle`> is there any way to get cabal to be explicit about its -isystem includes when building c? it doesn't seem to include the c standard headers or c++ ones either when doing c++
2024-11-08 23:17:47 +0100michalz(~michalz@185.246.207.217) (Remote host closed the connection)
2024-11-08 23:17:35 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-11-08 23:17:21 +0100sprotte24(~sprotte24@p200300d16f0bb9000907ce5a9cbe4fad.dip0.t-ipconnect.de)
2024-11-08 23:13:43 +0100Everything(~Everythin@178-133-144-57.mobile.vf-ua.net) Everything
2024-11-08 23:06:44 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-11-08 23:02:32 +0100user363627(~user@user/user363627) (Ping timeout: 265 seconds)
2024-11-08 23:01:48 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-11-08 22:59:14 +0100ljdarj(~Thunderbi@user/ljdarj) ljdarj
2024-11-08 22:59:02 +0100weary-traveler(~user@user/user363627) user363627
2024-11-08 22:50:36 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-11-08 22:44:38 +0100benjaminlolivial
2024-11-08 22:43:45 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-11-08 22:37:10 +0100yvan-sraka(uid419690@id-419690.lymington.irccloud.com) yvan-sraka
2024-11-08 22:34:21 +0100visilii(~visilii@85.172.77.90)
2024-11-08 22:32:54 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
2024-11-08 22:28:57 +0100famubu(~famubu@14.139.174.50) (Ping timeout: 246 seconds)
2024-11-08 22:28:29 +0100lxsameer(~lxsameer@Serene/lxsameer) (Ping timeout: 255 seconds)
2024-11-08 22:27:58 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-11-08 22:26:46 +0100peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 252 seconds)
2024-11-08 22:21:50 +0100 <geekosaur> or the mechanism that uses, which is via TH
2024-11-08 22:20:39 +0100misterfish(~misterfis@84.53.85.146) (Ping timeout: 260 seconds)
2024-11-08 22:17:14 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-11-08 22:16:38 +0100 <SrPx> ty
2024-11-08 22:16:31 +0100 <tomsmeding> SrPx: https://hackage.haskell.org/package/file-embed
2024-11-08 22:16:19 +0100 <SrPx> at compile time
2024-11-08 22:16:15 +0100 <SrPx> is it not possible to import a static string into a haskell executable?
2024-11-08 22:14:20 +0100machinedgod(~machinedg@d108-173-18-100.abhsia.telus.net) machinedgod
2024-11-08 22:12:10 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-11-08 22:11:32 +0100briandaed(~root@185.234.210.211) (Remote host closed the connection)
2024-11-08 22:08:20 +0100 <hololeap> could (toList :: Tree a -> [a]) be considered a forgetful functor?
2024-11-08 22:05:57 +0100 <yahb2> Node :: a -> [Tree a] -> Tree a
2024-11-08 22:05:57 +0100 <hololeap> % :t Node
2024-11-08 22:05:55 +0100 <yahb2> <no output>
2024-11-08 22:05:55 +0100 <hololeap> % import Data.Tree
2024-11-08 22:05:44 +0100 <yahb2> <interactive>:1:1: error: [GHC-88464] ; Data constructor not in scope: Node
2024-11-08 22:05:44 +0100 <hololeap> % :t Node
2024-11-08 22:01:06 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-11-08 21:56:28 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2024-11-08 21:55:09 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)