I'd like to implement this little code in Clojure, but I am struggling:
struct mystruct { int id; int price; }; mystruct mydata[10]; for (int i=0; i<10; i++) { myfunction(mydata[i].id, mydata[i].price); //other things... } I am a beginner with Clojure and it's really complicated for me to do something simple like this, but I am really trying to learn as much as possible as I know that there are great advantages with Clojure such as using refs...
I would really appreciate it if somebody could help me. Thanks!!