/intro-to-haskell

Introductory Haskell tasks exploring recursion, list operations, higher-order functions, and functional problem solving.

Primary LanguageHaskellMIT LicenseMIT

Haskell Programming Tasks

Overview

This repository contains a set of small Haskell programs developed to practice and demonstrate fundamental concepts in functional programming. The tasks are organized into separate folders, each showcasing specific techniques such as recursion, pattern matching, higher-order functions, and list manipulation.

Tasks

  • Task 01 – Basic recursion and list operations
  • Task 02 – Custom sorting and higher-order function use
  • Task 03 – Numeric processing and guards

Each task includes a .hs source file and a minimal local README.md with task-specific context.

How to run on linux operating system (Terminal Commands) :

Step 1 :

sudo apt install ghc

Step 2 :

ghci

Step 3 :

:load  <file_name>.hs

Step 4 :

<function_name> <input_parameters>  

👤 Author

GitHub: xrddev

📝 License

Released under the MIT License. Originally built as part of a university project.