ninetynine-1.3.0: Ninety-Nine Haskell Problems
CopyrightCopyright (C) 2023 Yoo Chung
LicenseGPL-3.0-or-later
Maintainerdev@chungyc.org
Safe HaskellSafe-Inferred
LanguageGHC2021

Solutions.P99

Description

Some solutions to Problems.P99 of Ninety-Nine Haskell Problems.

Synopsis

Documentation

solveCrossword :: Crossword -> Maybe [[Maybe Char]] Source #

Solve a crossword puzzle.

randomSolveCrossword :: RandomGen g => Crossword -> g -> (Maybe [[Maybe Char]], g) Source #

Solves a crossword puzzle.

When there is a need to make a guess, the given source of randomness is used.