<!DOCTYPE html>
<html>

  <head>
    <script data-require="ramda@*" data-semver="0.22.1" src="https://unpkg.com/ramda@0.22.1/dist/ramda.min.js"></script>
    <link rel="stylesheet" href="style.css" />
  </head>

  <body>
    <div id="output"></div>
    <script src="script.js"></script>
  </body>

</html>
// const R = require('ramda')

const add = R.curryN(2, (a, b) => a + b)
const mult = a => b => a * b
const multiply = R.uncurryN(2, mult)
const inc = add(1)

const result = multiply(2, 4)
console.log(result)
document.getElementById('output').innerHTML = `${JSON.stringify(result)}`
/* Styles go here */