2024/04/23

Newest at the top

2024-04-23 08:30:38 +0200 <mauke> it's not exactly the same, but the parentheses in @xs = (2, 3); are also there purely because of precedence
2024-04-23 08:29:33 +0200 <mauke> glguy: "Note on syntax — the reader should understand why we need the brackets in f(2, 3). Not to make a list — that is done by the comma. Nor to denote functional application — mere juxtaposition does that. They are there because functional application binds more tightly than comma — without them we should be applying f to 2 only and not to the whole list."
2024-04-23 08:26:57 +0200mima(~mmh@aftr-62-216-211-1.dynamic.mnet-online.de)
2024-04-23 08:20:05 +0200leah2(~leah@vuxu.org)
2024-04-23 08:17:35 +0200oo_miguel(~Thunderbi@78-11-181-16.static.ip.netia.com.pl)
2024-04-23 08:14:45 +0200danza(~francesco@151.35.152.107)
2024-04-23 08:11:11 +0200julie_pilgrim(~julie_pil@user/julie-pilgrim/x-1240752)
2024-04-23 08:11:10 +0200philopsos(~caecilius@user/philopsos) (Ping timeout: 245 seconds)
2024-04-23 08:08:07 +0200peterbecich(~Thunderbi@47.229.123.186) (Ping timeout: 255 seconds)
2024-04-23 08:06:46 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2024-04-23 08:00:16 +0200bitmapper(uid464869@id-464869.lymington.irccloud.com) (Quit: Connection closed for inactivity)
2024-04-23 07:59:10 +0200 <Inst> thanks
2024-04-23 07:58:35 +0200acidjnk(~acidjnk@p200300d6e714dc429de1f5b63f3ace20.dip0.t-ipconnect.de)
2024-04-23 07:58:15 +0200 <glguy> You can fix a particular GHC to use a particular llc and opt executable by editing your local settings file, e.g. .ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib/settings
2024-04-23 07:55:48 +0200dunj3(~dunj3@kingdread.de)
2024-04-23 07:54:22 +0200rosco(~rosco@yp-146-6.tm.net.my)
2024-04-23 07:53:13 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2024-04-23 07:52:17 +0200peterbecich(~Thunderbi@47.229.123.186)
2024-04-23 07:51:05 +0200 <Axman6> https://downloads.haskell.org/ghc/latest/docs/users_guide/phases.html?highlight=pgm#ghc-flag--pgml…⟨cmd⟩
2024-04-23 07:50:57 +0200dunj3(~dunj3@kingdread.de) (Ping timeout: 252 seconds)
2024-04-23 07:50:38 +0200 <Axman6> or you can use -pgmlo opt-14 -pgmlc llc-14 as GHC arguments
2024-04-23 07:49:37 +0200 <Axman6> if you can use an older LLVM install in your path and/or alias opt=opt-14 or something then that might work
2024-04-23 07:45:03 +0200demesne(~demesne@50.35.88.207) (Remote host closed the connection)
2024-04-23 07:39:27 +0200peterbecich(~Thunderbi@47.229.123.186) (Ping timeout: 256 seconds)
2024-04-23 07:33:12 +0200_ht(~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Remote host closed the connection)
2024-04-23 07:32:58 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2024-04-23 07:30:07 +0200Sgeo(~Sgeo@user/sgeo) (Read error: Connection reset by peer)
2024-04-23 07:28:51 +0200rosco(~rosco@yp-146-6.tm.net.my) (Quit: Lost terminal)
2024-04-23 07:27:53 +0200 <dolio> -fllvm doesn't compile to C, though. It uses a GHC-specific calling convention in general llvm.
2024-04-23 07:26:19 +0200 <Inst> so i have clang14 installed via pacman and am trying to figure out how to change system default clang version
2024-04-23 07:25:59 +0200mei(~mei@user/mei)
2024-04-23 07:25:57 +0200 <haskellbridge> <i​rregularsphere> s/could/can
2024-04-23 07:25:55 +0200 <Inst> i heard 9.10 or 9.12 supports up to llvm 18
2024-04-23 07:25:54 +0200mei(~mei@user/mei) (Killed (mercury.libera.chat (Nickname regained by services)))
2024-04-23 07:25:28 +0200 <haskellbridge> <i​rregularsphere> I could only guess...
2024-04-23 07:25:19 +0200 <Inst> i have no idea why this is
2024-04-23 07:25:07 +0200 <haskellbridge> <i​rregularsphere> unsupported llvm version?
2024-04-23 07:24:29 +0200 <Inst> thanks for offering to help, Axman6
2024-04-23 07:23:48 +0200 <Inst> https://media.discordapp.net/attachments/968989726633779215/1232200171152998470/image.png?ex=66289…
2024-04-23 07:23:48 +0200 <Inst> looks like this
2024-04-23 07:22:18 +0200 <Axman6> (oversimplification but roughly true)
2024-04-23 07:22:06 +0200 <Axman6> generally it's as simple as having llvm installed, and GHC just calls `opt` on its llvm output files
2024-04-23 07:21:52 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2024-04-23 07:21:44 +0200 <Axman6> do you have an error?
2024-04-23 07:20:10 +0200 <Inst> now the challenge for me is to figure out how to get -fllvm working
2024-04-23 07:17:48 +0200 <Axman6> -fllvm can be useful for certain kinds of code, mostly code which uses lots of loops and/or numerical things that it can vectorise. But a lot of Haskell code sees no improvement
2024-04-23 07:17:35 +0200 <haskellbridge> <i​rregularsphere> anyway I'm much more interested in the type system, and I don't even program seriously anyway
2024-04-23 07:16:39 +0200 <haskellbridge> <i​rregularsphere> Rust is eager by default and Haskell is lazy by default, I would say
2024-04-23 07:15:58 +0200kritzefitz_kritzefitz
2024-04-23 07:14:59 +0200bilegeek(~bilegeek@2600:1008:b048:47a6:69f5:273e:c742:c5f5) (Quit: Leaving)