├── CNAME ├── manual ├── 10-others │ ├── Underscore.md │ ├── Trine.md │ ├── Sanctuary.md │ ├── Bacon.md │ ├── Immutable.md │ ├── Lazy.md │ ├── uncommon │ │ ├── NoMutation.md │ │ ├── ParameterOrder.md │ │ ├── NoIndex.md │ │ └── README.md │ ├── Allonge.md │ ├── README.md │ └── .Underscore.md.kate-swp ├── 01-intro │ ├── Currying.md │ ├── Composition.md │ ├── Dispatching.md │ └── ReferentialTransparency.md ├── 09-advanced │ ├── Lenses.md │ ├── Transducers.md │ ├── README.md │ └── Algebra.md ├── 02-functions │ ├── Currying.md │ ├── README.md │ ├── Enhancing.md │ ├── Calling.md │ ├── Combining.md │ └── Changing.md ├── 03-lists │ ├── Arrays.md │ ├── Tweaking.md │ ├── README.md │ ├── WhatIsAList.md │ ├── Strings.md │ ├── Building.md │ ├── SlicingAndDicing.md │ ├── Reducing.md │ └── Transforming.md ├── 04-objects │ ├── README.md │ ├── Testing.md │ ├── Transforming.md │ ├── AlteringProps.md │ ├── Creating.md │ └── Retrieving.md ├── 05-strings │ └── README.md ├── 06-numbers │ ├── README.md │ ├── OpsAndPlaceholder.md │ ├── Unary.md │ ├── Variadic.md │ └── Binary.md ├── 07-logic │ ├── ControlFlow.md │ ├── README.md │ ├── CombiningValues.md │ └── CombiningPredicates.md ├── cover.jpg ├── ramda.pdf ├── cover_small.jpg └── 08-misc │ └── README.md ├── favicon.ico ├── repl ├── .babelrc ├── examples │ ├── list │ │ ├── map.js │ │ └── filter.js │ ├── function │ │ ├── compose.js │ │ └── useWith.js │ ├── object │ │ └── prop.js │ ├── fantasy │ │ └── futures.js │ └── example.json ├── README.md ├── lib │ ├── js │ │ ├── reset.js │ │ ├── main.js │ │ ├── logger.js │ │ └── googl.js │ └── css │ │ ├── repl.css │ │ └── terminal.css ├── .gitignore ├── package.json └── create-examples.js ├── .gitignore ├── 0.17 ├── manual │ ├── cover.jpg │ ├── cover_small.jpg │ ├── gitbook │ │ ├── images │ │ │ ├── favicon.ico │ │ │ └── apple-touch-icon-precomposed-152.png │ │ └── fonts │ │ │ ├── opensans │ │ │ ├── 300.woff │ │ │ ├── 300i.woff │ │ │ ├── 400.woff │ │ │ ├── 400i.woff │ │ │ ├── 600.woff │ │ │ ├── 600i.woff │ │ │ ├── 700.woff │ │ │ └── 700i.woff │ │ │ ├── merriweather │ │ │ ├── 250.woff │ │ │ ├── 400.woff │ │ │ ├── 700.woff │ │ │ ├── 900.woff │ │ │ ├── 250i.woff │ │ │ ├── 400i.woff │ │ │ ├── 700i.woff │ │ │ └── 900i.woff │ │ │ └── fontawesome │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ └── 10-others │ │ └── .Underscore.md.kate-swp └── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── 0.18.0 ├── manual │ ├── cover.jpg │ ├── cover_small.jpg │ ├── gitbook │ │ ├── images │ │ │ ├── favicon.ico │ │ │ └── apple-touch-icon-precomposed-152.png │ │ └── fonts │ │ │ ├── opensans │ │ │ ├── 300.woff │ │ │ ├── 300i.woff │ │ │ ├── 400.woff │ │ │ ├── 400i.woff │ │ │ ├── 600.woff │ │ │ ├── 600i.woff │ │ │ ├── 700.woff │ │ │ └── 700i.woff │ │ │ ├── merriweather │ │ │ ├── 250.woff │ │ │ ├── 400.woff │ │ │ ├── 700.woff │ │ │ ├── 900.woff │ │ │ ├── 250i.woff │ │ │ ├── 400i.woff │ │ │ ├── 700i.woff │ │ │ └── 900i.woff │ │ │ └── fontawesome │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ └── 10-others │ │ └── .Underscore.md.kate-swp └── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── 0.19.0 ├── manual │ ├── cover.jpg │ ├── cover_small.jpg │ ├── gitbook │ │ ├── images │ │ │ ├── favicon.ico │ │ │ └── apple-touch-icon-precomposed-152.png │ │ └── fonts │ │ │ ├── opensans │ │ │ ├── 300.woff │ │ │ ├── 300i.woff │ │ │ ├── 400.woff │ │ │ ├── 400i.woff │ │ │ ├── 600.woff │ │ │ ├── 600i.woff │ │ │ ├── 700.woff │ │ │ └── 700i.woff │ │ │ ├── merriweather │ │ │ ├── 250.woff │ │ │ ├── 400.woff │ │ │ ├── 700.woff │ │ │ ├── 900.woff │ │ │ ├── 250i.woff │ │ │ ├── 400i.woff │ │ │ ├── 700i.woff │ │ │ └── 900i.woff │ │ │ └── fontawesome │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ ├── 10-others │ │ └── .Underscore.md.kate-swp │ └── 01-intro │ │ └── ReferentialTransparency.md └── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── 0.19.1 ├── manual │ ├── cover.jpg │ ├── cover_small.jpg │ ├── gitbook │ │ ├── images │ │ │ ├── favicon.ico │ │ │ └── apple-touch-icon-precomposed-152.png │ │ └── fonts │ │ │ ├── opensans │ │ │ ├── 300.woff │ │ │ ├── 300i.woff │ │ │ ├── 400.woff │ │ │ ├── 400i.woff │ │ │ ├── 600.woff │ │ │ ├── 600i.woff │ │ │ ├── 700.woff │ │ │ └── 700i.woff │ │ │ ├── merriweather │ │ │ ├── 250.woff │ │ │ ├── 400.woff │ │ │ ├── 700.woff │ │ │ ├── 900.woff │ │ │ ├── 250i.woff │ │ │ ├── 400i.woff │ │ │ ├── 700i.woff │ │ │ └── 900i.woff │ │ │ └── fontawesome │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ ├── 10-others │ │ └── .Underscore.md.kate-swp │ └── 01-intro │ │ └── ReferentialTransparency.md └── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── 0.9 ├── repl │ ├── assets │ │ ├── img │ │ │ └── github.png │ │ └── css │ │ │ └── repl.css │ ├── vendor │ │ ├── codemirror2 │ │ │ ├── doc │ │ │ │ └── baboon.png │ │ │ ├── mode │ │ │ │ ├── rpm │ │ │ │ │ ├── spec │ │ │ │ │ │ └── spec.css │ │ │ │ │ └── changes │ │ │ │ │ │ ├── changes.js │ │ │ │ │ │ └── index.html │ │ │ │ ├── tiddlywiki │ │ │ │ │ └── tiddlywiki.css │ │ │ │ ├── tiki │ │ │ │ │ ├── tiki.css │ │ │ │ │ └── index.html │ │ │ │ ├── xquery │ │ │ │ │ ├── test │ │ │ │ │ │ ├── testEmptySequenceKeyword.js │ │ │ │ │ │ ├── testProcessingInstructions.js │ │ │ │ │ │ ├── testMultiAttr.js │ │ │ │ │ │ ├── testQuotes.js │ │ │ │ │ │ └── index.html │ │ │ │ │ └── LICENSE │ │ │ │ ├── diff │ │ │ │ │ └── diff.js │ │ │ │ ├── vbscript │ │ │ │ │ ├── vbscript.js │ │ │ │ │ └── index.html │ │ │ │ ├── pascal │ │ │ │ │ ├── LICENSE │ │ │ │ │ └── index.html │ │ │ │ ├── ntriples │ │ │ │ │ └── index.html │ │ │ │ ├── python │ │ │ │ │ └── LICENSE.txt │ │ │ │ ├── perl │ │ │ │ │ ├── LICENSE │ │ │ │ │ └── index.html │ │ │ │ ├── jinja2 │ │ │ │ │ ├── index.html │ │ │ │ │ └── jinja2.js │ │ │ │ ├── coffeescript │ │ │ │ │ └── LICENSE │ │ │ │ ├── rust │ │ │ │ │ └── index.html │ │ │ │ ├── css │ │ │ │ │ └── index.html │ │ │ │ ├── ecl │ │ │ │ │ └── index.html │ │ │ │ ├── mysql │ │ │ │ │ └── index.html │ │ │ │ ├── pig │ │ │ │ │ └── index.html │ │ │ │ ├── properties │ │ │ │ │ ├── index.html │ │ │ │ │ └── properties.js │ │ │ │ ├── sparql │ │ │ │ │ └── index.html │ │ │ │ ├── shell │ │ │ │ │ └── index.html │ │ │ │ ├── gfm │ │ │ │ │ └── index.html │ │ │ │ ├── r │ │ │ │ │ └── LICENSE │ │ │ │ ├── ruby │ │ │ │ │ └── LICENSE │ │ │ │ ├── php │ │ │ │ │ └── index.html │ │ │ │ ├── smalltalk │ │ │ │ │ └── index.html │ │ │ │ ├── htmlmixed │ │ │ │ │ └── index.html │ │ │ │ ├── xml │ │ │ │ │ └── index.html │ │ │ │ ├── plsql │ │ │ │ │ └── index.html │ │ │ │ ├── htmlembedded │ │ │ │ │ └── index.html │ │ │ │ ├── erlang │ │ │ │ │ └── index.html │ │ │ │ ├── lua │ │ │ │ │ └── index.html │ │ │ │ ├── yaml │ │ │ │ │ └── index.html │ │ │ │ ├── haskell │ │ │ │ │ └── index.html │ │ │ │ ├── groovy │ │ │ │ │ └── index.html │ │ │ │ └── go │ │ │ │ │ └── index.html │ │ │ ├── README.md │ │ │ ├── test │ │ │ │ ├── mode_test.css │ │ │ │ └── index.html │ │ │ ├── lib │ │ │ │ └── util │ │ │ │ │ ├── simple-hint.css │ │ │ │ │ ├── dialog.css │ │ │ │ │ ├── runmode.js │ │ │ │ │ ├── match-highlighter.js │ │ │ │ │ ├── loadmode.js │ │ │ │ │ ├── overlay.js │ │ │ │ │ └── dialog.js │ │ │ ├── theme │ │ │ │ ├── neat.css │ │ │ │ ├── elegant.css │ │ │ │ ├── cobalt.css │ │ │ │ ├── eclipse.css │ │ │ │ ├── night.css │ │ │ │ ├── monokai.css │ │ │ │ ├── erlang-dark.css │ │ │ │ ├── blackboard.css │ │ │ │ ├── rubyblue.css │ │ │ │ ├── vibrant-ink.css │ │ │ │ └── lesser-dark.css │ │ │ ├── package.json │ │ │ ├── demo │ │ │ │ ├── resize.html │ │ │ │ ├── matchhighlighter.html │ │ │ │ ├── loadmode.html │ │ │ │ ├── marker.html │ │ │ │ ├── vim.html │ │ │ │ ├── changemode.html │ │ │ │ ├── multiplex.html │ │ │ │ ├── visibletabs.html │ │ │ │ ├── mustache.html │ │ │ │ ├── emacs.html │ │ │ │ └── runmode.html │ │ │ ├── LICENSE │ │ │ └── keymap │ │ │ │ └── emacs.js │ │ └── README │ ├── NOTICE.txt │ └── README.md ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ └── glyphicons-halflings-regular.woff └── docs │ └── main.js ├── ramdocs ├── index.html └── docs │ └── index.html ├── 0.10 ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ └── glyphicons-halflings-regular.woff └── docs │ └── main.js ├── 0.11 ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── docs │ └── main.js └── lib │ └── doc │ └── main.js ├── 0.12 └── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── 0.13 └── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── 0.14 └── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── 0.15 └── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── 0.16 └── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── index.html ├── .editorconfig ├── README.md ├── less ├── variables.less ├── hljs.less ├── ramda.less ├── sidebar.less ├── card.less └── header.less ├── package.json └── jsdoc └── templates └── index.html.handlebars /CNAME: -------------------------------------------------------------------------------- 1 | ramdajs.com 2 | -------------------------------------------------------------------------------- /manual/10-others/Underscore.md: -------------------------------------------------------------------------------- 1 | TODO 2 | -------------------------------------------------------------------------------- /manual/10-others/Trine.md: -------------------------------------------------------------------------------- 1 | Trine 2 | ===== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/01-intro/Currying.md: -------------------------------------------------------------------------------- 1 | Currying 2 | ======== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/09-advanced/Lenses.md: -------------------------------------------------------------------------------- 1 | Lenses 2 | ====== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/02-functions/Currying.md: -------------------------------------------------------------------------------- 1 | Currying 2 | ======== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/10-others/Sanctuary.md: -------------------------------------------------------------------------------- 1 | Sanctuary 2 | ========= 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/01-intro/Composition.md: -------------------------------------------------------------------------------- 1 | Composition 2 | =========== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/01-intro/Dispatching.md: -------------------------------------------------------------------------------- 1 | Dispatching 2 | =========== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/03-lists/Arrays.md: -------------------------------------------------------------------------------- 1 | Arrays as lists 2 | =============== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/03-lists/Tweaking.md: -------------------------------------------------------------------------------- 1 | Tweaking lists 2 | ============== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/09-advanced/Transducers.md: -------------------------------------------------------------------------------- 1 | Transducers 2 | =========== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/10-others/Bacon.md: -------------------------------------------------------------------------------- 1 | Bacon, RxJs, Flyd 2 | ================= 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/10-others/Immutable.md: -------------------------------------------------------------------------------- 1 | Immutable, mori 2 | =============== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/favicon.ico -------------------------------------------------------------------------------- /manual/03-lists/README.md: -------------------------------------------------------------------------------- 1 | Working with Lists 2 | ================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/03-lists/WhatIsAList.md: -------------------------------------------------------------------------------- 1 | What is a list? 2 | =============== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/10-others/Lazy.md: -------------------------------------------------------------------------------- 1 | Lazy, lz, Highland 2 | ================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /repl/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "es2015", 4 | "stage-0" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /repl/examples/list/map.js: -------------------------------------------------------------------------------- 1 | const double = x => x * 2; 2 | 3 | R.map(double, [1, 2, 3]); -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | tmp/ 2 | /node_modules/ 3 | /npm-debug.log 4 | .directory 5 | .kateproject 6 | -------------------------------------------------------------------------------- /manual/04-objects/README.md: -------------------------------------------------------------------------------- 1 | Working with Objects 2 | ==================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/05-strings/README.md: -------------------------------------------------------------------------------- 1 | Working with strings 2 | ==================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/06-numbers/README.md: -------------------------------------------------------------------------------- 1 | Working with numbers 2 | ==================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/10-others/uncommon/NoMutation.md: -------------------------------------------------------------------------------- 1 | Mutation-free 2 | ============= 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/02-functions/README.md: -------------------------------------------------------------------------------- 1 | Working with functions 2 | ====================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/07-logic/ControlFlow.md: -------------------------------------------------------------------------------- 1 | Control flow 2 | ============ 3 | 4 | TODO: `ifElse`, `cond` 5 | -------------------------------------------------------------------------------- /manual/10-others/Allonge.md: -------------------------------------------------------------------------------- 1 | allong.es, Wu, FKit, fn 2 | ======================= 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/10-others/uncommon/ParameterOrder.md: -------------------------------------------------------------------------------- 1 | Parameter Order 2 | =============== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/manual/cover.jpg -------------------------------------------------------------------------------- /manual/ramda.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/manual/ramda.pdf -------------------------------------------------------------------------------- /repl/examples/function/compose.js: -------------------------------------------------------------------------------- 1 | const f = R.compose(R.inc, R.negate, Math.pow); 2 | 3 | f(3, 4); -------------------------------------------------------------------------------- /repl/examples/list/filter.js: -------------------------------------------------------------------------------- 1 | const isEven = n => n % 2 === 0; 2 | R.filter(isEven, [1, 2, 3, 4]); -------------------------------------------------------------------------------- /repl/examples/object/prop.js: -------------------------------------------------------------------------------- 1 | R.prop('x', {x: 100}); //=> 100 2 | R.prop('x', {}); //=> undefined -------------------------------------------------------------------------------- /manual/07-logic/README.md: -------------------------------------------------------------------------------- 1 | Working with logic and flow 2 | =========================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/10-others/uncommon/NoIndex.md: -------------------------------------------------------------------------------- 1 | No index in callbacks 2 | ===================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /0.17/manual/cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/cover.jpg -------------------------------------------------------------------------------- /manual/09-advanced/README.md: -------------------------------------------------------------------------------- 1 | Advanced constructs in Ramda 2 | ============================ 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/10-others/README.md: -------------------------------------------------------------------------------- 1 | Working with other libraries 2 | ============================ 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/cover_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/manual/cover_small.jpg -------------------------------------------------------------------------------- /0.18.0/manual/cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/cover.jpg -------------------------------------------------------------------------------- /0.19.0/manual/cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/cover.jpg -------------------------------------------------------------------------------- /0.19.1/manual/cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/cover.jpg -------------------------------------------------------------------------------- /manual/07-logic/CombiningValues.md: -------------------------------------------------------------------------------- 1 | Combining values 2 | ================ 3 | 4 | TODO: `and`, `or`, `not` 5 | -------------------------------------------------------------------------------- /manual/10-others/uncommon/README.md: -------------------------------------------------------------------------------- 1 | Uncommon features in Ramda 2 | ========================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /0.17/manual/cover_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/cover_small.jpg -------------------------------------------------------------------------------- /manual/02-functions/Enhancing.md: -------------------------------------------------------------------------------- 1 | Adding additional functionality 2 | =============================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /0.18.0/manual/cover_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/cover_small.jpg -------------------------------------------------------------------------------- /0.19.0/manual/cover_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/cover_small.jpg -------------------------------------------------------------------------------- /0.19.1/manual/cover_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/cover_small.jpg -------------------------------------------------------------------------------- /manual/03-lists/Strings.md: -------------------------------------------------------------------------------- 1 | Strings as (sometimes) close-enough 2 | =================================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /0.9/repl/assets/img/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.9/repl/assets/img/github.png -------------------------------------------------------------------------------- /manual/02-functions/Calling.md: -------------------------------------------------------------------------------- 1 | Calling functions 2 | ================= 3 | 4 | TODO: `apply`, `call`, `bind`, `memoize` 5 | -------------------------------------------------------------------------------- /manual/03-lists/Building.md: -------------------------------------------------------------------------------- 1 | Building lists 2 | ============== 3 | 4 | TODO: `range`, `repeat`, `times`, `keys`, `toPairs` 5 | -------------------------------------------------------------------------------- /manual/04-objects/Testing.md: -------------------------------------------------------------------------------- 1 | Testing object properties 2 | ========================= 3 | 4 | TODO: `propEq`, `has`, `where` 5 | -------------------------------------------------------------------------------- /manual/04-objects/Transforming.md: -------------------------------------------------------------------------------- 1 | Transforming objects 2 | ==================== 3 | 4 | TODO: `mapObj`, `project`, `evolve` 5 | -------------------------------------------------------------------------------- /manual/08-misc/README.md: -------------------------------------------------------------------------------- 1 | Miscellaneous other functions in Ramda 2 | ====================================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/04-objects/AlteringProps.md: -------------------------------------------------------------------------------- 1 | Altering object properties 2 | ========================== 3 | 4 | TODO: `assoc`, `dissoc` 5 | -------------------------------------------------------------------------------- /manual/06-numbers/OpsAndPlaceholder.md: -------------------------------------------------------------------------------- 1 | Operators and the placeholder value 2 | =================================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/06-numbers/Unary.md: -------------------------------------------------------------------------------- 1 | Unary mathematical operators 2 | ============================ 3 | 4 | TODO: `dec`, `inc`, `negate` 5 | -------------------------------------------------------------------------------- /manual/09-advanced/Algebra.md: -------------------------------------------------------------------------------- 1 | The fantasy land of algebraic data types 2 | ======================================== 3 | 4 | TODO 5 | -------------------------------------------------------------------------------- /manual/02-functions/Combining.md: -------------------------------------------------------------------------------- 1 | Combining functions 2 | =================== 3 | 4 | TODO: `compose*`, `pipe*`, `converge`, `useWith` 5 | -------------------------------------------------------------------------------- /manual/04-objects/Creating.md: -------------------------------------------------------------------------------- 1 | Creating objects 2 | ================ 3 | 4 | TODO: `fromPairs`, `createMapEntry`, `merge`, `clone` 5 | -------------------------------------------------------------------------------- /0.17/manual/gitbook/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/images/favicon.ico -------------------------------------------------------------------------------- /manual/04-objects/Retrieving.md: -------------------------------------------------------------------------------- 1 | Retrieving object properties 2 | ============================ 3 | 4 | TODO: `prop`, `path`, `pick`, `omit` 5 | -------------------------------------------------------------------------------- /ramdocs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/images/favicon.ico -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/images/favicon.ico -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/images/favicon.ico -------------------------------------------------------------------------------- /0.9/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.9/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /0.9/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.9/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/doc/baboon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.9/repl/vendor/codemirror2/doc/baboon.png -------------------------------------------------------------------------------- /manual/02-functions/Changing.md: -------------------------------------------------------------------------------- 1 | Changing signatures 2 | =================== 3 | 4 | TODO: `flip`, `partial`, `lift`, `nAry`, `apply`, `unapply` 5 | -------------------------------------------------------------------------------- /manual/10-others/.Underscore.md.kate-swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/manual/10-others/.Underscore.md.kate-swp -------------------------------------------------------------------------------- /0.10/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.10/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /0.10/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.10/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /0.10/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.10/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /0.11/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.11/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /0.11/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.11/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /0.11/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.11/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /0.12/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.12/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /0.12/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.12/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /0.12/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.12/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /0.13/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.13/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /0.13/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.13/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /0.13/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.13/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /0.14/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.14/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /0.14/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.14/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /0.14/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.14/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /0.15/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.15/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /0.15/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.15/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /0.15/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.15/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /0.16/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.16/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /0.16/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.16/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /0.16/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.16/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /0.17/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /0.17/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /0.17/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/opensans/300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/opensans/300.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/opensans/300i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/opensans/300i.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/opensans/400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/opensans/400.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/opensans/400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/opensans/400i.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/opensans/600.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/opensans/600.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/opensans/600i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/opensans/600i.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/opensans/700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/opensans/700.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/opensans/700i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/opensans/700i.woff -------------------------------------------------------------------------------- /0.9/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.9/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /manual/06-numbers/Variadic.md: -------------------------------------------------------------------------------- 1 | Variadic mathematical operators 2 | =============================== 3 | 4 | TODO: `mean`, `median`, `product`, `sum` 5 | -------------------------------------------------------------------------------- /ramdocs/docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /0.11/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.11/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /0.12/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.12/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /0.13/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.13/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /0.14/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.14/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /0.15/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.15/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /0.16/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.16/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /0.17/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /0.17/manual/10-others/.Underscore.md.kate-swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/10-others/.Underscore.md.kate-swp -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/merriweather/250.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/merriweather/250.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/merriweather/400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/merriweather/400.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/merriweather/700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/merriweather/700.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/merriweather/900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/merriweather/900.woff -------------------------------------------------------------------------------- /0.18.0/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /0.18.0/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /0.18.0/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /0.18.0/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /0.18.0/manual/10-others/.Underscore.md.kate-swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/10-others/.Underscore.md.kate-swp -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/opensans/300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/opensans/300.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/opensans/300i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/opensans/300i.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/opensans/400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/opensans/400.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/opensans/400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/opensans/400i.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/opensans/600.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/opensans/600.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/opensans/600i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/opensans/600i.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/opensans/700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/opensans/700.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/opensans/700i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/opensans/700i.woff -------------------------------------------------------------------------------- /0.19.0/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /0.19.0/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /0.19.0/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /0.19.0/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /0.19.0/manual/10-others/.Underscore.md.kate-swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/10-others/.Underscore.md.kate-swp -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/opensans/300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/opensans/300.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/opensans/300i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/opensans/300i.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/opensans/400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/opensans/400.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/opensans/400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/opensans/400i.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/opensans/600.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/opensans/600.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/opensans/600i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/opensans/600i.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/opensans/700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/opensans/700.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/opensans/700i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/opensans/700i.woff -------------------------------------------------------------------------------- /0.19.1/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /0.19.1/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /0.19.1/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /0.19.1/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /0.19.1/manual/10-others/.Underscore.md.kate-swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/10-others/.Underscore.md.kate-swp -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/opensans/300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/opensans/300.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/opensans/300i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/opensans/300i.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/opensans/400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/opensans/400.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/opensans/400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/opensans/400i.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/opensans/600.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/opensans/600.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/opensans/600i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/opensans/600i.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/opensans/700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/opensans/700.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/opensans/700i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/opensans/700i.woff -------------------------------------------------------------------------------- /manual/03-lists/SlicingAndDicing.md: -------------------------------------------------------------------------------- 1 | Slicing and dicing lists 2 | ======================== 3 | 4 | TODO: `take`, `drop`, `append`, `prepend`, `concat` 5 | -------------------------------------------------------------------------------- /manual/07-logic/CombiningPredicates.md: -------------------------------------------------------------------------------- 1 | Combining predicates 2 | ==================== 3 | 4 | TODO: `both`, `either`, `complement`, `allPass`, `anyPass` 5 | -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/merriweather/250i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/merriweather/250i.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/merriweather/400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/merriweather/400i.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/merriweather/700i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/merriweather/700i.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/merriweather/900i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/merriweather/900i.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/merriweather/250.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/merriweather/250.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/merriweather/400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/merriweather/400.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/merriweather/700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/merriweather/700.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/merriweather/900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/merriweather/900.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/merriweather/250.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/merriweather/250.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/merriweather/400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/merriweather/400.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/merriweather/700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/merriweather/700.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/merriweather/900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/merriweather/900.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/merriweather/250.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/merriweather/250.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/merriweather/400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/merriweather/400.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/merriweather/700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/merriweather/700.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/merriweather/900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/merriweather/900.woff -------------------------------------------------------------------------------- /manual/03-lists/Reducing.md: -------------------------------------------------------------------------------- 1 | Transforming lists to single values 2 | =================================== 3 | 4 | 5 | TOOD: `reduce`, `find`, `nth`, `all/any` 6 | -------------------------------------------------------------------------------- /manual/06-numbers/Binary.md: -------------------------------------------------------------------------------- 1 | Binary mathematical operations 2 | ============================== 3 | 4 | TODO: `add`, `subract`, `modulo`, `multiply`, `divide` 5 | -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/merriweather/250i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/merriweather/250i.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/merriweather/400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/merriweather/400i.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/merriweather/700i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/merriweather/700i.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/merriweather/900i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/merriweather/900i.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/merriweather/250i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/merriweather/250i.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/merriweather/400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/merriweather/400i.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/merriweather/700i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/merriweather/700i.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/merriweather/900i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/merriweather/900i.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/merriweather/250i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/merriweather/250i.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/merriweather/400i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/merriweather/400i.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/merriweather/700i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/merriweather/700i.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/merriweather/900i.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/merriweather/900i.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/fontawesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/fontawesome/FontAwesome.otf -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/fontawesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/fontawesome/FontAwesome.otf -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/fontawesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/fontawesome/FontAwesome.otf -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/fontawesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/fontawesome/FontAwesome.otf -------------------------------------------------------------------------------- /manual/03-lists/Transforming.md: -------------------------------------------------------------------------------- 1 | List to list transformations 2 | ============================ 3 | 4 | TODO: `map`, `pluck`, `filter`, `aperture`, `uniq`, `zip`, `partition` 5 | -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/fontawesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/fontawesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/fontawesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/fontawesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /0.17/manual/gitbook/fonts/fontawesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/fonts/fontawesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /0.17/manual/gitbook/images/apple-touch-icon-precomposed-152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.17/manual/gitbook/images/apple-touch-icon-precomposed-152.png -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/fontawesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/fontawesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/fontawesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/fontawesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/fonts/fontawesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/fonts/fontawesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/fontawesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/fontawesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/fontawesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/fontawesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/fonts/fontawesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/fonts/fontawesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/fontawesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/fontawesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/fontawesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/fontawesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/fonts/fontawesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/fonts/fontawesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /0.18.0/manual/gitbook/images/apple-touch-icon-precomposed-152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.18.0/manual/gitbook/images/apple-touch-icon-precomposed-152.png -------------------------------------------------------------------------------- /0.19.0/manual/gitbook/images/apple-touch-icon-precomposed-152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.0/manual/gitbook/images/apple-touch-icon-precomposed-152.png -------------------------------------------------------------------------------- /0.19.1/manual/gitbook/images/apple-touch-icon-precomposed-152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidchase/ramda.github.io/master/0.19.1/manual/gitbook/images/apple-touch-icon-precomposed-152.png -------------------------------------------------------------------------------- /0.9/repl/vendor/README: -------------------------------------------------------------------------------- 1 | http://closure-library.googlecode.com/svn/trunk/ closure-library 2 | https://github.com/johnjbarton/source-map source-map fork from https://github.com/mozilla/source-map BSD 3 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /0.9/repl/NOTICE.txt: -------------------------------------------------------------------------------- 1 | REPL 2 | Copyright 2011 Traceur Authors 3 | 4 | This software contains code derived from the traceur-compiler 5 | demo repl. The original software is available from 6 | https://github.com/google/traceur-compiler -------------------------------------------------------------------------------- /repl/README.md: -------------------------------------------------------------------------------- 1 | # repl 2 | 3 | (read-eval-print-loop) 4 | 5 | Load the repl.html page in a browser. The repl.html uses a pre-transpiled version of \_part\_ and the google traceur- 6 | compiler to allow several features of ES6. Some of the pre-loaded examples use ES6 features. 7 | 8 | -------------------------------------------------------------------------------- /0.9/repl/README.md: -------------------------------------------------------------------------------- 1 | # repl 2 | 3 | (read-eval-print-loop) 4 | 5 | Load the repl.html page in a browser. The repl.html uses a pre-transpiled version of \_part\_ and the google traceur- 6 | compiler to allow several features of ES6. Some of the pre-loaded examples use ES6 features. 7 | 8 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/rpm/spec/spec.css: -------------------------------------------------------------------------------- 1 | .cm-s-default span.cm-preamble {color: #b26818; font-weight: bold;} 2 | .cm-s-default span.cm-macro {color: #b218b2;} 3 | .cm-s-default span.cm-section {color: green; font-weight: bold;} 4 | .cm-s-default span.cm-script {color: red;} 5 | .cm-s-default span.cm-issue {color: yellow;} 6 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/tiddlywiki/tiddlywiki.css: -------------------------------------------------------------------------------- 1 | span.cm-underlined { 2 | text-decoration: underline; 3 | } 4 | span.cm-strikethrough { 5 | text-decoration: line-through; 6 | } 7 | span.cm-brace { 8 | color: #170; 9 | font-weight: bold; 10 | } 11 | span.cm-table { 12 | color: blue; 13 | font-weight: bold; 14 | } 15 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: http://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | [*] 7 | charset = utf-8 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [package.json] 12 | indent_size = 2 13 | indent_style = space 14 | 15 | [*.js] 16 | indent_size = 2 17 | indent_style = space 18 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/README.md: -------------------------------------------------------------------------------- 1 | # CodeMirror 2 2 | 3 | CodeMirror is a JavaScript component that provides a code editor in 4 | the browser. When a mode is available for the language you are coding 5 | in, it will color your code, and optionally help with indentation. 6 | 7 | The project page is http://codemirror.net 8 | The manual is at http://codemirror.net/doc/manual.html 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ramda.github.io 2 | 3 | To generate the various files required by the website, run the following 4 | command (using the actual version number in place of `X.Y.Z`): 5 | 6 | ```console 7 | $ VERSION=X.Y.Z make 8 | ``` 9 | 10 | 11 | ## Start local server 12 | 13 | npm run server 14 | 15 | Then visit [localhost:8080](http://localhost:8080/) to view the docs. 16 | -------------------------------------------------------------------------------- /repl/examples/function/useWith.js: -------------------------------------------------------------------------------- 1 | const double = y => y * 2; 2 | const square = x => x * x; 3 | const add = (a, b) => a + b; 4 | // Adds any number of arguments together 5 | const addAll = (...args) => R.reduce(add, 0, args); 6 | 7 | // Basic example 8 | const addDoubleAndSquare = R.useWith(addAll, [double, square]); 9 | 10 | //≅ addAll(double(10), square(5)); 11 | addDoubleAndSquare(10, 5); //=> 45 12 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/test/mode_test.css: -------------------------------------------------------------------------------- 1 | .mt-output .mt-token { 2 | border: 1px solid #ddd; 3 | white-space: pre; 4 | font-family: "Consolas", monospace; 5 | text-align: center; 6 | } 7 | 8 | .mt-output .mt-style { 9 | font-size: x-small; 10 | } 11 | 12 | .mt-test { 13 | border-left: 10px solid #fff; 14 | } 15 | 16 | .mt-pass { 17 | border-left: 10px solid #cfc; 18 | } 19 | 20 | .mt-fail { 21 | border-left: 10px solid #fcc; 22 | } 23 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/lib/util/simple-hint.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-completions { 2 | position: absolute; 3 | z-index: 10; 4 | overflow: hidden; 5 | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 6 | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 7 | box-shadow: 2px 3px 5px rgba(0,0,0,.2); 8 | } 9 | .CodeMirror-completions select { 10 | background: #fafafa; 11 | outline: none; 12 | border: none; 13 | padding: 0; 14 | margin: 0; 15 | font-family: monospace; 16 | } 17 | -------------------------------------------------------------------------------- /less/variables.less: -------------------------------------------------------------------------------- 1 | @icon-font-path: "fonts/"; 2 | 3 | @brand-primary: #849; 4 | 5 | @link-color: darken(@brand-primary, -15%); 6 | 7 | @input-border-focus: @brand-primary; 8 | 9 | @navbar-inverse-color: #fff; 10 | @navbar-inverse-bg: @brand-primary; 11 | @navbar-inverse-link-color: mix(@brand-primary, #fff, 25%); 12 | @navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%); 13 | 14 | @code-color: #000; 15 | @code-bg: #eee; 16 | 17 | @deprecated-color: #E74C3C; 18 | 19 | @grid-float-breakpoint: 0; 20 | -------------------------------------------------------------------------------- /repl/lib/js/reset.js: -------------------------------------------------------------------------------- 1 | const resetBtn = document.getElementById('resetBtn'); 2 | const clearBtn = document.querySelector('.clear-console'); 3 | const evalError = document.querySelector('pre.error'); 4 | const evalElement = document.querySelector('pre.eval'); 5 | 6 | export default () => { 7 | resetBtn.addEventListener('click', () => window.location = '.'); 8 | clearBtn.addEventListener("click", () => { 9 | console.clear(); 10 | evalElement.textContent = ''; 11 | evalError.textContent = ''; 12 | }); 13 | }; 14 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/lib/util/dialog.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-dialog { 2 | position: relative; 3 | } 4 | 5 | .CodeMirror-dialog > div { 6 | position: absolute; 7 | top: 0; left: 0; right: 0; 8 | background: white; 9 | border-bottom: 1px solid #eee; 10 | z-index: 15; 11 | padding: .1em .8em; 12 | overflow: hidden; 13 | color: #333; 14 | } 15 | 16 | .CodeMirror-dialog input { 17 | border: none; 18 | outline: none; 19 | background: transparent; 20 | width: 20em; 21 | color: inherit; 22 | font-family: monospace; 23 | } 24 | -------------------------------------------------------------------------------- /repl/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | 5 | # Runtime data 6 | pids 7 | *.pid 8 | *.seed 9 | 10 | # Directory for instrumented libs generated by jscoverage/JSCover 11 | lib-cov 12 | 13 | # Coverage directory used by tools like istanbul 14 | coverage 15 | 16 | # node-waf configuration 17 | .lock-wscript 18 | 19 | # Compiled binary addons (http://nodejs.org/api/addons.html) 20 | build/Release 21 | 22 | # Dependency directory 23 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git 24 | node_modules 25 | -------------------------------------------------------------------------------- /repl/lib/js/main.js: -------------------------------------------------------------------------------- 1 | const R = ramda; 2 | const S = sanctuary; 3 | const Either = ramdaFantasy.Either; 4 | const Future = ramdaFantasy.Future; 5 | const Identity = ramdaFantasy.Identity; 6 | const IO = ramdaFantasy.IO; 7 | const lift2 = ramdaFantasy.lift2; 8 | const lift3 = ramdaFantasy.lift3; 9 | const Maybe = ramdaFantasy.Maybe; 10 | const Tuple = ramdaFantasy.Tuple; 11 | const Reader = ramdaFantasy.Reader; 12 | 13 | const _window = {} 14 | R.forEach(x => _window[x] = window[x], R.keys(R).filter(k => k in window)) 15 | R.forEach(x => window[x] = R[x], R.keys(R)) 16 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/theme/neat.css: -------------------------------------------------------------------------------- 1 | .cm-s-neat span.cm-comment { color: #a86; } 2 | .cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; } 3 | .cm-s-neat span.cm-string { color: #a22; } 4 | .cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; } 5 | .cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color: #0aa; } 6 | .cm-s-neat span.cm-variable { color: black; } 7 | .cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; } 8 | .cm-s-neat span.cm-meta {color: #555;} 9 | .cm-s-neat span.cm-link { color: #3a3; } 10 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/tiki/tiki.css: -------------------------------------------------------------------------------- 1 | .cm-tw-syntaxerror { 2 | color: #FFFFFF; 3 | background-color: #990000; 4 | } 5 | 6 | .cm-tw-deleted { 7 | text-decoration: line-through; 8 | } 9 | 10 | .cm-tw-header5 { 11 | font-weight: bold; 12 | } 13 | .cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/ 14 | padding-left: 10px; 15 | } 16 | 17 | .cm-tw-box { 18 | border-top-width: 0px ! important; 19 | border-style: solid; 20 | border-width: 1px; 21 | border-color: inherit; 22 | } 23 | 24 | .cm-tw-underline { 25 | text-decoration: underline; 26 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ramda.github.io", 3 | "version": "0.0.0", 4 | "description": "Ramda website", 5 | "private": true, 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/ramda/ramda.github.io.git" 9 | }, 10 | "license": "MIT", 11 | "devDependencies": { 12 | "bootstrap": "3.3.x", 13 | "gitbook-cli": "0.3.x", 14 | "handlebars": "2.x.x", 15 | "highlight.js": "8.x.x", 16 | "http-server": "0.8.x", 17 | "jsdoc": "3.3.x", 18 | "less": "2.5.x", 19 | "marked": "0.3.x" 20 | }, 21 | "scripts": { 22 | "server": "http-server" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/theme/elegant.css: -------------------------------------------------------------------------------- 1 | .cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;} 2 | .cm-s-elegant span.cm-comment {color: #262; font-style: italic; line-height: 1em;} 3 | .cm-s-elegant span.cm-meta {color: #555; font-style: italic; line-height: 1em;} 4 | .cm-s-elegant span.cm-variable {color: black;} 5 | .cm-s-elegant span.cm-variable-2 {color: #b11;} 6 | .cm-s-elegant span.cm-qualifier {color: #555;} 7 | .cm-s-elegant span.cm-keyword {color: #730;} 8 | .cm-s-elegant span.cm-builtin {color: #30a;} 9 | .cm-s-elegant span.cm-error {background-color: #fdd;} 10 | .cm-s-elegant span.cm-link {color: #762;} 11 | -------------------------------------------------------------------------------- /less/hljs.less: -------------------------------------------------------------------------------- 1 | .hljs-comment { 2 | color: #de6; 3 | } 4 | 5 | .hljs-keyword { 6 | color: #fff; 7 | font-weight: bold; 8 | } 9 | 10 | .hljs-regexp, 11 | .hljs-string, 12 | .hljs-number { 13 | color: #fc9; 14 | } 15 | 16 | pre, 17 | .hljs { 18 | background: #333; 19 | color: #ccc; 20 | } 21 | 22 | pre { 23 | border: 0; 24 | border-radius: 0; 25 | margin-left: -15px; 26 | margin-right: -15px; 27 | padding-left: 15px; 28 | padding-right: 15px; 29 | } 30 | 31 | .try-repl { 32 | position: absolute; 33 | background: transparent; 34 | border: none; 35 | color: #E1D0E6; 36 | right: 11px; 37 | top: 3px; 38 | outline: none; 39 | } 40 | -------------------------------------------------------------------------------- /repl/examples/fantasy/futures.js: -------------------------------------------------------------------------------- 1 | const log = console::console.log; 2 | const error = console::console.error; 3 | 4 | const url = 'http://reqr.es/api/users?page=3'; 5 | 6 | const xhr = function(url) { 7 | return new Future(function(rej, res) { 8 | const oReq = new XMLHttpRequest(); 9 | oReq.addEventListener("load", res, false); 10 | oReq.addEventListener("error", rej, false); 11 | oReq.addEventListener("abort", rej, false); 12 | oReq.open("get", url, true); 13 | oReq.send(); 14 | }); 15 | }; 16 | 17 | const f = R.compose(R.map(S.parseJson), R.map(R.path(['target', 'response'])), xhr)(url); 18 | 19 | f.fork(error, R.map(log)); //=> Object {page: "3", per_page: 3, total: 12, total_pages: 4, data: Array[3]} -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/xquery/test/testEmptySequenceKeyword.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | module("testEmptySequenceKeyword"); 3 | test("testEmptySequenceKeyword", function() { 4 | expect(1); 5 | 6 | var input = '"foo" instance of empty-sequence()'; 7 | var expected = '"foo" instance of empty-sequence()'; 8 | 9 | $("#sandbox").html(''); 10 | var editor = CodeMirror.fromTextArea($("#editor")[0]); 11 | var result = $(".CodeMirror-lines div div pre")[0].innerHTML; 12 | 13 | equal(result, expected); 14 | $("#editor").html(""); 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/rpm/changes/changes.js: -------------------------------------------------------------------------------- 1 | CodeMirror.defineMode("changes", function(config, modeConfig) { 2 | var headerSeperator = /^-+$/; 3 | var headerLine = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /; 4 | var simpleEmail = /^[\w+.-]+@[\w.-]+/; 5 | 6 | return { 7 | token: function(stream) { 8 | if (stream.sol()) { 9 | if (stream.match(headerSeperator)) { return 'tag'; } 10 | if (stream.match(headerLine)) { return 'tag'; } 11 | } 12 | if (stream.match(simpleEmail)) { return 'string'; } 13 | stream.next(); 14 | return null; 15 | } 16 | }; 17 | }); 18 | 19 | CodeMirror.defineMIME("text/x-rpm-changes", "changes"); 20 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/diff/diff.js: -------------------------------------------------------------------------------- 1 | CodeMirror.defineMode("diff", function() { 2 | 3 | var TOKEN_NAMES = { 4 | '+': 'tag', 5 | '-': 'string', 6 | '@': 'meta' 7 | }; 8 | 9 | return { 10 | token: function(stream) { 11 | var tw_pos = stream.string.search(/[\t ]+?$/); 12 | 13 | if (!stream.sol() || tw_pos === 0) { 14 | stream.skipToEnd(); 15 | return ("error " + ( 16 | TOKEN_NAMES[stream.string.charAt(0)] || '')).replace(/ $/, ''); 17 | } 18 | 19 | var token_name = TOKEN_NAMES[stream.peek()] || stream.skipToEnd(); 20 | 21 | if (tw_pos === -1) { 22 | stream.skipToEnd(); 23 | } else { 24 | stream.pos = tw_pos; 25 | } 26 | 27 | return token_name; 28 | } 29 | }; 30 | }); 31 | 32 | CodeMirror.defineMIME("text/x-diff", "diff"); 33 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/xquery/test/testProcessingInstructions.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | module("testProcessingInstructions"); 3 | test("testProcessingInstructions", function() { 4 | expect(1); 5 | 6 | var input = 'data() instance of xs:string'; 7 | var expected = 'data(<?target content?>) instance of xs:string'; 8 | 9 | $("#sandbox").html(''); 10 | var editor = CodeMirror.fromTextArea($("#editor")[0]); 11 | var result = $(".CodeMirror-lines div div pre")[0].innerHTML; 12 | 13 | equal(result, expected); 14 | $("#editor").html(""); 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /less/ramda.less: -------------------------------------------------------------------------------- 1 | @import "node_modules/bootstrap/less/bootstrap"; 2 | @import "variables"; 3 | @import "layout"; 4 | @import "header"; 5 | @import "sidebar"; 6 | @import "card"; 7 | @import "hljs"; 8 | 9 | .navbar-fixed-top { 10 | box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.20); 11 | } 12 | 13 | .label-category { 14 | background: mix(@brand-primary, #fff, 25%); 15 | color: @brand-primary; 16 | } 17 | 18 | .params .toggle-params { 19 | font-size: 60%; 20 | text-transform: uppercase; 21 | } 22 | 23 | .params[data-expanded="false"] > .toggle-params::before { 24 | content: "Expand "; 25 | } 26 | 27 | .params[data-expanded="true"] > .toggle-params::before { 28 | content: "Collapse "; 29 | } 30 | 31 | .params[data-expanded="false"] > .details { 32 | display: none; 33 | } 34 | 35 | .params[data-expanded="true"] > .details { 36 | display: block; 37 | } 38 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/xquery/test/testMultiAttr.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | module("testMultiAttr"); 3 | test("test1", function() { 4 | expect(1); 5 | 6 | var expected = '<p a1="foo" a2="bar">hello world</p>'; 7 | 8 | $("#sandbox").html(''); 9 | $("#editor").html('

