Last updated
Last updated
Before you begin with the installation and usage of this programming language, make sure that you have the following dependencies installed on your system:
GHC (Glasgow Haskell Compiler): GHC is the premier Haskell compiler, providing a robust and efficient compilation environment for Haskell programs. Visit the GHC official website () to download and install the latest version of GHC based on your operating system.
Stack: Stack is a cross-platform program for developing Haskell projects, providing a consistent and reproducible build environment. You can install STACK by following the instructions on the official STACK website (). The installation process may vary depending on your operating system.
Makefile: Makefile is a build automation tool used to compile and build projects. It is often used in conjunction with Haskell projects to streamline the build process. Makefile is typically included with Unix-like operating systems.
Verifying Installation:
After installing the prerequisites, you can verify the installation by running the following commands in your terminal or command prompt:
To check GHC installation:
To check STACK installation:
To check Makefile installation:
Ensure that the reported versions are consistent with the latest versions available on the respective project websites.
Note: It is recommended to refer to the official documentation of each tool for more detailed and up-to-date installation instructions. Additionally, ensure that the required tools are added to your system's PATH environment variable to make them accessible from any directory in your terminal or command prompt.