Dear functional programmers,
this is a short trip to desktop development in .Net.
If you like F#, you will design some models with record types and maybe you retrieve their items with type providers
Now you bind the array to a DataGrid and you can show a nice UI.
What if you want to update a status message from the app logic to some items of the UI?
Do you have to refactor all those records into plain old objects (= classes)?
Well, that’s not need! You simply leverage the compositional property of the binding path in .Net implementation of the MVVM pattern.
So you just add a new ui member to the F# record type
and you define the binding in a grid column
Happy coding, cheers!