hello world

'); 10 | var editor = CodeMirror.fromTextArea($("#editor")[0]); 11 | var result = $(".CodeMirror-lines div div pre")[0].innerHTML; 12 | 13 | equal(result, expected); 14 | $("#editor").html(""); 15 | }); 16 | }); -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/test/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Test Suite 5 | 6 | 7 | 8 | 9 | 14 | 15 | 16 |

CodeMirror: Test Suite

17 | 18 |

A limited set of programmatic sanity tests for CodeMirror.

19 | 20 |

21 | 
22 |     
25 | 
26 |     
27 |   
28 | 
29 | 


--------------------------------------------------------------------------------
/repl/package.json:
--------------------------------------------------------------------------------
 1 | {
 2 |   "name": "ramda-repl",
 3 |   "description": "Ramda + Ramda Fantasy + Sanctuary REPL",
 4 |   "version": "1.0.0",
 5 |   "dependencies": {
 6 |     "babel-core": "6.3.26",
 7 |     "babel-preset-es2015": "6.3.13",
 8 |     "babel-preset-stage-0": "6.3.13",
 9 |     "babelify": "7.2.0",
10 |     "babylon": "6.3.26",
11 |     "debounce": "1.0.0",
12 |     "query-string": "2.4.1",
13 |     "ramda": "0.19.0",
14 |     "ramda-fantasy": "0.4.0",
15 |     "sanctuary": "0.7.0",
16 |     "through2": "2.0.0",
17 |     "vinyl-fs": "1.0.0"
18 |   },
19 |   "license": "MIT",
20 |   "private": true,
21 |   "repository": {
22 |     "type": "git",
23 |     "url": "git://github.com/ramda/ramda.github.io.git"
24 |   },
25 |   "scripts": {
26 |     "build": "browserify -t babelify ./lib/js/repl.js -o ./lib/js/bundle.js",
27 |     "build-examples": "babel-node create-examples.js && npm run build"
28 |   }
29 | }
30 | 


