Nim Clojure Similarity

Hello world, I am Upendra Upadhyay. This is my first post and I have been trying to write for a long time. I think there is no better time than now. I have been trying to learn Haskell for past 3 years in my free time, but was never able to code anything useful; mostly did fibonacci, sieve of eratosthenes, and sudoku - which was taking lot of memory and time because of bad pruning. ...

November 26, 2022 · 2 min · Upendra Upadhyay

Trick 1 The trick is to have a linked list and using the offsetof to find the actual address of the struct. Trick 2 And a struct containing a function accepting itself, which ensure that you can add new params in the sturct, without modifying rest of the code.

1 min · Upendra Upadhyay