Dynamic Typing in Nim

2024-01-23 Thread Lantos
cool, can i "0" == -null Run though?

mixed typed varargs?

2023-11-19 Thread Lantos
thanks for the replys template printThings(args: auto) = for arg in `args`.fields: echo arg Run works but interested in how [typed] Run might look like

mixed typed varargs?

2023-11-19 Thread Lantos
Ahh, thanks.

mixed typed varargs?

2023-11-19 Thread Lantos
Hi, are mixed typed varargs possible? proc printThings(args: varargs[string | int]) = for arg in args: when arg is string: echo arg when arg is int: echo arg printThings( "words", "to", "prin

What's stopping Nim from going mainstream? (And how to fix it?)

2023-11-03 Thread Lantos
I don't want nim to become mainstream, It's our little secret. 😄

Advanced Compilers: Self-Guided Online Course

2023-03-14 Thread Lantos
nice find

Windows Screen Capture Help

2023-03-12 Thread Lantos
Hey Naterlarsen, looks like you are new to the forums so Welcome! Just for future posts you can use code blocks to format your code so that it is easier for people to read your code to help you out. You can use three back ticks and then the short name of the language to do so like ```nim your

why use nim over c#?

2023-03-01 Thread Lantos
"The risk is being frustrated and giving up. But doing something you're intrinsically curious and motivated about also give you strength to overcome the obstacles. Though don't hesitate to take a break if you're stuck, you can try a new language or a small project or do something else before com

server-client webframework

2022-08-12 Thread Lantos
would be cool to see this if you have the time

How to get just the first N bytes with httpclient ?

2022-08-08 Thread Lantos
of Http200: # data iterator for data in resp.body(): echo data Run <https://github.com/lantos-lgtm/nim-http>

downloading big files

2022-07-25 Thread Lantos
This is something related that !Patitotective and I have been talking about on discord. I think that there could be a better way to recv data from httpclient. Welcoming anyones brain power to help with this Currently httpClient.bodyStream is Stream | FutureStream[string] which means you can ac