diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-05-08 17:24:49 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-05-08 17:24:49 +0200 |
commit | ac7fca084e4c691aff4ced1ea91b121d714cee74 (patch) | |
tree | eb93e120bb3cfa16b519aa5e3aaaeaf22b25e75a | |
parent | cdf3b66fcc24069faf53f8d0f3d0553cd06ef30f (diff) | |
download | metatile-ac7fca084e4c691aff4ced1ea91b121d714cee74.tar metatile-ac7fca084e4c691aff4ced1ea91b121d714cee74.zip |
Make tests typecheck
darcs-hash:20070508152449-a5988-9c8631ebe825ce20e6513f74cb776fb69e0f8509
-rw-r--r-- | tests/Properties.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Properties.hs b/tests/Properties.hs index e7a9854..6397b5e 100644 --- a/tests/Properties.hs +++ b/tests/Properties.hs @@ -57,7 +57,7 @@ size = M.size . stacks -- | Height of stack 'n' height :: Int -> T -> Int -height i w = length (index i w) +height i w = maybe 0 length (index i w) -- build (non-empty) StackSets with between 1 and 100 stacks -- |