Skip to content

Instantly share code, notes, and snippets.

View regiskuckaertz's full-sized avatar

Regis Kuckaertz regiskuckaertz

View GitHub Profile
@regiskuckaertz
regiskuckaertz / sudoku.hs
Last active July 11, 2024 13:30 — forked from Ap0c/sudoku.hs
Implementation of sudoku in Haskell, from the FP reading group.
module Sudoku where
type Row a = [a]
type Matrix a = [Row a]
type Digit = Char
type Grid = Matrix Digit
-- sample3 is unsolvable
sample1, sample2, sample3 :: Grid
sample1 = ["2....1.38"