2024/05/29

Newest at the top

2024-05-29 21:50:23 +0200Rodney_(~Rodney@176.254.244.83)
2024-05-29 21:48:47 +0200tomboy64(~tomboy64@user/tomboy64) (Ping timeout: 260 seconds)
2024-05-29 21:43:59 +0200waleee(~waleee@h-176-10-144-38.NA.cust.bahnhof.se)
2024-05-29 21:37:20 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com)
2024-05-29 21:34:33 +0200Guest|20(~Guest|20@104.28.64.12) (Quit: Connection closed)
2024-05-29 21:31:42 +0200hgolden(~hgolden@2603:8000:9d00:3ed1:2678:8497:aa5c:7fa9)
2024-05-29 21:24:46 +0200hgolden_(~hgolden@2603:8000:9d00:3ed1:2678:8497:aa5c:7fa9) (Remote host closed the connection)
2024-05-29 21:22:48 +0200Lycurgus(~georg@user/Lycurgus)
2024-05-29 21:15:27 +0200visilii_(~visilii@213.24.125.2)
2024-05-29 21:15:17 +0200visilii(~visilii@213.24.125.5) (Ping timeout: 240 seconds)
2024-05-29 21:11:14 +0200son0p(~ff@186.114.53.36) (Ping timeout: 268 seconds)
2024-05-29 21:02:57 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
2024-05-29 21:02:40 +0200euleritian(~euleritia@dynamic-176-006-023-147.176.6.pool.telefonica.de) (Read error: Connection reset by peer)
2024-05-29 20:58:01 +0200euleritian(~euleritia@dynamic-176-006-023-147.176.6.pool.telefonica.de)
2024-05-29 20:53:56 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 260 seconds)
2024-05-29 20:46:17 +0200 <joeyadams> I got around my problem by adding a helper method with a type signature, and disabling a warning. I also had to make sure the field selector was in scope.
2024-05-29 20:44:54 +0200 <joeyadams> phh8: Thanks. I'm using that, but I believe it only handles get right now. The GHC devs are still working on set; see https://gitlab.haskell.org/ghc/ghc/-/wikis/records/overloaded-record-fields
2024-05-29 20:40:01 +0200remedan(~remedan@ip-62-245-108-153.bb.vodafone.cz)
2024-05-29 20:29:39 +0200 <Guest|20> exa, that is my temporary solution. Unfortunately the only thing the jsaddle-warp api allows, is to append custom javascript. But maybe I am missing something and someone can share a proper way to do this.
2024-05-29 20:25:28 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 260 seconds)
2024-05-29 20:24:26 +0200 <ph88> joeyadams, this is what you want to use https://downloads.haskell.org/ghc/latest/docs/users_guide/exts/overloaded_record_dot.html
2024-05-29 20:16:30 +0200remedan(~remedan@ip-62-245-108-153.bb.vodafone.cz) (Quit: Bye!)
2024-05-29 20:15:50 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com)
2024-05-29 20:15:25 +0200 <[exa]> Guest|20: at absolutely worst you can modify the jsaddle-warp to deliver a modified html that includes your custom stylesheet. But I guess they'll have a custom function for that
2024-05-29 20:12:35 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 264 seconds)
2024-05-29 20:10:58 +0200 <lxsameer> monochrom: you teach haskell right?
2024-05-29 20:07:31 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com)
2024-05-29 20:05:41 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 240 seconds)
2024-05-29 20:04:45 +0200pavonia(~user@user/siracusa) (Quit: Bye!)
2024-05-29 20:03:35 +0200Square2(~Square4@user/square)
2024-05-29 20:01:43 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com)
2024-05-29 19:55:21 +0200 <Guest|20> Hello. I am new to Haskell frontend development. I made a toy project using miso and jsaddle-warp. For development it's nice to not compile to js but use ghcid for reloading. Since jsaddle-warp delivers hardcoded html I wonder if there is a way to "inject" a stylesheet?
2024-05-29 19:54:59 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 272 seconds)
2024-05-29 19:47:51 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com)
2024-05-29 19:43:48 +0200euphores(~SASL_euph@user/euphores)
2024-05-29 19:42:12 +0200Tuplanolla(~Tuplanoll@91-159-69-59.elisa-laajakaista.fi)
2024-05-29 19:42:09 +0200Guest|20(~Guest|20@104.28.64.12)
2024-05-29 19:38:43 +0200euphores(~SASL_euph@user/euphores) (Quit: Leaving.)
2024-05-29 19:37:20 +0200tzh(~tzh@c-76-115-131-146.hsd1.or.comcast.net)
2024-05-29 19:34:49 +0200 <joeyadams> In VS Code with the Haskell extension (Haskell Language Server), instance type signatures appear automatically as code lenses. Bless whoever implemented that as well.
2024-05-29 19:31:47 +0200laker(~laker78@user/laker78) (Read error: Connection reset by peer)
2024-05-29 19:31:44 +0200michalz(~michalz@185.246.207.221)
2024-05-29 19:31:24 +0200michalz(~michalz@185.246.207.205) (Quit: ZNC 1.9.0 - https://znc.in)
2024-05-29 19:31:22 +0200 <monochrom> Bless GHC2021, I can now write type sigs in instances :) (Have always wanted that for educational purpose.)
2024-05-29 19:20:41 +0200ocra8(ocra8@user/ocra8)
2024-05-29 19:18:37 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
2024-05-29 19:17:41 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 240 seconds)
2024-05-29 19:14:02 +0200 <joeyadams> When using DuplicateRecordFields, is there a syntax to specify a particular record field when updating? Cases like existingRec{name = "Foo"} fail when there are other records with the same field name. (This bug was fixed very recently, but I'm using stack which wants GHC 9.4.8)
2024-05-29 18:58:45 +0200causal(~eric@50.35.88.207) (Quit: WeeChat 4.1.1)
2024-05-29 18:54:28 +0200ekurtz(~ekurtz@136.62.248.55)