delete guileslop and add haskellslop
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
module Main where
|
||||
|
||||
import Foreign (Int32)
|
||||
|
||||
|
||||
foreign export ccall "hello" hello :: IO Int32
|
||||
|
||||
hello :: IO Int32
|
||||
hello = do
|
||||
putStrLn "hello from Haskell!!!"
|
||||
pure 0
|
||||
|
||||
main :: IO ()
|
||||
main = error "defining main shouldn't be necessary since we set -no-hs-main, \
|
||||
\but HLS is yelling at me and i just want to calm her down."
|
||||
Reference in New Issue
Block a user