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

Solutions.P77

Description

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

Synopsis

Documentation

randomWalkPaths :: Int -> [[Int]] Source #

Returns all the one-dimensional random walk paths with \(n\) steps starting from position 0.