This is a repost from github, but I'd be glad for some insight.
Every time I try to compile my nim program I get the same error. Invalid type:
'proc' in this context 'proc (ui: NimUI, btn: Button)' for proc
I'm trying to implement a simple ui in Nim with sdl2.
Button is an reference object
Let me help you out. I'll emphasize the relevant word to make it easier for you.
> I can let other opinions stand and have no need to "facepalm" or similar to
> otherwise belittle or attack **anyone** here
Maybe, just maybe one might take my opinion re. D as "attack" or belittling IFF
I had it
That actually works! Maybe, we should mention this in the documentation of
startProcess until we have a better implementation.
So? You have your opinion and I have mine - and as you saw (with my no further
discussing with someone else) I _can_ let other opinions stand and have no need
to "facepalm" or similar to otherwise belittle or attack anyone here. In fact I
assume the differences in our views largely stem from
I was hoping for a more adult analysis of [Alexandrescu's introspection
talks](https://www.youtube.com/results?search_query=Alexandrescu+Introspection)
and Nim vs D...
> FWIW I had a look at D multiple times and learned to fervently dislike it. My
> personal summary is that D is but yet
Ok everything went smooth. I just have to create a script to update the
constants automatically.
Didn't follow the discussion, but maybe this helps: writing to a child process
input stream is buffered. When `p.inputStream.flush` is inserted after every
call to `p.inputStream.writeLine` in a.nim, the code in the OP works.
Hi, I am polishing my raw socket lib.
But, I would like to add some platform constants via detect so that I get my
modifications back automatically ( and others as well).
But it breaks my installation once I move the linux_const.nim because of
incorrect type(TSa_family) but should be cint. Si
Ignore this! Basic error in cross-language DLLs - the second example is of
course Undefined Behaviour.
That's good news @timothee! I was thinking about implementing a new
startProcess through C but I don't have the time now.
I see you submitted an issue there
[https://github.com/cs01/gdbgui/issues/210](https://github.com/cs01/gdbgui/issues/210)
is this still a problem?
Thanks - yes digging into the structure is my plan for today.
Delphi, IMO, is still the best tool around for developing desktop apps, but
it's not so good for number crunching. I'm investigating using Nim for that
part. I thought I had the interop all sorted out until I came across this
A bit late to the party and really not proud of all of them, but here is my
repo:
[https://github.com/bonflintstone/AdventOfCode](https://github.com/bonflintstone/AdventOfCode)
I guess my favorites were 8, 9 and 13. 13 was really nice to visualize and I
actually created some more tracks later
14 matches
Mail list logo