formatting

This commit is contained in:
Rowan Torbitzky-Lane 2025-02-13 23:34:00 -06:00
parent 915ec947f5
commit ed960acef3
4 changed files with 38 additions and 38 deletions

View File

@ -1,11 +1,11 @@
module HushGP.Genome where
import HushGP.State
import HushGP.Utility
import Data.Map qualified as Map
import Data.List
import Data.List.Split
import Data.Map qualified as Map
import HushGP.Instructions.Opens
import HushGP.State
import HushGP.Utility
-- | Makes a random plushy from variables in a passed argMap and
-- a passed list of instructions.

View File

@ -1,9 +1,9 @@
module HushGP.PushTests
module HushGP.PushTests where
-- ( module HushGP.PushTests.GenericTests,
-- module HushGP.PushTests.IntTests,
-- module HushGP.PushTests.UtilTests,
-- )
where
-- import HushGP.PushTests.GenericTests
-- import HushGP.PushTests.IntTests

View File

@ -21,8 +21,8 @@ data Gene
| GeneVectorBool [Bool]
| GeneVectorString [String]
| GeneVectorChar [Char]
-- |State -> State is the function itself. String stores the name of the function.
| StateFunc (State -> State, String)
| -- | State -> State is the function itself. String stores the name of the function.
StateFunc (State -> State, String)
| PlaceInput String
| Close
| Open Int

View File

@ -1,8 +1,8 @@
module HushGP.Utility where
import Control.Monad
import HushGP.State
import System.Random
import Control.Monad
-- | Generates a single random instruction from a list of instructions.
randomInstruction :: [Gene] -> IO Gene