Created
April 5, 2018 06:14
-
-
Save MarcoWorms/f8a470b5c8320820d788465722b3e6e4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const { head } = require('ramda') | |
const drawFromTop = draw(head) | |
const { card, newDeck } = drawFromTop(deck) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment