.ghci files for easy ghci launch

This commit is contained in:
Taylor 2025-01-16 03:09:38 -06:00
parent 13bf8e0888
commit 73c5cce879
5 changed files with 4 additions and 5 deletions

View File

@ -1,3 +1,3 @@
:set stop :list
:set prompt "\ESC[1;34m%s \ESC[0;35mλ>\ESC[m "
:load Push GP
:load Main

View File

View File

@ -1,6 +1,3 @@
module Main where
import Control.Exception (assert)
import GP
import Push

View File

@ -1,8 +1,9 @@
module Push where
-- import Debug.Trace (trace, traceStack)
import qualified Data.Map as Map
-- import Debug.Trace (trace, traceStack)
-- The exec stack must store heterogenous types,
-- and we must be able to detect that type at runtime.
-- One solution is for the exec stack to be a list of [Gene].

View File

@ -1,5 +1,6 @@
import Control.Exception (assert)
import qualified Data.Map as Map
import GP
import Push
import Test.Hspec
import Test.Hspec.QuickCheck