Incredibly n00b question by a 2 days elm learner

So,
here I am, after years of procedural and oop programming, trying to learn Elm.

I started yesterday, so please be kind with my absolute beginner question.
After reading the guide until the “Command and subscriptions” section, I decided to try and implement a very simple tic tac toe.
What could go wrong, I tought… but now I am stuck, so a feedback would be greatly appreciated (again, please be kind :))

I am at the point where I have to set the turn, after the user clicks a cell.
Here is the code:

https://ellie-app.com/6PNgcHjWVMta1

I may be on a completely wrong path to elm… I would like to know what are your thoughts, and what should I levereage better of the guide.

Best,
Carlo

4 Likes