feat[modules]: give datatypes their own file

This commit is contained in:
vegowotenks 2025-06-29 13:51:03 +02:00
parent 0411e8af19
commit 9dfbb4fb1e
4 changed files with 40 additions and 15 deletions

View 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)