Copyright | Copyright (C) 2022 Yoo Chung |
---|---|
License | GPL-3.0-or-later |
Maintainer | dev@chungyc.org |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Some solutions to Problems.P77 of Ninety-Nine Haskell Problems.
Synopsis
- randomWalkPaths :: Int -> [[Int]]
Documentation
randomWalkPaths :: Int -> [[Int]] Source #
Returns all the one-dimensional random walk paths with \(n\) steps starting from position 0.