Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Make == eq eqv DWIM on Promises
With the emphasis on "I" :-) Inspired by the first Promises slide in jnthn++ last presentation: http://jnthn.net/papers/2015-yapcasia-concurrency.pdf It occurred to me that the whole slide could be reduced to: sub MAIN($file1, $file2) { say (start from-json(slurp($file1)) eqv (start from-json(slurp($file2))) ?? 'Files contain identical JSON' !! 'Files contain different JSON'; } with these changes.
- Loading branch information