GenFRP: Functional Reactive Programming in Elixir

I don’t see a link to the repo, I think you missed it :smiley:

Looking at the example, I’m not sure I understand the decision to pass the initial state to the use macro. Wouldn’t it be better to follow the example of all the OTP behaviours and have an init/1 callback for computing the initial state? It doesn’t require the initial state to be a compile-time constant, like the current solution does.

1 Like