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

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -