Newest at the top
2024-11-05 16:36:41 +0100 | <Leonard26> | And this is the error log |
2024-11-05 16:36:40 +0100 | <Leonard26> | https://paste.tomsmeding.com/0FCFJiGp |
2024-11-05 16:36:40 +0100 | <Leonard26> | This is my haskell code |
2024-11-05 16:36:39 +0100 | <Leonard26> | https://paste.tomsmeding.com/9JN3hbuD |
2024-11-05 16:34:50 +0100 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Remote host closed the connection) |
2024-11-05 16:34:42 +0100 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) ash3en |
2024-11-05 16:34:20 +0100 | <Leonard26> | Mainly pad_probe_cb and event_probe_cb |
2024-11-05 16:34:19 +0100 | <Leonard26> | This is the code I'm trying to reproduce, I managed to get just about everything right but I can't get some variables to work in the functions outside of the main function. |
2024-11-05 16:34:19 +0100 | <Leonard26> | https://paste.tomsmeding.com/iFRl46SM |
2024-11-05 16:32:57 +0100 | lxsameer | (~lxsameer@Serene/lxsameer) lxsameer |
2024-11-05 16:32:55 +0100 | <Leonard26> | Yes, as I understand it Haskell doens't require pointers, that's just because I'm trying to reproduce some code from C I guess |
2024-11-05 16:31:30 +0100 | <haskellbridge> | <hellwolf> Retro fit Haskell with what you knew from other languages typically works poorly in Haskell. |
2024-11-05 16:30:56 +0100 | <haskellbridge> | <hellwolf> again, I'd probably start with what do you want to achieve, a lot of safe options will get you quite far in Haskell |
2024-11-05 16:30:01 +0100 | <haskellbridge> | <hellwolf> e.g. |
2024-11-05 16:30:00 +0100 | <haskellbridge> | <hellwolf> stuff from Foreign.Marshal.Array |
2024-11-05 16:29:12 +0100 | <l-Shane-l> | and import Foreign.Ptr maybe? |
2024-11-05 16:29:12 +0100 | <l-Shane-l> | {-# LANGUAGE ForeignFunctionInterface #-} |
2024-11-05 16:27:41 +0100 | merijn | (~merijn@77.242.116.146) merijn |
2024-11-05 16:27:27 +0100 | <Leonard26> | I'm a bit concerned of the consequences of unsafe stuff, I think you mean unsafePerformIO? |
2024-11-05 16:26:45 +0100 | <Leonard26> | https://hackage.haskell.org/package/strict-mvar |
2024-11-05 16:26:45 +0100 | <Leonard26> | It tells me that the package is deprecated in favour of another. |
2024-11-05 16:25:42 +0100 | <haskellbridge> | <hellwolf> unless you want to touch some unsafe stuff. |
2024-11-05 16:25:07 +0100 | <haskellbridge> | <hellwolf> IO MVar? |
2024-11-05 16:23:03 +0100 | <Leonard26> | I'm not sure how it is even called in C, I've only learned Haskell up so far, from what I understand it's some type of static variable? |
2024-11-05 16:23:03 +0100 | <Leonard26> | static GstElement *cur_effect; |
2024-11-05 16:23:02 +0100 | <Leonard26> | Particularly I am interested in reproducing this piece of code |
2024-11-05 16:23:02 +0100 | <Leonard26> | Hello! =D I was wondering if in Haskell there is a way to simulate pointers like in C/C++? |
2024-11-05 16:21:38 +0100 | merijn | (~merijn@77.242.116.146) (Ping timeout: 245 seconds) |
2024-11-05 16:19:37 +0100 | Leonard26 | (~Leonard26@49.236.10.26) |
2024-11-05 16:16:54 +0100 | longlongdouble | (~longlongd@2405:201:5c16:135:7459:cd00:c885:3805) (Read error: Connection reset by peer) |
2024-11-05 16:12:13 +0100 | alp | (~alp@2001:861:e3d6:8f80:86cd:f9bc:2fcc:950e) (Remote host closed the connection) |
2024-11-05 16:06:00 +0100 | benkard | mulk |
2024-11-05 16:06:00 +0100 | mulk | (~mulk@pd95146e9.dip0.t-ipconnect.de) (Ping timeout: 246 seconds) |
2024-11-05 16:05:24 +0100 | benkard | (~mulk@pd95146e9.dip0.t-ipconnect.de) mulk |
2024-11-05 15:49:57 +0100 | misterfish | (~misterfis@31-161-39-137.biz.kpn.net) (Ping timeout: 248 seconds) |
2024-11-05 15:49:31 +0100 | Guest12 | (~Guest12@31.154.179.218) (Ping timeout: 256 seconds) |
2024-11-05 15:49:26 +0100 | lxsameer | (~lxsameer@Serene/lxsameer) (Ping timeout: 265 seconds) |
2024-11-05 15:48:13 +0100 | SlackCoder | (~SlackCode@64-94-63-8.ip.weststar.net.ky) SlackCoder |
2024-11-05 15:48:10 +0100 | euleritian | (~euleritia@dynamic-176-006-148-028.176.6.pool.telefonica.de) |
2024-11-05 15:44:36 +0100 | euleritian | (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 265 seconds) |
2024-11-05 15:43:05 +0100 | <iphy> | But thanks, I'll try that |
2024-11-05 15:43:00 +0100 | <iphy> | Good question, I haven't checked the versions |
2024-11-05 15:42:07 +0100 | SlackCoder | (~SlackCode@64-94-63-8.ip.weststar.net.ky) (Ping timeout: 264 seconds) |
2024-11-05 15:32:45 +0100 | <tomsmeding> | my conjecture is that 9.6 changed its handling of quantified constraints, in particular the one in the superclass list of GEq1 https://hackage.haskell.org/package/transformers-compat-0.7.2/docs/Data-Functor-Classes-Generic-In… |
2024-11-05 15:29:37 +0100 | <tomsmeding> | iphy: compiles for me if I add (Show, Read, Eq) to the first deriving clause |
2024-11-05 15:25:43 +0100 | Versality | (~Versality@user/Versality) (Remote host closed the connection) |
2024-11-05 15:22:59 +0100 | <tomsmeding> | iphy: is it the ghc version that makes the difference, or the version of some library? Are you using the same version of transformers-compat in both cases? |
2024-11-05 15:20:23 +0100 | <iphy> | this is the error https://www.irccloud.com/pastebin/VqT6CteH/error |
2024-11-05 15:19:30 +0100 | <iphy> | this is not working on ghc 9.6.5 anymore, but it works on 9.4.3. am I doing something wrong? is there something new I need to do for this? |
2024-11-05 15:18:50 +0100 | <iphy> | https://www.irccloud.com/pastebin/dwAsXj9Z/ |