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
| TRUE = λx. λy. x | |
| FALSE = λx. λy. y | |
| NOT = λb. b FALSE TRUE | |
| AND = λb1. λb2. b1 b2 FALSE | |
| OR = λb1. λb2. b1 TRUE b2 | |
| XOR = λb1. λb2. b1 (b2 FALSE TRUE) b2 |
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
| var PromiseThrottle = require('promise-throttle'); | |
| var wait = require('waitress'); | |
| var Intercom = require('intercom-client'); | |
| var intercomClient = new Intercom.Client("app id", "api key").usePromises(); | |
| var redis = require('redis'); | |
| var client = redis.createClient() | |
| var _ = require('underscore'); | |
| var fetchConversation = function (id) { | |
| return function () { |
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
| // Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
| // Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
| var FORMAT_ONELINE = 'One-line'; | |
| var FORMAT_MULTILINE = 'Multi-line'; | |
| var FORMAT_PRETTY = 'Pretty'; | |
| var LANGUAGE_JS = 'JavaScript'; | |
| var LANGUAGE_PYTHON = 'Python'; |