Skip to content
Snippets Groups Projects
Commit ab29b780 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1998-05-22 11:47:16 by simonm]

- add lib hierarchy for library-related tests.
- add PackedString test that's been lying around for ages.
parent 23a55a9e
No related merge requests found
......@@ -7,6 +7,7 @@ SUBDIRS = \
codeGen \
deSugar \
deriving \
lib \
numeric \
reader \
rename \
......
#-----------------------------------------------------------------------------
# $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
#-----------------------------------------------------------------------------
# $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
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)
"thisisatest"
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