Haskell main function doesn't print anything after it is run -
i have simple module this:
module main import semantic main = let result = linearize [] print result after click on .hs file, says modules loaded , can't see final result. there don't know?
how running code? normally, you'd use runhaskell compile , run, or can in 2 steps ghc --make. since it's saying modules loaded successfully, i'm guessing it's getting opened in ghci, interactive haskell shell, used testing , experimentation. try running file runhaskell.
Comments
Post a Comment