--------------------------------------------------------------------------------
/0.9/repl/vendor/codemirror2/package.json:
--------------------------------------------------------------------------------
 1 | {
 2 |     "name": "CodeMirror",
 3 |     "version":"2.30.0",
 4 |     "main": "codemirror.js",
 5 |     "description": "In-browser code editing made bearable",
 6 |     "licenses": [
 7 |         {
 8 |             "type": "MIT",
 9 |             "url": "http://codemirror.net/LICENSE"
10 |         }
11 |     ],
12 |     "directories": {
13 |         "lib": "./lib"
14 |     },
15 |     "bugs": "http://github.com/marijnh/CodeMirror2/issues",
16 |     "keywords": ["JavaScript", "CodeMirror", "Editor"],
17 |     "homepage": "http://codemirror.net",
18 |     "maintainers":[ {
19 |         "name": "Marijn Haverbeke",
20 |         "email": "marijnh@gmail.com",
21 |         "web": "http://codemirror.net"
22 |     }],
23 |     "repositories": [
24 |         {
25 |             "type": "git",
26 |             "url": "https://github.com/marijnh/CodeMirror2.git"
27 |         }
28 |     ]
29 | }
30 | 


--------------------------------------------------------------------------------
/less/sidebar.less:
--------------------------------------------------------------------------------
 1 | @border: 1px solid #ccc;
 2 | 
 3 | .sidebar {
 4 |     background: #f4f4f4;
 5 |     border-right: @border;
 6 |     font-family: @font-family-monospace;
 7 | 
 8 |     .filter {
 9 |         width: 100%;
10 |         margin: 15px 0;
11 |         height: 30px;
12 |     }
13 | 
14 |     .toc {
15 |         @padding: 5px;
16 |         @margin: 15px;
17 | 
18 |         margin: 0 (-@margin);
19 |         width: 100%;
20 |         bottom: 0;
21 |         top: 60px;
22 |         background: #f8f8f8;
23 |         border-top: @border;
24 |         position: absolute;
25 | 
26 |         padding: (3 * @padding) 0;
27 | 
28 |         overflow: auto;
29 | 
30 |         li {
31 |             margin: 0;
32 |         }
33 | 
34 |         a {
35 |             padding: @padding @margin;
36 |             border-radius: 0;
37 | 
38 |             &:hover {
39 |                 background: #e4e4e4;
40 |             }
41 |         }
42 |     }
43 | }
44 | 


