Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Creating a GUI application in Haskell with GTK+

Description

This project serves as a companion codebase for Stack Builder's blog post "Creating a GUI application in Haskell."

Installation

For installation instructions of C libraries required by Gtk2Hs and haskell-gi, please refer to the Gtk2Hs Github Repository. The installation process may vary depending on your operating system, so make sure to follow the instructions specific to your platform.

WARNING: This setup is incompatible with ARM architectures.

Building and Running the Project

  1. Clone the Repository: Clone this repository to your local machine and navigate to the project directory.

    git clone https://github.com/stackbuilders/blog-code.git
    cd haskell/gtk-gui/
  2. Build the Project: Use Stack to build the project.

    stack build
  3. Run the Project: Run the project with the following command:

     stack exec gtk-gui-exe