aboutsummaryrefslogtreecommitdiffstats
path: root/src/Verismith/Shuffle.hs
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-07-23 12:52:06 +0200
committerYann Herklotz <git@yannherklotz.com>2021-07-23 12:52:06 +0200
commit7cdea045e75f2246243461ae0579c3dfe27f8afb (patch)
tree1e23ccb8bb32b084d321581b95d4cc7dc1948c5a /src/Verismith/Shuffle.hs
parente8cc0d0d2902ad06133f196ea23c23962ec55b0f (diff)
downloadverismith-7cdea045e75f2246243461ae0579c3dfe27f8afb.tar.gz
verismith-7cdea045e75f2246243461ae0579c3dfe27f8afb.zip
Fix compilation issues
Diffstat (limited to 'src/Verismith/Shuffle.hs')
-rw-r--r--src/Verismith/Shuffle.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Verismith/Shuffle.hs b/src/Verismith/Shuffle.hs
index d53b18c..0c460e2 100644
--- a/src/Verismith/Shuffle.hs
+++ b/src/Verismith/Shuffle.hs
@@ -103,11 +103,11 @@ shuffleLines = applyModules shuffleLinesModule
renameVariables = applyModules renameVariablesModule
identityMod = applyModules identModule
-shuffleLinesIO :: (SourceInfo a) -> Gen (SourceInfo a)
+shuffleLinesIO :: (SourceInfo a) -> IO (SourceInfo a)
shuffleLinesIO = Hog.sample . shuffleLines
-renameVariablesIO :: (SourceInfo a) -> Gen (SourceInfo a)
-renameVariablesIO = Hog.sample . renameVariables
+renameVariablesIO :: (SourceInfo a) -> IO (SourceInfo a)
+renameVariablesIO = Hog.sample . renameVariables
m' :: SourceInfo ()
m' = SourceInfo "m" [verilog|