--------------------------------------------------------------------------------
/0.9/repl/vendor/codemirror2/mode/vbscript/vbscript.js:
--------------------------------------------------------------------------------
 1 | CodeMirror.defineMode("vbscript", function() {
 2 |   var regexVBScriptKeyword = /^(?:Call|Case|CDate|Clear|CInt|CLng|Const|CStr|Description|Dim|Do|Each|Else|ElseIf|End|Err|Error|Exit|False|For|Function|If|LCase|Loop|LTrim|Next|Nothing|Now|Number|On|Preserve|Quit|ReDim|Resume|RTrim|Select|Set|Sub|Then|To|Trim|True|UBound|UCase|Until|VbCr|VbCrLf|VbLf|VbTab)$/im;
 3 | 
 4 |   return {
 5 |     token: function(stream) {
 6 |       if (stream.eatSpace()) return null;
 7 |       var ch = stream.next();
 8 |       if (ch == "'") {
 9 |       	stream.skipToEnd();
10 |       	return "comment";
11 |       }
12 |       if (ch == '"') {
13 |       	stream.skipTo('"');
14 |       	return "string";
15 |       }
16 | 
17 |       if (/\w/.test(ch)) {
18 |         stream.eatWhile(/\w/);
19 |         if (regexVBScriptKeyword.test(stream.current())) return "keyword";
20 |       }
21 |       return null;
22 |     }
23 |   };
24 | });
25 | 
26 | CodeMirror.defineMIME("text/vbscript", "vbscript");
27 | 


--------------------------------------------------------------------------------
/0.9/repl/vendor/codemirror2/mode/pascal/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2011 souceLair 
2 | 
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 | 
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 | 
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 | 


--------------------------------------------------------------------------------
/0.9/repl/assets/css/repl.css:
--------------------------------------------------------------------------------
 1 | @import url(http://fonts.googleapis.com/css?family=Droid+Sans+Mono|Droid+Sans);
 2 | 
 3 | html, body {
 4 |     margin: 0;
 5 |     padding-top: 30px;
 6 |     padding-bottom: 30px;
 7 | }
 8 | 
 9 | .output-wrapper {
10 |     position: absolute;
11 |     right: 0;
12 |     top: 0;
13 | }
14 | 
15 | html.hide-output .output-wrapper {
16 |     display: none;
17 | }
18 | 
19 | html.hide-output .CodeMirror {
20 | }
21 | 
22 | .eval, .source-map {
23 |     background-color: white;
24 |     border: none;
25 | }
26 | .error {
27 |     color: red;
28 |     background-color: white;
29 |     border: none;
30 | }
31 | 
32 | .dropdown-menu {
33 |     width: 250px;
34 | }
35 | 
36 | #options_menu input {
37 |     margin-left: 3px;
38 |     margin-right: 3px;
39 |     margin-top: 0;
40 | }
41 | 
42 | #options_menu label {
43 |     font-weight: normal;
44 |     margin-bottom: 0;
45 | }
46 | 
47 | #options_menu hr {
48 |     border-color: darkgrey;
49 |     margin-top: 3px;
50 |     margin-bottom: 3px;
51 | }
52 | 
53 | body.dark, body.dark h1 {
54 |     background-color: #000000;
55 |     color: #ffffff;
56 | }
57 | 
58 | 


