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

Problems.P22

Description

Part of Ninety-Nine Haskell Problems. Some solutions are in Solutions.P22.

Synopsis

Documentation

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

Create a list containing all integers within a given range.

Examples

>>> range 4 9
[4,5,6,7,8,9]