UoYCS-plasma / LazySmallCheck2012

Lazy SmallCheck with functional values and existentials!
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Suite.test8 fails #1

Closed jasonreich closed 12 years ago

jasonreich commented 12 years ago

test8 represents foldr1 f === foldl1 f where f :: Peano -> Peano -> Peano.

In GHCi, the example fails to terminate at depth 2. Compiled with GHC, it just aborts with success to stdio.

Think that it may be something to do with the construction of Peano tries as I can get it to work by making type Base Peano = Either () ((), BaseThunk Peano) rather than type Base Peano = Either () (BaseThunk Peano).