aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-10-08 22:32:53 +0200
committerTom Smeding <tom@tomsmeding.com>2025-10-08 22:32:53 +0200
commit52cf1e933909f34bf43531810040cdb345b79138 (patch)
treeecfc2bfab3e08c656dc725199055aa69a317d25d
parent947ea218c54cd12f64320f6207fc8da83f7a8c43 (diff)
Set Example module as ghci default
-rw-r--r--chad-fast.cabal4
-rw-r--r--src/Example.hs1
2 files changed, 4 insertions, 1 deletions
diff --git a/chad-fast.cabal b/chad-fast.cabal
index b7270e4..df72133 100644
--- a/chad-fast.cabal
+++ b/chad-fast.cabal
@@ -10,6 +10,9 @@ build-type: Simple
library
exposed-modules:
+ -- default ghci module on top
+ Example
+
Analysis.Identity
Array
AST
@@ -35,7 +38,6 @@ library
Compile.Exec
Data
Data.VarMap
- Example
Example.GMM
Example.Types
ForwardAD
diff --git a/src/Example.hs b/src/Example.hs
index b320ead..1784a48 100644
--- a/src/Example.hs
+++ b/src/Example.hs
@@ -15,6 +15,7 @@ import AST.Pretty
import AST.UnMonoid
import CHAD
import CHAD.Top
+import CHAD.Types
import ForwardAD
import Interpreter
import Language