-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathMain.hs
More file actions
21 lines (19 loc) · 749 Bytes
/
Main.hs
File metadata and controls
21 lines (19 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module Main where
import qualified Chipotle
import qualified OneBillionRowChallenge
import qualified TypedHousingMini
import System.Environment (getArgs)
main :: IO ()
main = do
args <- getArgs
case args of
["chipotle"] -> Chipotle.run
["california_housing"] ->
putStrLn "california_housing example requires hasktorch (disabled on Windows)."
["one_billion_row_challenge"] -> OneBillionRowChallenge.run
["iris"] ->
putStrLn "iris example requires hasktorch (disabled on Windows)."
["typed_housing_mini"] -> TypedHousingMini.run
_ ->
putStrLn
"Usage: examples <chipotle|california_housing|one_billion_row_challenge|iris|typed_housing_mini>"