PS C:\Users\murod\OneDrive\Desktop> ghci 11.hs
GHCi, version 8.10.2:
https://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Main ( 11.hs, interpreted )
11.hs:9:3: error:
* Variable not in scope: replicateM_ :: t0 -> IO () -> IO ()
* Perhaps you meant `replicate' (imported from Prelude)
|
9 | replicateM_ n greet
| ^^^^^^^^^^^
Failed, no modules loaded.