|
|
|
|
|
by gilmi
1585 days ago
|
|
To further elaborate, this is the error you get on the latest GHC version (9.2.1): GHCi, version 9.2.1: https://www.haskell.org/ghc/ :? for help
ghci> 1 + [2, 3]
<interactive>:1:1: error:
* No instance for (Num [Integer]) arising from a use of `it'
* In the first argument of `print', namely `it'
In a stmt of an interactive GHCi command: print it
|
|