Export Command to separate module
This commit is contained in:
9
app/Command.hs
Normal file
9
app/Command.hs
Normal file
@@ -0,0 +1,9 @@
|
||||
module Command (
|
||||
Command(..)
|
||||
) where
|
||||
|
||||
import qualified Instruction as I
|
||||
|
||||
data Command = Command { instr :: I.Instruction
|
||||
, args :: [Int]
|
||||
} deriving (Eq, Show)
|
||||
Reference in New Issue
Block a user