HeinrichApfelmus / threepenny-gui

GUI framework that uses the web browser as a display.
https://heinrichapfelmus.github.io/threepenny-gui/
Other
441 stars 77 forks source link

loadFile in Canvas.hs #174

Closed ghost closed 7 years ago

ghost commented 7 years ago

The functions loadFile and loadDirectory have been removed ...

as of v0.6.0.0 according to the changelog, but the sample file Canvas.hs still uses loadFile.

Strangely, the git-cloned threepenny-gui compiles ok, but in my own project the loadFile function is not found in Graphics.UI.Threepenny.

duplode commented 7 years ago

Strangely, the git-cloned threepenny-gui compiles ok, but in my own project the loadFile function is not found in Graphics.UI.Threepenny.

That's because these functions were reintroduced a few commits ago. Cf. issue #110 .

HeinrichApfelmus commented 7 years ago

The functions are part of the 0.8 release, which I have just uploaded to hackage.