Ad
  • Custom User Avatar

    haskell test is wrong
    this is the correction, you have a .&&. in place of .||. and that can work only for xs == ys

    it "works if s is simply the concatenation of both parts" $
    property $ \xs ys ->
    isMerge (xs ++ ys) xs ys .||. isMerge (ys ++ xs) xs ys