feat[modules]: give datatypes their own file
This commit is contained in:
parent
0411e8af19
commit
9dfbb4fb1e
4 changed files with 40 additions and 15 deletions
13
src/Language/Brainfuck/Instruction/Extended/Interaction.hs
Normal file
13
src/Language/Brainfuck/Instruction/Extended/Interaction.hs
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
-- | This module holds the 'Interaction' enum, this allows for nice qualified imports.
|
||||
--
|
||||
-- Also, it makes for smaller compilation units and easier changes, because I I just happen to know what's where.
|
||||
|
||||
module Language.Brainfuck.Instruction.Extended.Interaction (Interaction(..)) where
|
||||
|
||||
-- | All the Interactions with the outside world, I think it is safe to say that this is the final state of this module.
|
||||
|
||||
data Interaction
|
||||
= Read
|
||||
| Write
|
||||
deriving (Show)
|
Loading…
Add table
Add a link
Reference in a new issue