solutions-learn-physics-with-fp-0.1.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Chapter06

Synopsis

Documentation

type R = Double Source #

yRock :: R -> R -> R Source #

vRock :: R -> R -> R Source #

greaterThanOrEq7' :: Int -> Bool Source #

Exercise 6.4.

isLongerThan :: Int -> String -> Bool Source #

Exercise 6.5. True if and only if s has length > n

hasMoreThan6Elements :: [a] -> Bool Source #

Exercise 6.6. Has more than 6 elements

first1000Squares :: [Integer] Source #

Exercise 6.8.

repeat' :: a -> [a] Source #

Exercise 6.9.

replicate' :: Int -> a -> [a] Source #

Exercise 6.10.