HeinrichApfelmus / threepenny-gui

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

added mandelbrot sample and removed some ghc warnings #72

Closed CarstenKoenig closed 10 years ago

CarstenKoenig commented 10 years ago

Hi - maybe you are interested in this small additional example (you kind of asked) - there are two images included so maybe you want to use them

I use sublime-haskell to do my editing and cabal-sandboxes to keep my system clean, so I did add some items into .gitignore to keep things clean.

Additionally sublime-haskell (ghc -Wall) had some minor warnings for me (missing type-declarations and one not-needed include) and so I solved this small issues - hope you don't mind - I don't think that this can break anything really (surely does not break my sample).

HeinrichApfelmus commented 10 years ago

Many thanks!

On second thought, I'm not quite sure whether adding the Mandelbrot set generator to the samples folder would be a good idea, because then I would have to maintain it to the end of times... Threepenny is still in flux and it's a lot of work to update every example every time I decide to change the public API, which will probably still happen a couple of times.

Instead, how about this: I'll take a screenshot of the application running in the browser and add a link to your repository in the gallery? Would you be ok with that?

CarstenKoenig commented 10 years ago

Sure - thank you anyway :D

HeinrichApfelmus commented 10 years ago

Added it to the gallery. Thanks!