3 ms·
That's slightly wrong. When you substitute the definition of anySatisfy, you need to note that it uses the argument p twice, so you need to substitute both uses
by kccqzy 8y ago
That's slightly wrong. When you substitute the definition of anySatisfy, you need to note that it uses the argument p twice, so you need to substitute both uses, not just the second one.
- Veedrac 8y agoI did, anySatisfy (\s -> p (False : s)) ==> (\s -> p (False : s)) (find (\s -> p (False : s))) ==> p (False : find (\s -> p (False : s)))