mirror of
https://github.com/rjNemo/exercism-elixir
synced 2026-06-06 02:16:48 +00:00
29 lines
787 B
JSON
29 lines
787 B
JSON
{
|
|
"blurb": "Implement the `keep` and `discard` operation on collections. Given a collection and a predicate on the collection's elements, `keep` returns a new collection containing those elements where the predicate is true, while `discard` returns a new collection containing those elements where the predicate is false.",
|
|
"authors": [
|
|
"petehuang"
|
|
],
|
|
"contributors": [
|
|
"angelikatyborska",
|
|
"Cohen-Carlisle",
|
|
"devonestes",
|
|
"DoggettCK",
|
|
"fxn",
|
|
"kytrinyx",
|
|
"neenjaw",
|
|
"sotojuan"
|
|
],
|
|
"files": {
|
|
"solution": [
|
|
"lib/strain.ex"
|
|
],
|
|
"test": [
|
|
"test/strain_test.exs"
|
|
],
|
|
"example": [
|
|
".meta/example.ex"
|
|
]
|
|
},
|
|
"source": "Conversation with James Edward Gray II",
|
|
"source_url": "https://twitter.com/jeg2"
|
|
}
|