Copyright | (c) Eric Mertens 2021 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data Scramble
- number :: ReadP Int
- s :: ReadP Scramble
- part1 :: String
- part2 :: String
- main :: IO ()
- rotateRight :: Int -> [a] -> [a]
- rotateLeft :: Int -> [a] -> [a]
- set :: Int -> a -> [a] -> [a]
- forward :: Scramble -> String -> String
- backward :: Scramble -> String -> String
- rotatePositionOf :: Eq p => p -> [p] -> [p]
- reverseRange :: Int -> Int -> [a] -> [a]
- movePosition :: Int -> Int -> [a] -> [a]
Documentation
rotateRight :: Int -> [a] -> [a] Source #
rotateLeft :: Int -> [a] -> [a] Source #
rotatePositionOf :: Eq p => p -> [p] -> [p] Source #
reverseRange :: Int -> Int -> [a] -> [a] Source #
movePosition :: Int -> Int -> [a] -> [a] Source #