Skip to content

ozcod/haskell_dsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸŒ€ Haskell Practice

A collection of problems, concepts, and explorations I’ve practiced while learning Haskell. This repository serves as a personal journey through functional programming, with examples ranging from beginner concepts to more advanced functional patterns.


πŸ“š About This Repo

This repo contains:

  • βœ… Solved problems – coding challenges implemented in Haskell.
  • βœ… Concept explorations – experiments with Haskell’s core concepts like recursion, higher-order functions, type classes, monads, etc.
  • βœ… Notes & references – explanations and takeaways for quick revision.

Whether you’re just starting out with Haskell or revisiting functional programming fundamentals, you might find these snippets useful.


πŸ“‚ Structure

haskell-dsa/
│── problems/         # Coding challenges & exercises
│── README.md         # You are here

πŸš€ Getting Started

Prerequisites

Make sure you have GHC (Glasgow Haskell Compiler) or GHCup installed:

ghc --version

You can install via GHCup:

curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh

Running Code

To compile and run a file:

ghc filename.hs -o output
./output

Or run directly with runghc:

runghc filename.hs

🧩 Topics Covered

Some of the Haskell concepts I’ve explored here include:

  • Functions & Recursion
  • Higher-Order Functions
  • Pattern Matching & Guards
  • List Comprehensions
  • Type Classes & Instances
  • Functors, Applicatives, and Monads
  • IO in Haskell
  • Problem-solving with a functional mindset

🌱 Goals

  • Strengthen my functional programming skills
  • Build a solid foundation in Haskell
  • Document my learning journey

🀝 Contributions

This repo is mainly for my personal practice, but if you spot improvements or want to add new problems/concepts, feel free to open a pull request or issue.


πŸ“œ License

This project is open-source under the MIT License.


About

Functional Programing practice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors