Skip to content
Snippets Groups Projects
Commit c2b7f0f1 authored by Malcolm.Wallace@cs.york.ac.uk's avatar Malcolm.Wallace@cs.york.ac.uk
Browse files

(partially) build array package with nhc98

parent 592e8d18
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,7 @@ import Hugs.Array ...@@ -69,7 +69,7 @@ import Hugs.Array
#ifdef __NHC__ #ifdef __NHC__
import Array -- Haskell'98 arrays import Array -- Haskell'98 arrays
#endif #else
import Control.Applicative import Control.Applicative
import Data.Foldable import Data.Foldable
...@@ -95,3 +95,4 @@ instance Ix i => Foldable (Array i) where ...@@ -95,3 +95,4 @@ instance Ix i => Foldable (Array i) where
instance Ix i => Traversable (Array i) where instance Ix i => Traversable (Array i) where
traverse f arr = listArray (bounds arr) <$> traverse f (elems arr) traverse f arr = listArray (bounds arr) <$> traverse f (elems arr)
#endif
THISPKG = array
SEARCH =
EXTRA_H_FLAGS =
EXTRA_HBC_FLAGS =
DIRS = \
Data Data/Array
SRCS = \
Data/Array.hs
# Here are the main rules.
include ../Makefile.common
# some extra rules
# Here are any extra dependencies.
# C-files dependencies.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment