A useful pattern for I/O heavy or view-less apps. User defines an order type to use instead of Cmd<'msg> and an "execute" function processing said orders and dispatching message. It frees the update function from command code, centralizes I/O in a elmishy way and exempts from the Cmd module. Inspired by the CmdMsg pattern, see: https://fsprojects.github.io/Fabulous/Fabulous.XamarinForms/update.html#replacing-commands-with-command-messages-for-better-testability
6 people like thisPosted: 3 years ago by Julien Di Lenarda
A basic implementation.
0 people like thisPosted: 2 years ago by Julien Di Lenarda
I'm bad at math and writing this code down helped me to understand what's up with this counter intuitive problem.
4 people like thisPosted: 3 years ago by Julien Di Lenarda
(Please ignore previous entry of the same name)
0 people like thisPosted: 2 years ago by Julien Di Lenarda