fsprojects / FSharp.Compiler.PortaCode

The PortaCode F# code format and corresponding interpreter. Used by Fabulous and others.
Other
42 stars 11 forks source link

Fix to support Fabulous 0.40 #19

Closed TimLariviere closed 5 years ago

TimLariviere commented 5 years ago

Fabulous changed its Program from Program<'model, 'msg> to Program<'arg, 'model, 'msg> to mimick what's available in Elmish ('view is fixed inside Fabulous).

This change made LiveUpdate stop working because PortaCode was expecting a ProgramRunner with only 2 type arguments. See https://github.com/fsprojects/Fabulous/issues/510

This PR adds support for ProgramRunner`3

Seeing the TODO comment, maybe there would be a better way to do this?

dsyme commented 5 years ago

Thanks, yes, we need to find a better way for this....