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 'Operation' 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.Operation (Operation(..)) where
-- | All the Operations that are allowed on a Variable in the Extended Instruction format.
data Operation
= Add
| Subtract
deriving (Show)