Making sure that it builds is annoying
This commit is contained in:
6
app/Clash.hs
Normal file
6
app/Clash.hs
Normal file
@ -0,0 +1,6 @@
|
||||
import Clash.Main (defaultMain)
|
||||
import Prelude
|
||||
import System.Environment (getArgs)
|
||||
|
||||
main :: IO ()
|
||||
main = getArgs >>= defaultMain
|
6
app/Clashi.hs
Normal file
6
app/Clashi.hs
Normal file
@ -0,0 +1,6 @@
|
||||
import Clash.Main (defaultMain)
|
||||
import Prelude
|
||||
import System.Environment (getArgs)
|
||||
|
||||
main :: IO ()
|
||||
main = getArgs >>= defaultMain . ("--interactive":)
|
@ -1,8 +0,0 @@
|
||||
module Main where
|
||||
|
||||
import qualified MyLib (someFunc)
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
putStrLn "Hello, Haskell!"
|
||||
MyLib.someFunc
|
Reference in New Issue
Block a user