https://research.microsoft.com/en-us/people/mickens/ToWashItAllAway.pdf https://research.microsoft.com/en-us/people/mickens/theslowwinter.pdf https://research.microsoft.com/en-us/people/mickens/nestofhornets.pdf https://research.microsoft.com/en-us/people/mickens/thesaddestmoment.pdf https://research.microsoft.com/en-us/people/mickens/thenightwatch.pdf https://research.microsoft.com/en-us/people/mickens/thisworldofours.pdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all_preds :: [a -> Bool] -> a -> Bool | |
all_preds ps = \x -> and $ map (\p -> p x) ps | |
any_preds :: [a -> Bool] -> a -> Bool | |
any_preds ps = \x -> or $ map (\p -> p x) ps |
- Passing default arg in
next()
. This is useful when you've to choose a value based on a condition. An example
I hereby claim:
- I am manishtomar on github.
- I am manishtomar (https://keybase.io/manishtomar) on keybase.
- I have a public key ASCpQHS__GMYEg-lDWrAH2vp9wgIpFkBmetHhip4NcGJeAo
To claim this, I am signing this object: