import range from 'ramda/src/range'
import curry from 'ramda/src/curry'

const always = (x) => () => x
const FALSE = always(false)

export const makeGrid = curry((cell, size) => {
  const r = range(0, size)
  return r.map((y) => r.map((x) => cell(y, x)))
})

export const makeBlankGrid = makeGrid(FALSE)

@@ -4,103 +4,46 @@
 ort 
-range from 'ramda/src/range'%0Aimport curry from 'ramda/src/curry'%0A%0Aconst always = (x) =%3E () =%3E x
+%7B curry, range, always %7D from 'ramda'%0A
 %0Acon

use babel-plugin-ramda to optimise ramda imports