Skip to content

ktak-007/stackWxHelloWorld

Repository files navigation

Hello World in wxHaskell on top of Stack technology

This project appeared as part of my self-study by wxHaskell. Instructions which I found described build process with Cabal. I could not build any wxHaskell application with Cabal because wxHaskell libs is not compatible with modern Haskell. The way out is to build application using Stack which lets to point lts (see the site https://www.stackage.org). Lts-11.8 was the freshiest when I started and hello world was not build. My helloWorld build is Ok with lts-9.21.

Show of view

After application run you can view main window with menuBar, toolBar, statusBar and quitButton:

Main Window

If you click on "Open" toolBar button or "Open" menuItem you can see helloModalDialog:

Main Window

In addition there is "About" window (simple infoDialog window).

To exit you can use several ways: press quitButton in mainWindow or press menuQuit in menuPane or press close button on window frame.

How to install

  1. Install Stack: https://docs.haskellstack.org/en/stable/install_and_upgrade/
  2. Download sources of stackWxHelloWorld
  3. Cnange dir to stackWxHelloWorld
  4. Run setup stack setup. It will prepare appropriate lts for project
  5. Run build stack build. It will build wxHaskell libs and project. You can run on-the-fly builder stack build --file-watch if you want to develop project.
  6. Run the binary stack exec stackWxHelloWorld.

About

Hello World on wxHaskell with Stack technology

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published