davedawkins / Sutil

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

Documentation: Store.distinct example does not compile when "Open in Repl". #79

Open PiotrW3106 opened 1 year ago

PiotrW3106 commented 1 year ago

Hi Dave

I stumbled across your Sutil project and I am finding it very interesting. I am working through the documentation on Stores (https://sutil.dev/#documentation-stores), specifically the "Store.distinct" example does not seem to compile when I click "Open in Repl".

It seems the types are wrong.

Please see the errors: Store distinct sutil doc example in repl broken Screenshot from 2023-03-23 15-08-18

Thanks

Piotr

PiotrW3106 commented 1 year ago

Just noticed that on the same page, the Store.zip has a typo: "Strore" - but when you open it in the Repl it remove the extra "r" in the word "Strore" you get the similar type errors.

davedawkins commented 12 months ago

Sorry to have missed this - this looks like an old sample. I wil get it updated. Thanks for the report