Tyson Williams

Results 74 issues of Tyson Williams

There would be one overload for each type of `validate` function currently supported. All such function take `'model` as input and return one of these: 1. `string list` 2. `string...

Now that validation can be added as a composable effect, what should be the behavior when this effect is added more than once to a single binding? The current behavior...

I would like the binding API include composable effects like - [x] Sticky (https://github.com/TysonMN/Elmish.WPF/commit/e4849b1840e217205ea5d986ab7ca9dd15e454db) - [x] [lazy](https://guide.elm-lang.org/optimization/lazy.html) during update (like `oneWayLazy`, `oneWayOptLazy`, and `oneWaySeqLazy` when being updated) (c.f. #143) -...

> When `--warnon:3390` is enabled, the compiler verifies the syntax of the XML and the parameters referred to in `` and `` tags. https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/xml-documentation#compile-time-checking

Sometimes I would like if a binding could send multiple messages. Here are three approaches that come to mind for how to handle multiple messages. ### Specific composite message ```fsharp...

`ObservableCollection` does not currently have bulk add support, but [Microsoft plans to add it](https://github.com/dotnet/runtime/issues/18087). We could make some minor improvements with this. Current milestone is .NET 5. On the other...

The parameter order in the `set` parameter of `Binding.twoWay` differs from the parameter order of the function accepted by `Binding.mapMsgWithModel`. IIRC, one advantage of the order within `Binding.mapMsgWithModel` is that...

This issue spun out of #131. We should improve the documentation of `'id` to say how equality is computed. Currently, equality is computed explicitly using F#'s [`(=)`](https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/symbol-and-operator-reference/arithmetic-operators#summary-of-binary-comparison-operators) and implicitly using...

https://devblogs.microsoft.com/nuget/add-a-readme-to-your-nuget-package/

This is a spin off of https://github.com/xperiandri/Elmish.Uno/pull/1. UWP has support for incremental loading via the [`ISupportIncrementalLoading` interface](https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Xaml.Data.ISupportIncrementalLoading). Is something like this possible for WPF? Even if not, is there better...