Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kutyel/haskell-kata

👾 Code for my Haskell Kata for CodeWars and Maybe Twitch/Youtube!
https://github.com/kutyel/haskell-kata

Last synced: 3 months ago
JSON representation

👾 Code for my Haskell Kata for CodeWars and Maybe Twitch/Youtube!

Awesome Lists containing this project

README

        

# Haskell Katas from CodeWars! 🥷🏻

[![Actions Status](https://github.com/kutyel/haskell-kata/workflows/Haskell%20CI/badge.svg)](https://github.com/kutyel/haskell-kata/actions)

This is the repo I use to solve the katas in Haskell and maybe ocasionally stream on Twitch. 🤞🏻

## Usage

As any normal Haskell project, you just fire everything inside _ghci_ and tweak the code until it works:

```sh
Configuring GHCi with the following packages:
GHCi, version 9.4.5: https://www.haskell.org/ghc/ :? for help
ghci> :l Codewars.Kata.Braces
[1 of 1] Compiling Codewars.Kata.Braces ( Codewars/Kata/Braces.hs, interpreted )
Ok, one module loaded.
ghci> main
```

In case you need to load up _ghci_ with packages again:

```sh
stack repl --package megaparsec
```

In theory, the Cabal version should work too (`cabal repl --ghc-option='-package megaparsec'`) but we both know how useless Cabal is... 😏