## Basic tic-tac-toe matrix in Haskell

Problem Beginner functional programmer… (but not beginner programmer) Currently, I have the following code: import Control.Monad (mapM_) main = gridMaker […]

## Reducing a list of points into a list of pairs of points

Problem I have some data… let points = [(718, 620), (4596, 1280), (410, 333), (4597, 993), (410, 337), (4597, 996), […]

## Naive Bayes classifier

Problem I just started learning Haskell, and I must say it is unlike anything else. As my first not-entirely-trivial piece […]

## Getting items that have more than one entry in the array with optimized code

Problem let array = [1,7,2,2,3,7,4]; while(array.length){ // get last item let item = array.pop() // remove duplicates const filteredArray = […]

## A simple reactjs form to calculate the liquidity ratio, daily cost of running, and days cash on hand

Problem This is just a very simple form that tells you the liquidity ratio, daily cost of running, and days […]

## Recursively find TypeScript files imported/exported from an entry point

Problem I’d like to know what’s the best practice as functional programming in JavaScript to work with arrays and passing […]

## Python tokenizer in Haskell + Parsec

Problem I wrote a tokenizer/lexer (difference?) for Python in Haskell: this is my code on GitHub. I already tested it […]

## Palindrome test in Haskell

Problem I am new to Haskell and, coming from a OO/procedural programming background, I want to make sure my code […]

## This technique for functional programming, and testing functional programming

Problem I’ve been playing around with functional programming and testing with jest recently. An issue I’ve run into, is that […]

## “Hell Difficulty” Haskell Fast & Hard

Problem I’m a complete neophyte to Haskell with only a smidge of FP experience – I did some Racket programming […]