Created
August 2, 2017 16:20
-
-
Save dariooddenino/24e958ec2871b797e819f3c6c839312a to your computer and use it in GitHub Desktop.
This file contains 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
// helpers.js | |
import * as R from 'ramda' | |
export const subObj = R.doSomestuff | |
// reasontest.re | |
type jsmodule; | |
external helpers: jsmodule = "" [@@bs.module]; | |
external subObj': jsmodule => array string => 'a => 'a = "subObj" [@@bs.send]; | |
let subObj keys obj => subObj' helpers keys obj; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment