davedawkins / Sutil

Lightweight front-end framework for F# / Fable. No dependencies.
https://sutil.dev
MIT License
285 stars 17 forks source link

Added Observable.map2 and Store.map2 functions #84

Open sajagi opened 1 month ago

sajagi commented 1 month ago

Hi,

As discussed ages ago on Slack, here's a PR for Store.map2 and Observable.map2. I was able to test this after modifying the .sln to include Fable.Expect project and updated npm packages for test-runner (these changes are not included in this PR).

Since zip is just a generalization of map2, I took the liberty of using the latter to implement it.