<< 05-03-2026 >>

00:12:27*xet7 joined #nim
00:27:30*xet7 quit (Ping timeout: 248 seconds)
00:36:00*beholders_eye quit (Ping timeout: 245 seconds)
00:40:04*xet7 joined #nim
02:33:39*gabreal_ joined #nim
02:36:21*gabreal quit (Ping timeout: 246 seconds)
03:28:26FromDiscord<_russianlifts> kind of a dumb question but for procedural types, i can pass regular functions just fine by name, but what if i have a generic function that i want to pass? something like `my_function[A, B]` doesn't work as compiler thinks it's just an incomplete function call. i'm failing to find anything in the manual about this. thanks for any information
03:29:44*xet7 quit (Ping timeout: 252 seconds)
03:36:53*rockcavera quit (Remote host closed the connection)
03:40:41FromDiscord<Laylie> show code and error. but it might be this\: https://nim-lang.org/docs/manual.html#procedures-method-call-syntax
03:42:00*xet7 joined #nim
03:44:21FromDiscord<_russianlifts> sent a code paste, see https://play.nim-lang.org/#pasty=jcopnEIV
03:48:09FromDiscord<_russianlifts> nim manual doesn't mention anything on this and i can't find much on forums, though i'm probably missing something; i am using generics to have comptime type safety in the array bounds of a simulation, and am trying to do some multithreading. it would be nice if i could pass an instantiated proc this way because the alternative is quite annoying with type sizing
03:59:46FromDiscord<Laylie> i can't reproduce the error
04:01:19*gabreal_ quit (Quit: Cleanly disconnecting(pray for me))
04:05:11FromDiscord<_russianlifts> Hu
04:05:12FromDiscord<_russianlifts> (edit) "Hu" => "Huh"
04:05:13FromDiscord<_russianlifts> you're right
04:05:31FromDiscord<_russianlifts> sent a code paste, see https://play.nim-lang.org/#pasty=cJXRqijx
04:05:56FromDiscord<_russianlifts> not sure then, i'll look closer
04:08:54FromDiscord<_russianlifts> sent a code paste, see https://play.nim-lang.org/#pasty=RtwJuDxt
04:12:44FromDiscord<_russianlifts> In reply to @_russianlifts "i have a signature:": ah... the param here was generic and i forgot to instantiate it in the proc signature...
04:36:19*Artea quit (Ping timeout: 264 seconds)
05:08:32*Artea joined #nim
05:30:44*xet7 quit (Ping timeout: 252 seconds)
05:43:02*xet7 joined #nim
06:26:52*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
06:29:43*SchweinDeBurg joined #nim
06:30:32*SchweinD1 joined #nim
06:34:12*SchweinDeBurg quit (Ping timeout: 255 seconds)