Skip to content

Instantly share code, notes, and snippets.

@MarcoWorms
Created April 5, 2018 06:08
Show Gist options
  • Save MarcoWorms/1d65353034e88ef3194c0aba946bf3a7 to your computer and use it in GitHub Desktop.
Save MarcoWorms/1d65353034e88ef3194c0aba946bf3a7 to your computer and use it in GitHub Desktop.
const { without } = require('ramda')
const card = deck[0] // 1. Card
const newDeck = without([card], deck) // 2. Remaining deck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment