X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FMain.hs;h=84485589683f114a381ff4de372b034fb46646a5;hb=65c78573af4a1049a848a3df8a968a4eb1b1acc1;hp=ae8c5e39c703491449d01bc95058f2cb67b61c80;hpb=bbf72ed357e9ef62822f05a9c6db772a3d4682dd;p=spline3.git diff --git a/src/Main.hs b/src/Main.hs index ae8c5e3..8448558 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -8,10 +8,16 @@ import qualified Data.Array.Repa as R import Data.Maybe ( fromJust ) import GHC.Conc ( getNumProcessors, setNumCapabilities ) import System.IO ( hPutStrLn, stderr ) -import System.Exit ( exitSuccess, exitWith, ExitCode(..) ) - -import CommandLine ( Args(..), apply_args ) -import ExitCodes +import System.Exit ( + ExitCode( ExitFailure ), + exitSuccess, + exitWith ) + +import CommandLine ( + Args(Args, depth, height, input, lower_threshold, output, + scale, slice, upper_threshold, width), + apply_args ) +import ExitCodes ( exit_arg_not_positive, exit_arg_out_of_bounds ) import Grid ( zoom ) import Volumetric ( bracket_array,