Sure. In fact, given that Haskell is purely functional, it’s much easier to define a constant than a non-constant.
magicNumber = 42
magicList = [1..magicNumber]
Sure. In fact, given that Haskell is purely functional, it’s much easier to define a constant than a non-constant.
magicNumber = 42
magicList = [1..magicNumber]