Hello all. Looking to learn some fundamental things about Elm. Background, I’m coming from C# so please be patient with me.
If the language can only deal in pure functions, how does it get input from the outside world? I think I have a rough idea, but please correct me.
The state of the world is seen as one big piece of data.
The current state of the world, W1, plus some arguments, are passed into Elm runtime.
Elm runtime evaluates, and spits out a new world state, W2, waiting for the next set of arguments.
Rinse and repeat. Basically like a REPL?