--------------------------------------------------------------------------------
/0.9/repl/vendor/codemirror2/theme/cobalt.css:
--------------------------------------------------------------------------------
 1 | .cm-s-cobalt { background: #002240; color: white; }
 2 | .cm-s-cobalt div.CodeMirror-selected { background: #b36539 !important; }
 3 | .cm-s-cobalt .CodeMirror-gutter { background: #002240; border-right: 1px solid #aaa; }
 4 | .cm-s-cobalt .CodeMirror-gutter-text { color: #d0d0d0; }
 5 | .cm-s-cobalt .CodeMirror-cursor { border-left: 1px solid white !important; }
 6 | 
 7 | .cm-s-cobalt span.cm-comment { color: #08f; }
 8 | .cm-s-cobalt span.cm-atom { color: #845dc4; }
 9 | .cm-s-cobalt span.cm-number, .cm-s-cobalt span.cm-attribute { color: #ff80e1; }
10 | .cm-s-cobalt span.cm-keyword { color: #ffee80; }
11 | .cm-s-cobalt span.cm-string { color: #3ad900; }
12 | .cm-s-cobalt span.cm-meta { color: #ff9d00; }
13 | .cm-s-cobalt span.cm-variable-2, .cm-s-cobalt span.cm-tag { color: #9effff; }
14 | .cm-s-cobalt span.cm-variable-3, .cm-s-cobalt span.cm-def { color: white; }
15 | .cm-s-cobalt span.cm-error { color: #9d1e15; }
16 | .cm-s-cobalt span.cm-bracket { color: #d8d8d8; }
17 | .cm-s-cobalt span.cm-builtin, .cm-s-cobalt span.cm-special { color: #ff9e59; }
18 | .cm-s-cobalt span.cm-link { color: #845dc4; }
19 | 


--------------------------------------------------------------------------------
/repl/create-examples.js:
--------------------------------------------------------------------------------
 1 | import fs from 'fs';
 2 | import R from 'ramda';
 3 | import vfs from 'vinyl-fs';
 4 | import through2 from 'through2';
 5 | 
 6 | const src = './examples/**/*.js';
 7 | const dest = './examples/example.json';
 8 | const stream = vfs.src(src);
 9 | const examplesList = [];
10 | const options = {
11 |     objectMode: true
12 | };
13 | 
14 | const groupByCategory = R.groupBy(R.prop('category'));
15 | const removeExtension = R.compose(R.replace('.js', ''), R.last);
16 | const takeSecondToLast = R.compose(R.takeLast(1), R.dropLast(1));
17 | 
18 | const transform = function transform(chunk, enc, callback) {
19 |     const arr = chunk.path.split('/');
20 |     const obj = {
21 |         category: takeSecondToLast(arr),
22 |         title: removeExtension(arr),
23 |         code: chunk.contents.toString()
24 |     };
25 | 
26 |     examplesList.push(obj);
27 |     callback();
28 | };
29 | 
30 | const flush = function flush(callback) {
31 |     const object = groupByCategory(examplesList);
32 |     this.push(JSON.stringify(object, null, 2));
33 |     callback();
34 | };
35 | 
36 | stream.pipe(through2(options, transform, flush)).pipe(fs.createWriteStream(dest));
37 | 


--------------------------------------------------------------------------------
/0.9/repl/vendor/codemirror2/mode/ntriples/index.html:
--------------------------------------------------------------------------------
 1 | 
 2 | 
 3 |   
 4 |     CodeMirror: NTriples mode
 5 |     
 6 |     
 7 |     
 8 |     
 9 |        
14 |   
15 |   
16 |     

CodeMirror: NTriples mode

17 |
18 | 25 |
26 | 27 | 30 |

MIME types defined: text/n-triples.

31 | 32 | 33 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/demo/resize.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Autoresize Demo 5 | 6 | 7 | 8 | 9 | 10 | 20 | 21 | 22 |

CodeMirror: Autoresize demo

23 | 24 |
30 | 31 |

By setting a few CSS properties, CodeMirror can be made to 32 | automatically resize to fit its content.

33 | 34 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/theme/eclipse.css: -------------------------------------------------------------------------------- 1 | .cm-s-eclipse span.cm-meta {color: #FF1717;} 2 | .cm-s-eclipse span.cm-keyword { line-height: 1em; font-weight: bold; color: #7F0055; } 3 | .cm-s-eclipse span.cm-atom {color: #219;} 4 | .cm-s-eclipse span.cm-number {color: #164;} 5 | .cm-s-eclipse span.cm-def {color: #00f;} 6 | .cm-s-eclipse span.cm-variable {color: black;} 7 | .cm-s-eclipse span.cm-variable-2 {color: #0000C0;} 8 | .cm-s-eclipse span.cm-variable-3 {color: #0000C0;} 9 | .cm-s-eclipse span.cm-property {color: black;} 10 | .cm-s-eclipse span.cm-operator {color: black;} 11 | .cm-s-eclipse span.cm-comment {color: #3F7F5F;} 12 | .cm-s-eclipse span.cm-string {color: #2A00FF;} 13 | .cm-s-eclipse span.cm-string-2 {color: #f50;} 14 | .cm-s-eclipse span.cm-error {color: #f00;} 15 | .cm-s-eclipse span.cm-qualifier {color: #555;} 16 | .cm-s-eclipse span.cm-builtin {color: #30a;} 17 | .cm-s-eclipse span.cm-bracket {color: #cc7;} 18 | .cm-s-eclipse span.cm-tag {color: #170;} 19 | .cm-s-eclipse span.cm-attribute {color: #00c;} 20 | .cm-s-eclipse span.cm-link {color: #219;} 21 | 22 | .cm-s-eclipse .CodeMirror-matchingbracket { 23 | border:1px solid grey; 24 | color:black !important;; 25 | } 26 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/python/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2010 Timothy Farrell 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/xquery/test/testQuotes.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | module("testQuoteEscape"); 3 | test("testQuoteEscapeDouble", function() { 4 | expect(1); 5 | 6 | var input = 'let $rootfolder := "c:\\builds\\winnt\\HEAD\\qa\\scripts\\"\ 7 | let $keysfolder := concat($rootfolder, "keys\\")\ 8 | return\ 9 | $keysfolder'; 10 | var expected = 'let $rootfolder := "c:\\builds\\winnt\\HEAD\\qa\\scripts\\"let $keysfolder := concat($rootfolder, "keys\\")return$keysfolder'; 11 | 12 | $("#sandbox").html(''); 13 | var editor = CodeMirror.fromTextArea($("#editor")[0]); 14 | var result = $(".CodeMirror-lines div div pre")[0].innerHTML; 15 | 16 | equal(result, expected); 17 | $("#editor").html(""); 18 | }); 19 | }); 20 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/perl/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2011 by Sabaca under the MIT license. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/xquery/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2011 by MarkLogic Corporation 2 | Author: Mike Brevoort 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is 9 | furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in 12 | all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/theme/night.css: -------------------------------------------------------------------------------- 1 | /* Loosely based on the Midnight Textmate theme */ 2 | 3 | .cm-s-night { background: #0a001f; color: #f8f8f8; } 4 | .cm-s-night div.CodeMirror-selected { background: #447 !important; } 5 | .cm-s-night .CodeMirror-gutter { background: #0a001f; border-right: 1px solid #aaa; } 6 | .cm-s-night .CodeMirror-gutter-text { color: #f8f8f8; } 7 | .cm-s-night .CodeMirror-cursor { border-left: 1px solid white !important; } 8 | 9 | .cm-s-night span.cm-comment { color: #6900a1; } 10 | .cm-s-night span.cm-atom { color: #845dc4; } 11 | .cm-s-night span.cm-number, .cm-s-night span.cm-attribute { color: #ffd500; } 12 | .cm-s-night span.cm-keyword { color: #599eff; } 13 | .cm-s-night span.cm-string { color: #37f14a; } 14 | .cm-s-night span.cm-meta { color: #7678e2; } 15 | .cm-s-night span.cm-variable-2, .cm-s-night span.cm-tag { color: #99b2ff; } 16 | .cm-s-night span.cm-variable-3, .cm-s-night span.cm-def { color: white; } 17 | .cm-s-night span.cm-error { color: #9d1e15; } 18 | .cm-s-night span.cm-bracket { color: #8da6ce; } 19 | .cm-s-night span.cm-comment { color: #6900a1; } 20 | .cm-s-night span.cm-builtin, .cm-s-night span.cm-special { color: #ff9e59; } 21 | .cm-s-night span.cm-link { color: #845dc4; } 22 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/jinja2/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Jinja2 mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: Jinja2 mode

13 |
31 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /repl/lib/css/repl.css: -------------------------------------------------------------------------------- 1 | @import url(http://fonts.googleapis.com/css?family=Droid+Sans+Mono|Droid+Sans); 2 | 3 | html, body { 4 | margin: 0; 5 | padding-top: 30px; 6 | padding-bottom: 30px; 7 | } 8 | 9 | .output-wrapper { 10 | position: absolute; 11 | right: 0; 12 | top: 0; 13 | } 14 | 15 | html.hide-output .output-wrapper { 16 | display: none; 17 | } 18 | 19 | html.hide-output .CodeMirror { 20 | } 21 | 22 | .eval, .source-map { 23 | background-color: white; 24 | border: none; 25 | } 26 | .error { 27 | color: red; 28 | background-color: white; 29 | border: none; 30 | } 31 | 32 | .dropdown-menu { 33 | width: 250px; 34 | } 35 | 36 | #options_menu input { 37 | margin-left: 3px; 38 | margin-right: 3px; 39 | margin-top: 0; 40 | } 41 | 42 | #options_menu label { 43 | font-weight: normal; 44 | margin-bottom: 0; 45 | } 46 | 47 | #options_menu hr { 48 | border-color: darkgrey; 49 | margin-top: 3px; 50 | margin-bottom: 3px; 51 | } 52 | 53 | body.dark, body.dark h1 { 54 | background-color: #000000; 55 | color: #ffffff; 56 | } 57 | .urltext { 58 | border: none; 59 | font-size: 15px; 60 | vertical-align: middle; 61 | margin-left: 6px; 62 | } 63 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/coffeescript/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2011 Jeff Pickhardt 4 | Modified from the Python CodeMirror mode, Copyright (c) 2010 Timothy Farrell 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. -------------------------------------------------------------------------------- /jsdoc/templates/index.html.handlebars: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Ramda Documentation 7 | 8 | 9 | 10 | 11 | 28 |
29 |
{{readme}}
30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/theme/monokai.css: -------------------------------------------------------------------------------- 1 | /* Based on Sublime Text's Monokai theme */ 2 | 3 | .cm-s-monokai {background: #272822; color: #f8f8f2;} 4 | .cm-s-monokai div.CodeMirror-selected {background: #49483E !important;} 5 | .cm-s-monokai .CodeMirror-gutter {background: #272822; border-right: 0px;} 6 | .cm-s-monokai .CodeMirror-gutter-text {color: #d0d0d0;} 7 | .cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;} 8 | 9 | .cm-s-monokai span.cm-comment {color: #75715e;} 10 | .cm-s-monokai span.cm-atom {color: #ae81ff;} 11 | .cm-s-monokai span.cm-number {color: #ae81ff;} 12 | 13 | .cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute {color: #a6e22e;} 14 | .cm-s-monokai span.cm-keyword {color: #f92672;} 15 | .cm-s-monokai span.cm-string {color: #e6db74;} 16 | 17 | .cm-s-monokai span.cm-variable {color: #a6e22e;} 18 | .cm-s-monokai span.cm-variable-2 {color: #9effff;} 19 | .cm-s-monokai span.cm-def {color: #fd971f;} 20 | .cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;} 21 | .cm-s-monokai span.cm-bracket {color: #f8f8f2;} 22 | .cm-s-monokai span.cm-tag {color: #f92672;} 23 | .cm-s-monokai span.cm-link {color: #ae81ff;} 24 | 25 | .cm-s-monokai .CodeMirror-matchingbracket { 26 | text-decoration: underline; 27 | color: white !important; 28 | } 29 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/rust/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Rust mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: Rust mode

13 | 14 |
37 | 38 | 45 | 46 |

MIME types defined: text/x-rustsrc.

47 | 48 | 49 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/xquery/test/index.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |

XQuery CodeMirror Mode

21 |

22 |

23 |
    24 |
25 |
26 | 27 | 28 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/css/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: CSS mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: CSS mode

13 |
48 | 51 | 52 |

MIME types defined: text/css.

53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/ecl/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: ECL mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: ECL mode

13 |
31 | 37 | 38 |

Based on CodeMirror's clike mode. For more information see HPCC Systems web site.

39 |

MIME types defined: text/x-ecl.

40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2012 by Marijn Haverbeke 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | 21 | Please note that some subdirectories of the CodeMirror distribution 22 | include their own LICENSE files, and are released under different 23 | licences. 24 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/theme/erlang-dark.css: -------------------------------------------------------------------------------- 1 | .cm-s-erlang-dark { background: #002240; color: white; } 2 | .cm-s-erlang-dark div.CodeMirror-selected { background: #b36539 !important; } 3 | .cm-s-erlang-dark .CodeMirror-gutter { background: #002240; border-right: 1px solid #aaa; } 4 | .cm-s-erlang-dark .CodeMirror-gutter-text { color: #d0d0d0; } 5 | .cm-s-erlang-dark .CodeMirror-cursor { border-left: 1px solid white !important; } 6 | 7 | .cm-s-erlang-dark span.cm-atom { color: #845dc4; } 8 | .cm-s-erlang-dark span.cm-attribute { color: #ff80e1; } 9 | .cm-s-erlang-dark span.cm-bracket { color: #ff9d00; } 10 | .cm-s-erlang-dark span.cm-builtin { color: #eeaaaa; } 11 | .cm-s-erlang-dark span.cm-comment { color: #7777ff; } 12 | .cm-s-erlang-dark span.cm-def { color: #ee77aa; } 13 | .cm-s-erlang-dark span.cm-error { color: #9d1e15; } 14 | .cm-s-erlang-dark span.cm-keyword { color: #ffee80; } 15 | .cm-s-erlang-dark span.cm-meta { color: #50fefe; } 16 | .cm-s-erlang-dark span.cm-number { color: #ffd0d0; } 17 | .cm-s-erlang-dark span.cm-operator { color: #dd1111; } 18 | .cm-s-erlang-dark span.cm-string { color: #3ad900; } 19 | .cm-s-erlang-dark span.cm-tag { color: #9effff; } 20 | .cm-s-erlang-dark span.cm-variable { color: #50fe50; } 21 | .cm-s-erlang-dark span.cm-variable-2 { color: #ee00ee; } 22 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/mysql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: MySQL mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: MySQL mode

13 |
30 | 37 | 38 |

MIME types defined: text/x-mysql.

39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/pig/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Pig Latin mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: Pig Latin mode

13 | 14 |
26 | 27 | 35 | 36 |

37 | Simple mode that handles Pig Latin language. 38 |

39 | 40 |

MIME type defined: text/x-pig 41 | (PIG code) 42 | 43 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/pascal/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Pascal mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: Pascal mode

13 | 14 |
37 | 38 | 45 | 46 |

MIME types defined: text/x-pascal.

47 | 48 | 49 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/theme/blackboard.css: -------------------------------------------------------------------------------- 1 | /* Port of TextMate's Blackboard theme */ 2 | 3 | .cm-s-blackboard { background: #0C1021; color: #F8F8F8; } 4 | .cm-s-blackboard .CodeMirror-selected { background: #253B76 !important; } 5 | .cm-s-blackboard .CodeMirror-gutter { background: #0C1021; border-right: 0; } 6 | .cm-s-blackboard .CodeMirror-gutter-text { color: #888; } 7 | .cm-s-blackboard .CodeMirror-cursor { border-left: 1px solid #A7A7A7 !important; } 8 | 9 | .cm-s-blackboard .cm-keyword { color: #FBDE2D; } 10 | .cm-s-blackboard .cm-atom { color: #D8FA3C; } 11 | .cm-s-blackboard .cm-number { color: #D8FA3C; } 12 | .cm-s-blackboard .cm-def { color: #8DA6CE; } 13 | .cm-s-blackboard .cm-variable { color: #FF6400; } 14 | .cm-s-blackboard .cm-operator { color: #FBDE2D;} 15 | .cm-s-blackboard .cm-comment { color: #AEAEAE; } 16 | .cm-s-blackboard .cm-string { color: #61CE3C; } 17 | .cm-s-blackboard .cm-string-2 { color: #61CE3C; } 18 | .cm-s-blackboard .cm-meta { color: #D8FA3C; } 19 | .cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; } 20 | .cm-s-blackboard .cm-builtin { color: #8DA6CE; } 21 | .cm-s-blackboard .cm-tag { color: #8DA6CE; } 22 | .cm-s-blackboard .cm-attribute { color: #8DA6CE; } 23 | .cm-s-blackboard .cm-header { color: #FF6400; } 24 | .cm-s-blackboard .cm-hr { color: #AEAEAE; } 25 | .cm-s-blackboard .cm-link { color: #8DA6CE; } 26 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/vbscript/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: VBScript mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: VBScript mode

13 | 14 |
31 | 32 | 38 | 39 |

MIME types defined: text/vbscript.

40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/properties/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Properties files mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: Properties files mode

13 |
32 | 35 | 36 |

MIME types defined: text/x-properties, 37 | text/x-ini.

38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/sparql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: SPARQL mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: SPARQL mode

13 |
29 | 36 | 37 |

MIME types defined: application/x-sparql-query.

38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/theme/rubyblue.css: -------------------------------------------------------------------------------- 1 | .cm-s-rubyblue { font:13px/1.4em Trebuchet, Verdana, sans-serif; } /* - customized editor font - */ 2 | 3 | .cm-s-rubyblue { background: #112435; color: white; } 4 | .cm-s-rubyblue div.CodeMirror-selected { background: #38566F !important; } 5 | .cm-s-rubyblue .CodeMirror-gutter { background: #1F4661; border-right: 7px solid #3E7087; min-width:2.5em; } 6 | .cm-s-rubyblue .CodeMirror-gutter-text { color: white; } 7 | .cm-s-rubyblue .CodeMirror-cursor { border-left: 1px solid white !important; } 8 | 9 | .cm-s-rubyblue span.cm-comment { color: #999; font-style:italic; line-height: 1em; } 10 | .cm-s-rubyblue span.cm-atom { color: #F4C20B; } 11 | .cm-s-rubyblue span.cm-number, .cm-s-rubyblue span.cm-attribute { color: #82C6E0; } 12 | .cm-s-rubyblue span.cm-keyword { color: #F0F; } 13 | .cm-s-rubyblue span.cm-string { color: #F08047; } 14 | .cm-s-rubyblue span.cm-meta { color: #F0F; } 15 | .cm-s-rubyblue span.cm-variable-2, .cm-s-rubyblue span.cm-tag { color: #7BD827; } 16 | .cm-s-rubyblue span.cm-variable-3, .cm-s-rubyblue span.cm-def { color: white; } 17 | .cm-s-rubyblue span.cm-error { color: #AF2018; } 18 | .cm-s-rubyblue span.cm-bracket { color: #F0F; } 19 | .cm-s-rubyblue span.cm-link { color: #F4C20B; } 20 | .cm-s-rubyblue span.CodeMirror-matchingbracket { color:#F0F !important; } 21 | .cm-s-rubyblue span.cm-builtin, .cm-s-rubyblue span.cm-special { color: #FF9D00; } 22 | -------------------------------------------------------------------------------- /repl/lib/js/logger.js: -------------------------------------------------------------------------------- 1 | const consoleLogElement = document.querySelector('.console-log'); 2 | const internals = {}; 3 | const reporter = {}; 4 | 5 | 6 | internals.buffer = []; 7 | 8 | internals.flush = function flush() { 9 | consoleLogElement.textContent = internals.buffer.join('\n'); 10 | }; 11 | 12 | internals.logMethods = ['log', 'info', 'debug']; 13 | 14 | internals.prepLogs = R.cond([ 15 | [R.is(String), R.identity], 16 | [R.is(Function), R.toString], 17 | [R.T, JSON.stringify] 18 | ]); 19 | 20 | internals.intercept = function(method) { 21 | const original = console[method]; 22 | console[method] = function(...args) { 23 | args.reduce(function(buf, arg) { 24 | buf.push(internals.prepLogs(arg)); 25 | return buf; 26 | }, internals.buffer); 27 | original.apply(console, args); 28 | internals.flush(); 29 | }; 30 | }; 31 | 32 | internals.clear = function() { 33 | const consoleClear = console.clear; 34 | console.clear = function() { 35 | internals.buffer = []; 36 | consoleLogElement.textContent = ''; 37 | consoleClear.call(console); 38 | }; 39 | }; 40 | 41 | reporter.main = function() { 42 | internals.clear(); 43 | internals.logMethods.reduce(function(fn, method) { 44 | fn(method); 45 | return fn; 46 | }, internals.intercept); 47 | }; 48 | 49 | export default reporter; -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/demo/matchhighlighter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Match Highlighter Demo 5 | 6 | 7 | 8 | 9 | 10 | 11 | 17 | 18 | 19 |

CodeMirror: Match Highlighter Demo

20 | 21 |
24 | 25 | 33 | 34 |

Highlight matches of selected text on select

35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/demo/loadmode.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Lazy Mode Loading Demo 5 | 6 | 7 | 8 | 9 | 10 | 13 | 14 | 15 |

CodeMirror: Lazy Mode Loading

16 | 17 |
22 |

23 | 24 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/keymap/emacs.js: -------------------------------------------------------------------------------- 1 | // TODO number prefixes 2 | (function() { 3 | // Really primitive kill-ring implementation. 4 | var killRing = []; 5 | function addToRing(str) { 6 | killRing.push(str); 7 | if (killRing.length > 50) killRing.shift(); 8 | } 9 | function getFromRing() { return killRing[killRing.length - 1] || ""; } 10 | function popFromRing() { if (killRing.length > 1) killRing.pop(); return getFromRing(); } 11 | 12 | CodeMirror.keyMap.emacs = { 13 | "Ctrl-X": function(cm) {cm.setOption("keyMap", "emacs-Ctrl-X");}, 14 | "Ctrl-W": function(cm) {addToRing(cm.getSelection()); cm.replaceSelection("");}, 15 | "Ctrl-Alt-W": function(cm) {addToRing(cm.getSelection()); cm.replaceSelection("");}, 16 | "Alt-W": function(cm) {addToRing(cm.getSelection());}, 17 | "Ctrl-Y": function(cm) {cm.replaceSelection(getFromRing());}, 18 | "Alt-Y": function(cm) {cm.replaceSelection(popFromRing());}, 19 | "Ctrl-/": "undo", "Shift-Ctrl--": "undo", "Shift-Alt-,": "goDocStart", "Shift-Alt-.": "goDocEnd", 20 | "Ctrl-S": "findNext", "Ctrl-R": "findPrev", "Ctrl-G": "clearSearch", "Shift-Alt-5": "replace", 21 | "Ctrl-Z": "undo", "Cmd-Z": "undo", "Alt-/": "autocomplete", 22 | fallthrough: ["basic", "emacsy"] 23 | }; 24 | 25 | CodeMirror.keyMap["emacs-Ctrl-X"] = { 26 | "Ctrl-S": "save", "Ctrl-W": "save", "S": "saveAll", "F": "open", "U": "undo", "K": "close", 27 | auto: "emacs", nofallthrough: true 28 | }; 29 | })(); 30 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/perl/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Perl mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: Perl mode

13 | 14 |
52 | 53 | 59 | 60 |

MIME types defined: text/x-perl.

61 | 62 | 63 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/shell/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Shell mode 4 | 5 | 6 | 7 | 8 | 11 | 12 | 13 | 14 | 15 |

CodeMirror: Shell mode

16 | 17 | 41 | 42 | 49 | 50 |

MIME types defined: text/x-sh.

51 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/theme/vibrant-ink.css: -------------------------------------------------------------------------------- 1 | /* Taken from the popular Visual Studio Vibrant Ink Schema */ 2 | 3 | .cm-s-vibrant-ink { background: black; color: white; } 4 | .cm-s-vibrant-ink .CodeMirror-selected { background: #35493c !important; } 5 | 6 | .cm-s-vibrant-ink .CodeMirror-gutter { background: #002240; border-right: 1px solid #aaa; } 7 | .cm-s-vibrant-ink .CodeMirror-gutter-text { color: #d0d0d0; } 8 | .cm-s-vibrant-ink .CodeMirror-cursor { border-left: 1px solid white !important; } 9 | 10 | .cm-s-vibrant-ink .cm-keyword { color: #CC7832; } 11 | .cm-s-vibrant-ink .cm-atom { color: #FC0; } 12 | .cm-s-vibrant-ink .cm-number { color: #FFEE98; } 13 | .cm-s-vibrant-ink .cm-def { color: #8DA6CE; } 14 | .cm-s-vibrant-ink span.cm-variable-2, .cm-s-cobalt span.cm-tag { color: #FFC66D } 15 | .cm-s-vibrant-ink span.cm-variable-3, .cm-s-cobalt span.cm-def { color: #FFC66D } 16 | .cm-s-vibrant-ink .cm-operator { color: #888; } 17 | .cm-s-vibrant-ink .cm-comment { color: gray; font-weight: bold; } 18 | .cm-s-vibrant-ink .cm-string { color: #A5C25C } 19 | .cm-s-vibrant-ink .cm-string-2 { color: red } 20 | .cm-s-vibrant-ink .cm-meta { color: #D8FA3C; } 21 | .cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; } 22 | .cm-s-vibrant-ink .cm-builtin { color: #8DA6CE; } 23 | .cm-s-vibrant-ink .cm-tag { color: #8DA6CE; } 24 | .cm-s-vibrant-ink .cm-attribute { color: #8DA6CE; } 25 | .cm-s-vibrant-ink .cm-header { color: #FF6400; } 26 | .cm-s-vibrant-ink .cm-hr { color: #AEAEAE; } 27 | .cm-s-vibrant-ink .cm-link { color: blue; } 28 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/gfm/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: GFM mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |

CodeMirror: GFM mode

17 | 18 | 19 |
36 | 37 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /repl/lib/js/googl.js: -------------------------------------------------------------------------------- 1 | import R from 'ramda'; 2 | import S from 'sanctuary'; 3 | import {Future} from 'ramda-fantasy'; 4 | 5 | const apiUrl = 'https://www.googleapis.com/urlshortener/v1/url?' + 6 | 'key=AIzaSyDhbAvT5JqkxFPkoeezJp19-S_mAJudxyk'; 7 | 8 | const req = { 9 | longUrl: 'http://ramdajs.com/repl/' 10 | }; 11 | 12 | const makeShortUrlBtn = document.getElementById('mkurl'); 13 | 14 | const input = document.getElementById('urlout'); 15 | 16 | const setValue = R.curry(function(data) { 17 | input.value = data; 18 | input.select(); 19 | }); 20 | 21 | const error = console.error.bind(console); 22 | 23 | const xhr = function(url) { 24 | return new Future(function(reject, resolve) { 25 | const oReq = new XMLHttpRequest(); 26 | const requestData = R.evolve({longUrl: R.concat(R.__, location.hash)}, req); 27 | 28 | oReq.addEventListener("load", resolve, false); 29 | oReq.addEventListener("error", reject, false); 30 | oReq.addEventListener("abort", reject, false); 31 | oReq.open("POST", url, true); 32 | oReq.setRequestHeader("Content-Type", "application/json; charset=utf-8"); 33 | oReq.send(JSON.stringify(requestData)); 34 | }); 35 | }; 36 | 37 | const getResponse = R.compose(R.map(S.parseJson), 38 | R.map(R.path(['target', 'response'])), xhr); 39 | 40 | const getShortUrl = R.map(R.compose(setValue, R.prop('id'))); 41 | 42 | const futureXhr = getResponse(apiUrl); 43 | 44 | export default () => makeShortUrlBtn.addEventListener('click', () => futureXhr.fork(error, getShortUrl)); 45 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/jinja2/jinja2.js: -------------------------------------------------------------------------------- 1 | CodeMirror.defineMode("jinja2", function(config, parserConf) { 2 | var keywords = ["block", "endblock", "for", "endfor", "in", "true", "false", 3 | "loop", "none", "self", "super", "if", "as", "not", "and", 4 | "else", "import", "with", "without", "context"]; 5 | keywords = new RegExp("^((" + keywords.join(")|(") + "))\\b"); 6 | 7 | function tokenBase (stream, state) { 8 | var ch = stream.next(); 9 | if (ch == "{") { 10 | if (ch = stream.eat(/\{|%|#/)) { 11 | stream.eat("-"); 12 | state.tokenize = inTag(ch); 13 | return "tag"; 14 | } 15 | } 16 | } 17 | function inTag (close) { 18 | if (close == "{") { 19 | close = "}"; 20 | } 21 | return function (stream, state) { 22 | var ch = stream.next(); 23 | if ((ch == close || (ch == "-" && stream.eat(close))) 24 | && stream.eat("}")) { 25 | state.tokenize = tokenBase; 26 | return "tag"; 27 | } 28 | if (stream.match(keywords)) { 29 | return "keyword"; 30 | } 31 | return close == "#" ? "comment" : "string"; 32 | }; 33 | } 34 | return { 35 | startState: function () { 36 | return {tokenize: tokenBase}; 37 | }, 38 | token: function (stream, state) { 39 | return state.tokenize(stream, state); 40 | } 41 | }; 42 | }); 43 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/demo/marker.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Breakpoint Demo 5 | 6 | 7 | 8 | 9 | 10 | 19 | 20 | 21 |

CodeMirror: Breakpoint demo

22 | 23 |
35 | 36 |

Click the line-number gutter to add or remove 'breakpoints'.

37 | 38 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/r/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011, Ubalo, Inc. 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | * Neither the name of the Ubalo, Inc nor the names of its 12 | contributors may be used to endorse or promote products derived 13 | from this software without specific prior written permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL UBALO, INC BE LIABLE FOR ANY 19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/ruby/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011, Ubalo, Inc. 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | * Neither the name of the Ubalo, Inc. nor the names of its 12 | contributors may be used to endorse or promote products derived 13 | from this software without specific prior written permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL UBALO, INC BE LIABLE FOR ANY 19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | -------------------------------------------------------------------------------- /less/card.less: -------------------------------------------------------------------------------- 1 | @padding: 15px; 2 | @radius: 2px; 3 | 4 | .card { 5 | font-size: ceil((@font-size-base + 2px)); 6 | 7 | margin: 0 0 @padding 0; 8 | border: 1px solid #fff; 9 | box-shadow: 0 0 0 1px #ccc; 10 | padding: @padding; 11 | background: #fff; 12 | border-radius: @radius; 13 | 14 | pre { 15 | margin: (-@padding); 16 | margin-top: @padding; 17 | padding: 0; 18 | border: 0; 19 | border-radius: 0; 20 | position: relative; 21 | font-size: @font-size-base; 22 | 23 | code { 24 | padding: @padding; 25 | display: block; 26 | } 27 | } 28 | 29 | .returns { 30 | font-style: italic; 31 | } 32 | 33 | .name { 34 | color: inherit; 35 | } 36 | 37 | h2 { 38 | margin-top: 0; 39 | 40 | .name { 41 | font-weight: bold; 42 | } 43 | } 44 | 45 | .description { 46 | margin-top: @padding; 47 | white-space: wrap; 48 | } 49 | 50 | .sig { 51 | .caret { 52 | margin-right: 1em; 53 | transform: rotate(-90deg); 54 | } 55 | 56 | &.open .caret { 57 | transform: none; 58 | } 59 | 60 | font-family: Verdana, @font-family-sans-serif; 61 | white-space: normal; 62 | text-align: left; 63 | } 64 | 65 | .details { 66 | margin-top: @padding-base-vertical; 67 | } 68 | 69 | .type { 70 | font-weight: bold; 71 | } 72 | 73 | .deprecated { 74 | color: @deprecated-color; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/demo/vim.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Vim bindings demo 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 15 | 16 |

CodeMirror: Vim bindings demo

17 | 18 |
33 | 34 |

The vim keybindings are enabled by 35 | including keymap/vim.js and setting 36 | the keyMap option to "vim". Because 37 | CodeMirror's internal API is quite different from Vim, they are only 38 | a loose approximation of actual vim bindings, though.

39 | 40 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/demo/changemode.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Mode-Changing Demo 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 15 | 16 |

CodeMirror: Mode-Changing demo

17 | 18 |
25 | 26 |

On changes to the content of the above editor, a (crude) script 27 | tries to auto-detect the language used, and switches the editor to 28 | either JavaScript or Scheme mode based on that.

29 | 30 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/php/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: PHP mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |

CodeMirror: PHP mode

17 | 18 |
29 | 30 | 41 | 42 |

Simple HTML/PHP mode based on 43 | the C-like mode. Depends on XML, 44 | JavaScript, CSS, and C-like modes.

45 | 46 |

MIME types defined: application/x-httpd-php (HTML with PHP code), text/x-php (plain, non-wrapped PHP code).

47 | 48 | 49 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/smalltalk/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Smalltalk mode 5 | 6 | 7 | 8 | 9 | 14 | 15 | 16 |

CodeMirror: Smalltalk mode

17 | 18 |
41 | 42 | 50 | 51 |

Simple Smalltalk mode.

52 | 53 |

MIME types defined: text/x-stsrc.

54 | 55 | 56 | -------------------------------------------------------------------------------- /manual/01-intro/ReferentialTransparency.md: -------------------------------------------------------------------------------- 1 | Referential Transparency 2 | ======================== 3 | 4 | Referential Transparency is a simple notion: we should be free to 5 | substitute an expresion's vaulue for that expression without changing 6 | the behavior of our program. 7 | 8 | There are several advantages to referetial transparent code. It 9 | simplifies analysis, and lets us -- or perhaps a compiler -- optimize 10 | parts that might otherwise be too difficult to do. But perhaps the 11 | greatest benefit is that it entirely removes the notion of _sequencing_, 12 | of time, from the analysis of our program. It doesn't matter which 13 | expressions are evaluated first; the answer will always be the same. 14 | 15 | This sample is **not** referentially transparent: 16 | 17 | ```js 18 | var counter = 0; 19 | var incrBy = function(n) { 20 | counter = counter + n; 21 | return counter; 22 | } 23 | ``` 24 | 25 | This function will return different values when called again with the 26 | same parameters. It will also updates a global variable that might 27 | be used by other parts of the program. Both of these facts make it 28 | non-referentially transparent. 29 | 30 | There are two basic characteristics of referentially transparent 31 | functions: they must be _pure_, where the output is based only on the 32 | parameters supplied, and they must have no side effects. All of Ramda's 33 | functions are designed this way. 34 | 35 | 36 | Purity 37 | ------ 38 | 39 | The function above was not pure because it depended not only upon the 40 | input parameter, `n`, but also upon the global variable, `counter`. That 41 | variable could change because of something else in the program unrelated 42 | to our own code. No Ramda functions do this. 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /0.19.0/manual/01-intro/ReferentialTransparency.md: -------------------------------------------------------------------------------- 1 | Referential Transparency 2 | ======================== 3 | 4 | Referential Transparency is a simple notion: we should be free to 5 | substitute an expresion's vaulue for that expression without changing 6 | the behavior of our program. 7 | 8 | There are several advantages to referetial transparent code. It 9 | simplifies analysis, and lets us -- or perhaps a compiler -- optimize 10 | parts that might otherwise be too difficult to do. But perhaps the 11 | greatest benefit is that it entirely removes the notion of _sequencing_, 12 | of time, from the analysis of our program. It doesn't matter which 13 | expressions are evaluated first; the answer will always be the same. 14 | 15 | This sample is **not** referentially transparent: 16 | 17 | ```js 18 | var counter = 0; 19 | var incrBy = function(n) { 20 | counter = counter + n; 21 | return counter; 22 | } 23 | ``` 24 | 25 | This function will return different values when called again with the 26 | same parameters. It will also updates a global variable that might 27 | be used by other parts of the program. Both of these facts make it 28 | non-referentially transparent. 29 | 30 | There are two basic characteristics of referentially transparent 31 | functions: they must be _pure_, where the output is based only on the 32 | parameters supplied, and they must have no side effects. All of Ramda's 33 | functions are designed this way. 34 | 35 | 36 | Purity 37 | ------ 38 | 39 | The function above was not pure because it depended not only upon the 40 | input parameter, `n`, but also upon the global variable, `counter`. That 41 | variable could change because of something else in the program unrelated 42 | to our own code. No Ramda functions do this. 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /0.19.1/manual/01-intro/ReferentialTransparency.md: -------------------------------------------------------------------------------- 1 | Referential Transparency 2 | ======================== 3 | 4 | Referential Transparency is a simple notion: we should be free to 5 | substitute an expresion's vaulue for that expression without changing 6 | the behavior of our program. 7 | 8 | There are several advantages to referetial transparent code. It 9 | simplifies analysis, and lets us -- or perhaps a compiler -- optimize 10 | parts that might otherwise be too difficult to do. But perhaps the 11 | greatest benefit is that it entirely removes the notion of _sequencing_, 12 | of time, from the analysis of our program. It doesn't matter which 13 | expressions are evaluated first; the answer will always be the same. 14 | 15 | This sample is **not** referentially transparent: 16 | 17 | ```js 18 | var counter = 0; 19 | var incrBy = function(n) { 20 | counter = counter + n; 21 | return counter; 22 | } 23 | ``` 24 | 25 | This function will return different values when called again with the 26 | same parameters. It will also updates a global variable that might 27 | be used by other parts of the program. Both of these facts make it 28 | non-referentially transparent. 29 | 30 | There are two basic characteristics of referentially transparent 31 | functions: they must be _pure_, where the output is based only on the 32 | parameters supplied, and they must have no side effects. All of Ramda's 33 | functions are designed this way. 34 | 35 | 36 | Purity 37 | ------ 38 | 39 | The function above was not pure because it depended not only upon the 40 | input parameter, `n`, but also upon the global variable, `counter`. That 41 | variable could change because of something else in the program unrelated 42 | to our own code. No Ramda functions do this. 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /0.9/docs/main.js: -------------------------------------------------------------------------------- 1 | /* global document */ 2 | 3 | function toArray(xs) { 4 | return Array.prototype.slice.call(xs); 5 | } 6 | 7 | function filterToc() { 8 | var f = filterElement.bind(null, nameFilter.value, ''); 9 | funcs.forEach(f); 10 | } 11 | 12 | function filterElement(nameFilter, categoryFilter, elem) { 13 | var name = elem.getAttribute('data-name'); 14 | var category = elem.getAttribute('data-category'); 15 | var matches = strIn(nameFilter, name) || category === categoryFilter; 16 | elem.style.display = matches ? '' : 'none'; 17 | } 18 | 19 | function strIn(a, b) { 20 | a = a.toLowerCase(); 21 | b = b.toLowerCase(); 22 | return b.indexOf(a) >= 0; 23 | } 24 | 25 | function scrollToTop() { 26 | var main = document.querySelector('main'); 27 | main.scrollTop = 0; 28 | } 29 | 30 | function tryToggleCollapse(elem) { 31 | var sel = elem && elem.getAttribute('data-collapser'); 32 | if (!sel) { return; } 33 | elem 34 | .classList 35 | .toggle('open'); 36 | document 37 | .querySelector(sel) 38 | .classList 39 | .toggle('in'); 40 | } 41 | 42 | function isTopLink(elem) { 43 | return elem.getAttribute('href') === '#'; 44 | } 45 | 46 | function dispatchEvent(event) { 47 | var target = event.target; 48 | var parent = target.parentNode; 49 | if (isTopLink(target)) { 50 | scrollToTop(target); 51 | } else { 52 | tryToggleCollapse(target); 53 | tryToggleCollapse(parent); 54 | } 55 | } 56 | 57 | var nameFilter = document.getElementById('name-filter'); 58 | var funcs = toArray(document.querySelectorAll('.toc .func')); 59 | filterToc(); 60 | 61 | document.body.addEventListener('click', dispatchEvent, false); 62 | nameFilter.addEventListener('input', filterToc, false); 63 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/htmlmixed/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: HTML mixed mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

CodeMirror: HTML mixed mode

16 |
40 | 43 | 44 |

The HTML mixed mode depends on the XML, JavaScript, and CSS modes.

45 | 46 |

MIME types defined: text/html 47 | (redefined, only takes effect if you load this parser after the 48 | XML parser).

49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/xml/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: XML mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: XML mode

13 |
25 | 31 |

The XML mode supports two configuration parameters:

32 |
33 |
htmlMode (boolean)
34 |
This switches the mode to parse HTML instead of XML. This 35 | means attributes do not have to be quoted, and some elements 36 | (such as br) do not require a closing tag.
37 |
alignCDATA (boolean)
38 |
Setting this to true will force the opening tag of CDATA 39 | blocks to not be indented.
40 |
41 | 42 |

MIME types defined: application/xml, text/html.

43 | 44 | 45 | -------------------------------------------------------------------------------- /repl/lib/css/terminal.css: -------------------------------------------------------------------------------- 1 | .CodeMirror { 2 | height: 500px; 3 | } 4 | 5 | .CodeMirror-hscrollbar { 6 | display: none !important; 7 | } 8 | 9 | .right .github-fork-ribbon { 10 | background-color: #29357F; 11 | } 12 | 13 | 14 | .output, .clear-console { 15 | float:left; 16 | } 17 | .clear-console { 18 | margin-left: 12px; 19 | } 20 | .top-nav { 21 | background: #6F377D; 22 | height:15px; 23 | } 24 | 25 | .col-md-6:last-of-type { 26 | border-left: 1px solid #999; 27 | min-height: 42em; 28 | } 29 | 30 | .page-header { 31 | margin-bottom: 0; 32 | padding-bottom: 30px; 33 | } 34 | 35 | .row { 36 | background: #282a36; 37 | } 38 | 39 | .panel-primary { 40 | border-color:#282a36; 41 | box-shadow: none; 42 | } 43 | .panel-primary > .panel-heading, 44 | .panel-default>.panel-heading { 45 | background-color: #282a36; 46 | border-color: #282a36; 47 | background-image: none; 48 | color:#fff; 49 | } 50 | 51 | .panel { 52 | background-color: #282a36; 53 | } 54 | 55 | 56 | 57 | .eval, .source-map, .console-log { 58 | background-color: #282a36; 59 | color: #fff; 60 | border:none; 61 | } 62 | 63 | .console-log { 64 | color:#888; 65 | } 66 | 67 | 68 | .error { 69 | background: #282a36; 70 | } 71 | 72 | button.btn.btn-danger { 73 | background-color: #bf0000; 74 | background-image: none; 75 | } 76 | 77 | .navbar.navbar-inverse.navbar-fixed-top { 78 | background-color: #849; 79 | background-image: none; 80 | box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2); 81 | margin: 0 auto; 82 | padding: 0 15px; 83 | } 84 | 85 | .navbar.navbar-inverse.navbar-fixed-top a { 86 | color:#e1d0e6; 87 | } 88 | 89 | .navbar.navbar-inverse.navbar-fixed-top .active > a { 90 | padding-bottom: 16px; 91 | background-color:#693476; 92 | color:#fff; 93 | } 94 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/lib/util/runmode.js: -------------------------------------------------------------------------------- 1 | CodeMirror.runMode = function(string, modespec, callback, options) { 2 | var mode = CodeMirror.getMode(CodeMirror.defaults, modespec); 3 | var isNode = callback.nodeType == 1; 4 | var tabSize = (options && options.tabSize) || CodeMirror.defaults.tabSize; 5 | if (isNode) { 6 | var node = callback, accum = [], col = 0; 7 | callback = function(text, style) { 8 | if (text == "\n") { 9 | accum.push("
"); 10 | col = 0; 11 | return; 12 | } 13 | var escaped = ""; 14 | // HTML-escape and replace tabs 15 | for (var pos = 0;;) { 16 | var idx = text.indexOf("\t", pos); 17 | if (idx == -1) { 18 | escaped += CodeMirror.htmlEscape(text.slice(pos)); 19 | col += text.length - pos; 20 | break; 21 | } else { 22 | col += idx - pos; 23 | escaped += CodeMirror.htmlEscape(text.slice(pos, idx)); 24 | var size = tabSize - col % tabSize; 25 | col += size; 26 | for (var i = 0; i < size; ++i) escaped += " "; 27 | pos = idx + 1; 28 | } 29 | } 30 | 31 | if (style) 32 | accum.push("" + escaped + ""); 33 | else 34 | accum.push(escaped); 35 | } 36 | } 37 | var lines = CodeMirror.splitLines(string), state = CodeMirror.startState(mode); 38 | for (var i = 0, e = lines.length; i < e; ++i) { 39 | if (i) callback("\n"); 40 | var stream = new CodeMirror.StringStream(lines[i]); 41 | while (!stream.eol()) { 42 | var style = mode.token(stream, state); 43 | callback(stream.current(), style, i, stream.start); 44 | stream.start = stream.pos; 45 | } 46 | } 47 | if (isNode) 48 | node.innerHTML = accum.join(""); 49 | }; 50 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/plsql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Oracle PL/SQL mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: Oracle PL/SQL mode

13 | 14 |
46 | 47 | 55 | 56 |

57 | Simple mode that handles Oracle PL/SQL language (and Oracle SQL, of course). 58 |

59 | 60 |

MIME type defined: text/x-plsql 61 | (PLSQL code) 62 | 63 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/tiki/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Tiki wiki mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: Tiki wiki mode

13 | 14 |
71 | 72 | 80 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/lib/util/match-highlighter.js: -------------------------------------------------------------------------------- 1 | // Define match-highlighter commands. Depends on searchcursor.js 2 | // Use by attaching the following function call to the onCursorActivity event: 3 | //myCodeMirror.matchHighlight(minChars); 4 | // And including a special span.CodeMirror-matchhighlight css class (also optionally a separate one for .CodeMirror-focused -- see demo matchhighlighter.html) 5 | 6 | (function() { 7 | var DEFAULT_MIN_CHARS = 2; 8 | 9 | function MatchHighlightState() { 10 | this.marked = []; 11 | } 12 | function getMatchHighlightState(cm) { 13 | return cm._matchHighlightState || (cm._matchHighlightState = new MatchHighlightState()); 14 | } 15 | 16 | function clearMarks(cm) { 17 | var state = getMatchHighlightState(cm); 18 | for (var i = 0; i < state.marked.length; ++i) 19 | state.marked[i].clear(); 20 | state.marked = []; 21 | } 22 | 23 | function markDocument(cm, className, minChars) { 24 | clearMarks(cm); 25 | minChars = (typeof minChars !== 'undefined' ? minChars : DEFAULT_MIN_CHARS); 26 | if (cm.somethingSelected() && cm.getSelection().replace(/^\s+|\s+$/g, "").length >= minChars) { 27 | var state = getMatchHighlightState(cm); 28 | var query = cm.getSelection(); 29 | cm.operation(function() { 30 | if (cm.lineCount() < 2000) { // This is too expensive on big documents. 31 | for (var cursor = cm.getSearchCursor(query); cursor.findNext();) { 32 | //Only apply matchhighlight to the matches other than the one actually selected 33 | if (!(cursor.from().line === cm.getCursor(true).line && cursor.from().ch === cm.getCursor(true).ch)) 34 | state.marked.push(cm.markText(cursor.from(), cursor.to(), className)); 35 | } 36 | } 37 | }); 38 | } 39 | } 40 | 41 | CodeMirror.defineExtension("matchHighlight", function(className, minChars) { 42 | markDocument(this, className, minChars); 43 | }); 44 | })(); 45 | -------------------------------------------------------------------------------- /less/header.less: -------------------------------------------------------------------------------- 1 | @media screen and (max-width: 767px) { // 768px - 1 2 | 3 | header { 4 | 5 | .open-nav { 6 | float: left; 7 | position: relative; 8 | width: @navbar-height; 9 | height: @navbar-height; 10 | margin: 0 0 0 -15px; 11 | padding: 15px; 12 | font-size: 24px; 13 | line-height: 20px; 14 | cursor: pointer; 15 | color: #e1d0e6; 16 | font-weight: normal; 17 | 18 | background: none left top no-repeat; 19 | background-image: url('data:image/svg+xml;charset=utf8,'); 20 | 21 | &:hover { 22 | color: white; 23 | background-position: left bottom; 24 | } 25 | } 26 | #open-nav:checked ~ & .open-nav { 27 | background-position: left bottom; 28 | } 29 | 30 | .navbar-left { 31 | position: fixed; 32 | top: @navbar-height; 33 | left: 0; 34 | width: @sidebar-width; 35 | 36 | border-width: 0 1px 1px 0; 37 | border-style: solid; 38 | border-color: #693476; 39 | background-color: #849; 40 | box-shadow: 5px 5px 11px -3px rgba(0, 0, 0, 0.2); 41 | 42 | .navbar-nav, 43 | .navbar-nav > li { 44 | float: none; 45 | } 46 | } 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/demo/multiplex.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Multiplexing Parser Demo 5 | 6 | 7 | 8 | 9 | 10 | 11 | 15 | 16 | 17 |

CodeMirror: Multiplexing Parser Demo

18 | 19 |
32 | 33 | 49 | 50 |

Demonstration of a multiplexing mode, which, at certain 51 | boundary strings, switches to one or more inner modes. The out 52 | (HTML) mode does not get fed the content of the << 53 | >> blocks. See 54 | the manual and 55 | the source for more 56 | information.

57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/demo/visibletabs.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Visible tabs demo 5 | 6 | 7 | 8 | 9 | 10 | 24 | 25 | 26 |

CodeMirror: Visible tabs demo

27 | 28 |
43 | 44 |

Tabs inside the editor are spans with the 45 | class cm-tab, and can be styled. This demo uses 46 | an :after pseudo-class CSS hack that will not work on old 47 | browsers. You can use a more conservative technique like a background 48 | image as an alternative.

49 | 50 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/htmlembedded/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Html Embedded Scripts mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |

CodeMirror: Html Embedded Scripts mode

17 | 18 |
30 | 31 | 42 | 43 |

Mode for html embedded scripts like JSP and ASP.NET. Depends on HtmlMixed which in turn depends on 44 | JavaScript, CSS and XML.
Other dependancies include those of the scriping language chosen.

45 | 46 |

MIME types defined: application/x-aspx (ASP.NET), 47 | application/x-ejs (Embedded Javascript), application/x-jsp (JavaServer Pages)

48 | 49 | 50 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/erlang/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Erlang mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |

CodeMirror: Erlang mode

14 | 15 |
50 | 51 | 58 | 59 |

MIME types defined: text/x-erlang.

60 | 61 | 62 | -------------------------------------------------------------------------------- /0.10/docs/main.js: -------------------------------------------------------------------------------- 1 | /* global document */ 2 | 3 | function toArray(xs) { 4 | return Array.prototype.slice.call(xs); 5 | } 6 | 7 | function filterTocType(category) { 8 | nameFilter.value = category; 9 | filterToc(); 10 | } 11 | 12 | function filterToc() { 13 | var f = filterElement.bind(null, nameFilter.value); 14 | funcs.forEach(f); 15 | } 16 | 17 | function filterElement(nameFilter, elem) { 18 | var name = elem.getAttribute('data-name'); 19 | var category = elem.getAttribute('data-category'); 20 | var matches = strIn(nameFilter, name) || strIn(nameFilter, category); 21 | elem.style.display = matches ? '' : 'none'; 22 | } 23 | 24 | function strIn(a, b) { 25 | a = a.toLowerCase(); 26 | b = b.toLowerCase(); 27 | return b.indexOf(a) >= 0; 28 | } 29 | 30 | function scrollToTop() { 31 | var main = document.querySelector('main'); 32 | main.scrollTop = 0; 33 | } 34 | 35 | function tryToggleCollapse(elem) { 36 | var sel = elem && elem.getAttribute('data-collapser'); 37 | if (!sel) { return; } 38 | elem 39 | .classList 40 | .toggle('open'); 41 | document 42 | .querySelector(sel) 43 | .classList 44 | .toggle('in'); 45 | } 46 | 47 | function isTopLink(elem) { 48 | return elem.getAttribute('href') === '#'; 49 | } 50 | 51 | function dispatchEvent(event) { 52 | var target = event.target; 53 | var parent = target.parentNode; 54 | var category = target.getAttribute('data-category'); 55 | if (category) { 56 | filterTocType(category); 57 | } 58 | if (isTopLink(target)) { 59 | scrollToTop(target); 60 | } else { 61 | tryToggleCollapse(target); 62 | tryToggleCollapse(parent); 63 | } 64 | } 65 | 66 | var nameFilter = document.getElementById('name-filter'); 67 | var funcs = toArray(document.querySelectorAll('.toc .func')); 68 | filterToc(); 69 | 70 | document.body.addEventListener('click', dispatchEvent, false); 71 | nameFilter.addEventListener('input', filterToc, false); 72 | -------------------------------------------------------------------------------- /0.11/docs/main.js: -------------------------------------------------------------------------------- 1 | /* global document */ 2 | 3 | function toArray(xs) { 4 | return Array.prototype.slice.call(xs); 5 | } 6 | 7 | function filterTocType(category) { 8 | nameFilter.value = category; 9 | filterToc(); 10 | } 11 | 12 | function filterToc() { 13 | var f = filterElement.bind(null, nameFilter.value); 14 | funcs.forEach(f); 15 | } 16 | 17 | function filterElement(nameFilter, elem) { 18 | var name = elem.getAttribute('data-name'); 19 | var category = elem.getAttribute('data-category'); 20 | var matches = strIn(nameFilter, name) || strIn(nameFilter, category); 21 | elem.style.display = matches ? '' : 'none'; 22 | } 23 | 24 | function strIn(a, b) { 25 | a = a.toLowerCase(); 26 | b = b.toLowerCase(); 27 | return b.indexOf(a) >= 0; 28 | } 29 | 30 | function scrollToTop() { 31 | var main = document.querySelector('main'); 32 | main.scrollTop = 0; 33 | } 34 | 35 | function tryToggleCollapse(elem) { 36 | var sel = elem && elem.getAttribute('data-collapser'); 37 | if (!sel) { return; } 38 | elem 39 | .classList 40 | .toggle('open'); 41 | document 42 | .querySelector(sel) 43 | .classList 44 | .toggle('in'); 45 | } 46 | 47 | function isTopLink(elem) { 48 | return elem.getAttribute('href') === '#'; 49 | } 50 | 51 | function dispatchEvent(event) { 52 | var target = event.target; 53 | var parent = target.parentNode; 54 | var category = target.getAttribute('data-category'); 55 | if (category) { 56 | filterTocType(category); 57 | } 58 | if (isTopLink(target)) { 59 | scrollToTop(target); 60 | } else { 61 | tryToggleCollapse(target); 62 | tryToggleCollapse(parent); 63 | } 64 | } 65 | 66 | var nameFilter = document.getElementById('name-filter'); 67 | var funcs = toArray(document.querySelectorAll('.toc .func')); 68 | filterToc(); 69 | 70 | document.body.addEventListener('click', dispatchEvent, false); 71 | nameFilter.addEventListener('input', filterToc, false); 72 | -------------------------------------------------------------------------------- /0.11/lib/doc/main.js: -------------------------------------------------------------------------------- 1 | /* global document */ 2 | 3 | function toArray(xs) { 4 | return Array.prototype.slice.call(xs); 5 | } 6 | 7 | function filterTocType(category) { 8 | nameFilter.value = category; 9 | filterToc(); 10 | } 11 | 12 | function filterToc() { 13 | var f = filterElement.bind(null, nameFilter.value); 14 | funcs.forEach(f); 15 | } 16 | 17 | function filterElement(nameFilter, elem) { 18 | var name = elem.getAttribute('data-name'); 19 | var category = elem.getAttribute('data-category'); 20 | var matches = strIn(nameFilter, name) || strIn(nameFilter, category); 21 | elem.style.display = matches ? '' : 'none'; 22 | } 23 | 24 | function strIn(a, b) { 25 | a = a.toLowerCase(); 26 | b = b.toLowerCase(); 27 | return b.indexOf(a) >= 0; 28 | } 29 | 30 | function scrollToTop() { 31 | var main = document.querySelector('main'); 32 | main.scrollTop = 0; 33 | } 34 | 35 | function tryToggleCollapse(elem) { 36 | var sel = elem && elem.getAttribute('data-collapser'); 37 | if (!sel) { return; } 38 | elem 39 | .classList 40 | .toggle('open'); 41 | document 42 | .querySelector(sel) 43 | .classList 44 | .toggle('in'); 45 | } 46 | 47 | function isTopLink(elem) { 48 | return elem.getAttribute('href') === '#'; 49 | } 50 | 51 | function dispatchEvent(event) { 52 | var target = event.target; 53 | var parent = target.parentNode; 54 | var category = target.getAttribute('data-category'); 55 | if (category) { 56 | filterTocType(category); 57 | } 58 | if (isTopLink(target)) { 59 | scrollToTop(target); 60 | } else { 61 | tryToggleCollapse(target); 62 | tryToggleCollapse(parent); 63 | } 64 | } 65 | 66 | var nameFilter = document.getElementById('name-filter'); 67 | var funcs = toArray(document.querySelectorAll('.toc .func')); 68 | filterToc(); 69 | 70 | document.body.addEventListener('click', dispatchEvent, false); 71 | nameFilter.addEventListener('input', filterToc, false); 72 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/demo/mustache.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Overlay Parser Demo 5 | 6 | 7 | 8 | 9 | 10 | 11 | 15 | 16 | 17 |

CodeMirror: Overlay Parser Demo

18 | 19 |
30 | 31 | 49 | 50 |

Demonstration of a mode that parses HTML, highlighting 51 | the Mustache templating 52 | directives inside of it by using the code 53 | in overlay.js. View 54 | source to see the 15 lines of code needed to accomplish this.

55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/lib/util/loadmode.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | if (!CodeMirror.modeURL) CodeMirror.modeURL = "../mode/%N/%N.js"; 3 | 4 | var loading = {}; 5 | function splitCallback(cont, n) { 6 | var countDown = n; 7 | return function() { if (--countDown == 0) cont(); } 8 | } 9 | function ensureDeps(mode, cont) { 10 | var deps = CodeMirror.modes[mode].dependencies; 11 | if (!deps) return cont(); 12 | var missing = []; 13 | for (var i = 0; i < deps.length; ++i) { 14 | if (!CodeMirror.modes.hasOwnProperty(deps[i])) 15 | missing.push(deps[i]); 16 | } 17 | if (!missing.length) return cont(); 18 | var split = splitCallback(cont, missing.length); 19 | for (var i = 0; i < missing.length; ++i) 20 | CodeMirror.requireMode(missing[i], split); 21 | } 22 | 23 | CodeMirror.requireMode = function(mode, cont) { 24 | if (typeof mode != "string") mode = mode.name; 25 | if (CodeMirror.modes.hasOwnProperty(mode)) return ensureDeps(mode, cont); 26 | if (loading.hasOwnProperty(mode)) return loading[mode].push(cont); 27 | 28 | var script = document.createElement("script"); 29 | script.src = CodeMirror.modeURL.replace(/%N/g, mode); 30 | var others = document.getElementsByTagName("script")[0]; 31 | others.parentNode.insertBefore(script, others); 32 | var list = loading[mode] = [cont]; 33 | var count = 0, poll = setInterval(function() { 34 | if (++count > 100) return clearInterval(poll); 35 | if (CodeMirror.modes.hasOwnProperty(mode)) { 36 | clearInterval(poll); 37 | loading[mode] = null; 38 | ensureDeps(mode, function() { 39 | for (var i = 0; i < list.length; ++i) list[i](); 40 | }); 41 | } 42 | }, 200); 43 | }; 44 | 45 | CodeMirror.autoLoadMode = function(instance, mode) { 46 | if (!CodeMirror.modes.hasOwnProperty(mode)) 47 | CodeMirror.requireMode(mode, function() { 48 | instance.setOption("mode", instance.getOption("mode")); 49 | }); 50 | }; 51 | }()); 52 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/lua/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Lua mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |

CodeMirror: Lua mode

14 |
55 | 62 | 63 |

Loosely based on Franciszek 64 | Wawrzak's CodeMirror 65 | 1 mode. One configuration parameter is 66 | supported, specials, to which you can provide an 67 | array of strings to have those identifiers highlighted with 68 | the lua-special style.

69 |

MIME types defined: text/x-lua.

70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/properties/properties.js: -------------------------------------------------------------------------------- 1 | CodeMirror.defineMode("properties", function() { 2 | return { 3 | token: function(stream, state) { 4 | var sol = stream.sol() || state.afterSection; 5 | var eol = stream.eol(); 6 | 7 | state.afterSection = false; 8 | 9 | if (sol) { 10 | if (state.nextMultiline) { 11 | state.inMultiline = true; 12 | state.nextMultiline = false; 13 | } else { 14 | state.position = "def"; 15 | } 16 | } 17 | 18 | if (eol && ! state.nextMultiline) { 19 | state.inMultiline = false; 20 | state.position = "def"; 21 | } 22 | 23 | if (sol) { 24 | while(stream.eatSpace()); 25 | } 26 | 27 | var ch = stream.next(); 28 | 29 | if (sol && (ch === "#" || ch === "!" || ch === ";")) { 30 | state.position = "comment"; 31 | stream.skipToEnd(); 32 | return "comment"; 33 | } else if (sol && ch === "[") { 34 | state.afterSection = true; 35 | stream.skipTo("]"); stream.eat("]"); 36 | return "header"; 37 | } else if (ch === "=" || ch === ":") { 38 | state.position = "quote"; 39 | return null; 40 | } else if (ch === "\\" && state.position === "quote") { 41 | if (stream.next() !== "u") { // u = Unicode sequence \u1234 42 | // Multiline value 43 | state.nextMultiline = true; 44 | } 45 | } 46 | 47 | return state.position; 48 | }, 49 | 50 | startState: function() { 51 | return { 52 | position : "def", // Current position, "def", "quote" or "comment" 53 | nextMultiline : false, // Is the next line multiline value 54 | inMultiline : false, // Is the current line a multiline value 55 | afterSection : false // Did we just open a section 56 | }; 57 | } 58 | 59 | }; 60 | }); 61 | 62 | CodeMirror.defineMIME("text/x-properties", "properties"); 63 | CodeMirror.defineMIME("text/x-ini", "properties"); 64 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/rpm/changes/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: RPM changes mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: RPM changes mode

13 | 14 |
41 | 50 | 51 |

MIME types defined: text/x-rpm-changes.

52 | 53 | 54 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/yaml/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: YAML mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: YAML mode

13 |
60 | 63 | 64 |

MIME types defined: text/x-yaml.

65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/haskell/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Haskell mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |

CodeMirror: Haskell mode

14 | 15 |
49 | 50 | 57 | 58 |

MIME types defined: text/x-haskell.

59 | 60 | 61 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/groovy/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Groovy mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: Groovy mode

13 | 14 |
60 | 61 | 68 | 69 |

MIME types defined: text/x-groovy

70 | 71 | 72 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/mode/go/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Go mode 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |

CodeMirror: Go mode

14 | 15 |
58 | 59 | 69 | 70 |

MIME type: text/x-go

71 | 72 | 73 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/demo/emacs.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Emacs bindings demo 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 15 | 16 |

CodeMirror: Emacs bindings demo

17 | 18 |
33 | 34 |

The emacs keybindings are enabled by 35 | including keymap/emacs.js and setting 36 | the keyMap option to "emacs". Because 37 | CodeMirror's internal API is quite different from Emacs, they are only 38 | a loose approximation of actual emacs bindings, though.

39 | 40 |

Also note that a lot of browsers disallow certain keys from being 41 | captured. For example, Chrome blocks both Ctrl-W and Ctrl-N, with the 42 | result that idiomatic use of Emacs keys will constantly close your tab 43 | or open a new window.

44 | 45 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/demo/runmode.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeMirror: Mode Runner Demo 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |

CodeMirror: Mode Runner Demo

13 | 14 |
20 | 21 |

22 | 
23 |     
29 | 
30 |     

Running a CodeMirror mode outside of the editor. 31 | The CodeMirror.runMode function, defined 32 | in lib/runmode.js takes the following arguments:

33 | 34 |
35 |
text (string)
36 |
The document to run through the highlighter.
37 |
mode (mode spec)
38 |
The mode to use (must be loaded as normal).
39 |
output (function or DOM node)
40 |
If this is a function, it will be called for each token with 41 | two arguments, the token's text and the token's style class (may 42 | be null for unstyled tokens). If it is a DOM node, 43 | the tokens will be converted to span elements as in 44 | an editor, and inserted into the node 45 | (through innerHTML).
46 |
47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /repl/examples/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "fantasy": [ 3 | { 4 | "category": [ 5 | "fantasy" 6 | ], 7 | "title": "futures", 8 | "code": "const log = console::console.log;\nconst error = console::console.error;\n\nconst url = 'http://reqr.es/api/users?page=3';\n\nconst xhr = function(url) {\n return new Future(function(rej, res) {\n const oReq = new XMLHttpRequest();\n oReq.addEventListener(\"load\", res, false);\n oReq.addEventListener(\"error\", rej, false);\n oReq.addEventListener(\"abort\", rej, false);\n oReq.open(\"get\", url, true);\n oReq.send();\n });\n};\n\nconst f = R.compose(R.map(S.parseJson), R.map(R.path(['target', 'response'])), xhr)(url);\n\nf.fork(error, R.map(log)); //=> Object {page: \"3\", per_page: 3, total: 12, total_pages: 4, data: Array[3]}" 9 | } 10 | ], 11 | "list": [ 12 | { 13 | "category": [ 14 | "list" 15 | ], 16 | "title": "filter", 17 | "code": "const isEven = n => n % 2 === 0;\nR.filter(isEven, [1, 2, 3, 4]);" 18 | }, 19 | { 20 | "category": [ 21 | "list" 22 | ], 23 | "title": "map", 24 | "code": "const double = x => x * 2;\n\nR.map(double, [1, 2, 3]);" 25 | } 26 | ], 27 | "function": [ 28 | { 29 | "category": [ 30 | "function" 31 | ], 32 | "title": "compose", 33 | "code": "const f = R.compose(R.inc, R.negate, Math.pow);\n\nf(3, 4);" 34 | }, 35 | { 36 | "category": [ 37 | "function" 38 | ], 39 | "title": "useWith", 40 | "code": "const double = y => y * 2;\nconst square = x => x * x;\nconst add = (a, b) => a + b;\n// Adds any number of arguments together\nconst addAll = (...args) => R.reduce(add, 0, args);\n\n// Basic example\nconst addDoubleAndSquare = R.useWith(addAll, [double, square]);\n\n//≅ addAll(double(10), square(5));\naddDoubleAndSquare(10, 5); //=> 45\n" 41 | } 42 | ], 43 | "object": [ 44 | { 45 | "category": [ 46 | "object" 47 | ], 48 | "title": "prop", 49 | "code": "R.prop('x', {x: 100}); //=> 100\nR.prop('x', {}); //=> undefined" 50 | } 51 | ] 52 | } -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/lib/util/overlay.js: -------------------------------------------------------------------------------- 1 | // Utility function that allows modes to be combined. The mode given 2 | // as the base argument takes care of most of the normal mode 3 | // functionality, but a second (typically simple) mode is used, which 4 | // can override the style of text. Both modes get to parse all of the 5 | // text, but when both assign a non-null style to a piece of code, the 6 | // overlay wins, unless the combine argument was true, in which case 7 | // the styles are combined. 8 | 9 | // overlayParser is the old, deprecated name 10 | CodeMirror.overlayMode = CodeMirror.overlayParser = function(base, overlay, combine) { 11 | return { 12 | startState: function() { 13 | return { 14 | base: CodeMirror.startState(base), 15 | overlay: CodeMirror.startState(overlay), 16 | basePos: 0, baseCur: null, 17 | overlayPos: 0, overlayCur: null 18 | }; 19 | }, 20 | copyState: function(state) { 21 | return { 22 | base: CodeMirror.copyState(base, state.base), 23 | overlay: CodeMirror.copyState(overlay, state.overlay), 24 | basePos: state.basePos, baseCur: null, 25 | overlayPos: state.overlayPos, overlayCur: null 26 | }; 27 | }, 28 | 29 | token: function(stream, state) { 30 | if (stream.start == state.basePos) { 31 | state.baseCur = base.token(stream, state.base); 32 | state.basePos = stream.pos; 33 | } 34 | if (stream.start == state.overlayPos) { 35 | stream.pos = stream.start; 36 | state.overlayCur = overlay.token(stream, state.overlay); 37 | state.overlayPos = stream.pos; 38 | } 39 | stream.pos = Math.min(state.basePos, state.overlayPos); 40 | if (stream.eol()) state.basePos = state.overlayPos = 0; 41 | 42 | if (state.overlayCur == null) return state.baseCur; 43 | if (state.baseCur != null && combine) return state.baseCur + " " + state.overlayCur; 44 | else return state.overlayCur; 45 | }, 46 | 47 | indent: base.indent && function(state, textAfter) { 48 | return base.indent(state.base, textAfter); 49 | }, 50 | electricChars: base.electricChars 51 | }; 52 | }; 53 | -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/lib/util/dialog.js: -------------------------------------------------------------------------------- 1 | // Open simple dialogs on top of an editor. Relies on dialog.css. 2 | 3 | (function() { 4 | function dialogDiv(cm, template) { 5 | var wrap = cm.getWrapperElement(); 6 | var dialog = wrap.insertBefore(document.createElement("div"), wrap.firstChild); 7 | dialog.className = "CodeMirror-dialog"; 8 | dialog.innerHTML = '
' + template + '
'; 9 | return dialog; 10 | } 11 | 12 | CodeMirror.defineExtension("openDialog", function(template, callback) { 13 | var dialog = dialogDiv(this, template); 14 | var closed = false, me = this; 15 | function close() { 16 | if (closed) return; 17 | closed = true; 18 | dialog.parentNode.removeChild(dialog); 19 | } 20 | var inp = dialog.getElementsByTagName("input")[0]; 21 | if (inp) { 22 | CodeMirror.connect(inp, "keydown", function(e) { 23 | if (e.keyCode == 13 || e.keyCode == 27) { 24 | CodeMirror.e_stop(e); 25 | close(); 26 | me.focus(); 27 | if (e.keyCode == 13) callback(inp.value); 28 | } 29 | }); 30 | inp.focus(); 31 | CodeMirror.connect(inp, "blur", close); 32 | } 33 | return close; 34 | }); 35 | 36 | CodeMirror.defineExtension("openConfirm", function(template, callbacks) { 37 | var dialog = dialogDiv(this, template); 38 | var buttons = dialog.getElementsByTagName("button"); 39 | var closed = false, me = this, blurring = 1; 40 | function close() { 41 | if (closed) return; 42 | closed = true; 43 | dialog.parentNode.removeChild(dialog); 44 | me.focus(); 45 | } 46 | buttons[0].focus(); 47 | for (var i = 0; i < buttons.length; ++i) { 48 | var b = buttons[i]; 49 | (function(callback) { 50 | CodeMirror.connect(b, "click", function(e) { 51 | CodeMirror.e_preventDefault(e); 52 | close(); 53 | if (callback) callback(me); 54 | }); 55 | })(callbacks[i]); 56 | CodeMirror.connect(b, "blur", function() { 57 | --blurring; 58 | setTimeout(function() { if (blurring <= 0) close(); }, 200); 59 | }); 60 | CodeMirror.connect(b, "focus", function() { ++blurring; }); 61 | } 62 | }); 63 | })(); -------------------------------------------------------------------------------- /0.9/repl/vendor/codemirror2/theme/lesser-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | http://lesscss.org/ dark theme 3 | Ported to CodeMirror by Peter Kroon 4 | */ 5 | .cm-s-lesser-dark { 6 | line-height: 1.3em; 7 | } 8 | .cm-s-lesser-dark { 9 | font-family: 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', 'Monaco', Courier, monospace !important; 10 | } 11 | 12 | .cm-s-lesser-dark { background: #262626; color: #EBEFE7; text-shadow: 0 -1px 1px #262626; } 13 | .cm-s-lesser-dark div.CodeMirror-selected {background: #45443B !important;} /* 33322B*/ 14 | .cm-s-lesser-dark .CodeMirror-cursor { border-left: 1px solid white !important; } 15 | .cm-s-lesser-dark .CodeMirror-lines { margin-left:3px; margin-right:3px; }/*editable code holder*/ 16 | 17 | div.CodeMirror span.CodeMirror-matchingbracket { color: #7EFC7E; }/*65FC65*/ 18 | 19 | .cm-s-lesser-dark .CodeMirror-gutter { background: #262626; border-right:1px solid #aaa; padding-right:3px; min-width:2.5em; } 20 | .cm-s-lesser-dark .CodeMirror-gutter-text { color: #777; } 21 | 22 | .cm-s-lesser-dark span.cm-keyword { color: #599eff; } 23 | .cm-s-lesser-dark span.cm-atom { color: #C2B470; } 24 | .cm-s-lesser-dark span.cm-number { color: #B35E4D; } 25 | .cm-s-lesser-dark span.cm-def {color: white;} 26 | .cm-s-lesser-dark span.cm-variable { color:#D9BF8C; } 27 | .cm-s-lesser-dark span.cm-variable-2 { color: #669199; } 28 | .cm-s-lesser-dark span.cm-variable-3 { color: white; } 29 | .cm-s-lesser-dark span.cm-property {color: #92A75C;} 30 | .cm-s-lesser-dark span.cm-operator {color: #92A75C;} 31 | .cm-s-lesser-dark span.cm-comment { color: #666; } 32 | .cm-s-lesser-dark span.cm-string { color: #BCD279; } 33 | .cm-s-lesser-dark span.cm-string-2 {color: #f50;} 34 | .cm-s-lesser-dark span.cm-meta { color: #738C73; } 35 | .cm-s-lesser-dark span.cm-error { color: #9d1e15; } 36 | .cm-s-lesser-dark span.cm-qualifier {color: #555;} 37 | .cm-s-lesser-dark span.cm-builtin { color: #ff9e59; } 38 | .cm-s-lesser-dark span.cm-bracket { color: #EBEFE7; } 39 | .cm-s-lesser-dark span.cm-tag { color: #669199; } 40 | .cm-s-lesser-dark span.cm-attribute {color: #00c;} 41 | .cm-s-lesser-dark span.cm-header {color: #a0a;} 42 | .cm-s-lesser-dark span.cm-quote {color: #090;} 43 | .cm-s-lesser-dark span.cm-hr {color: #999;} 44 | .cm-s-lesser-dark span.cm-link {color: #00c;} 45 | --------------------------------------------------------------------------------