fsprojects / FSharp.Control.Reactive

Extensions and wrappers for using Reactive Extensions (Rx) with F#.
http://fsprojects.github.io/FSharp.Control.Reactive
Other
284 stars 60 forks source link

Tutorial doesn't compile #88

Closed Lenne231 closed 6 years ago

Lenne231 commented 8 years ago

Description

The example on http://fsprojects.github.io/FSharp.Control.Reactive/tutorial.html doesn't seem to compile.

Expected behavior

There should be no compiler error.

Actual behavior

There is a compiler error: "This value is not a function and cannot be applied"

Known workarounds

Observable.zip expects two observables as parameters we have to use Observable.zipWith which expects a function as a first parameter and two observables.

https://github.com/fsprojects/fsharp.control.reactive/blob/5cee39af56fb732c2baa58bc3d1d791c34c21692/src/FSharp.Control.Reactive/Observable.fs#L1848

panesofglass commented 7 years ago

The fix is in the docs source but has not yet been published, apparently due to #84. 😖

panesofglass commented 6 years ago

Fixed in #110.