- add lib hierarchy for library-related tests.
- add PackedString test that's been lying around for ages.
codeGen \
deSugar \
deriving \
+ lib \
numeric \
reader \
rename \
--- /dev/null
+#-----------------------------------------------------------------------------
+# $Id: Makefile,v 1.1 1998/05/22 11:47:23 simonm Exp $
+
+TOP = ..
+include $(TOP)/mk/boilerplate.mk
+
+SUBDIRS = should_run
+
+include $(TOP)/mk/target.mk
--- /dev/null
+#-----------------------------------------------------------------------------
+# $Id: Makefile,v 1.1 1998/05/22 11:47:25 simonm Exp $
+
+TOP = ../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/should_run.mk
+
+SRC_HC_OPTS += -dcore-lint
+
+packedstring001_HC_OPTS = -syslib misc
+
+include $(TOP)/mk/target.mk
+
--- /dev/null
+module Main (main) where
+
+import Char (isSpace)
+import PackedString
+
+-- Bug in PackedString.lhs (fixed in rev 1.5)
+
+foo = packString "this is a test"
+main = print (filterPS (not.isSpace) foo)
+
--- /dev/null
+"thisisatest"