Created
October 26, 2016 09:32
-
-
Save zerobias/f42247222ffbbabbe8591df807bc0a12 to your computer and use it in GitHub Desktop.
Import sanctuary monad functional library without runtime typecheck
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 {create, env} = require('sanctuary') | |
const checkTypes = false | |
//or enable it only in developement | |
//const checkTypes = process.env.NODE_ENV !== 'production' | |
const S = create({checkTypes: checkTypes, env: env}) | |
module.exports = S |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment