turion / rhine

Haskell Functional Reactive Programming framework with type-level clocks
http://hackage.haskell.org/package/rhine
121 stars 21 forks source link

Add forecastWith #188

Open turion opened 1 year ago

turion commented 1 year ago

@reubenharry Maybe this is something that you can work with for the time being, regarding https://github.com/turion/rhine/pull/186#issuecomment-1253878654? You can set the rhine version to this commit and rhine-bayes to https://github.com/turion/rhine/pull/186. If it is useful to you, I'll merge and eventually release.

reubenharry commented 1 year ago

Ah, very cool, I think this will be useful! What do the a1, a2... represent here? I'm not quite sure I understand exactly what the function does.

turion commented 1 year ago

Since it's a signal function, it will need some input. You need to supply the forecasted input as well. For a pure signal, you'll have a = (), so you can supply [((), ts1), ((), ts2), ...].

turion commented 1 year ago

This doesn't build because stack and nixpkgs don't know about the new version of time-domain yet.