fp-course icon indicating copy to clipboard operation
fp-course copied to clipboard

add one more test to catch a potential bug

Open stevemao opened this issue 5 years ago • 1 comments

stevemao avatar Oct 26 '19 11:10 stevemao

My code:

  f =<< a = State b
    where b s = (eval state s, exec state . exec a $ s)
                  where state = f . eval a $ s

existing tests doest catch this but will fail later on.

stevemao avatar Oct 28 '19 22:10 stevemao