diff --git a/GOL/Space.hs b/GOL/Space.hs index 52a7fa7..303aef0 100644 --- a/GOL/Space.hs +++ b/GOL/Space.hs @@ -1,3 +1,8 @@ +{-# LANGUAGE AllowAmbiguousTypes #-} +{-# LANGUAGE FlexibleContexts #-} +{-# LANGUAGE MultiParamTypeClasses #-} +{-# LANGUAGE TypeFamilies #-} + module GOL.Space where import Data.Functor.Rep diff --git a/conways-game-of-life.cabal b/conways-game-of-life.cabal index af5e877..00ee47e 100644 --- a/conways-game-of-life.cabal +++ b/conways-game-of-life.cabal @@ -7,9 +7,11 @@ build-type: Simple cabal-version: >= 1.8 executable main - main-is: Main.hs - build-depends: base, - comonad, - Yampa, - adjunctions - default-extensions: MultiParamTypeClasses \ No newline at end of file + main-is: Main.hs + other-modules: GOL.Rule, + GOL.Space, + GOL.Engine + build-depends: base, + comonad, + Yampa, + adjunctions \ No newline at end of file