made with esnextbin
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | "use strict" | |
| /* | |
| * Webpack 2 loader that can take CommonJS output by psc 0.9.1 and convert | |
| * it into tree shakable ES6 modules. No transpiling required. | |
| */ | |
| const fs = require('fs') | |
| const commonJsRequire = /var ([$\w]+) = require\("(.*)"\)/g | |
| const moduleExports = /module\.exports = \{(\n( ([$\w]+): ([$\w]+)(, )?\n)*)?\};/m | 
made with esnextbin
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // ui-worker.js | |
| // | |
| // == OpenJSCAD.org, Copyright (c) 2013-2016, Licensed under MIT License | |
| // | |
| // History: | |
| // 2016/02/02: 0.4.0: GUI refactored, functionality split up into more files, mostly done by Z3 Dev | |
| // Create an worker (thread) for converting various formats to JSCAD | |
| // | |
| // See conversion-worker.js for the conversion process | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import * as L from "partial.lenses" | |
| import * as R from "ramda" | |
| /* | |
| - uu85 | |
| - uu00 | |
| - uu10 | |
| - uu530 | |
| - uu6320 | |
| */ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}' | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| tags: basic, lighting | |
| <p>This example shows how you can apply multiple light sources to a model</p> | |
| */ | |
| const regl = require('regl')() | |
| const normals = require('angle-normals') | |
| const mat4 = require('gl-mat4') | |
| const bunny = require('bunny') | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import { of } from 'most' | |
| import { div } from 'foo' | |
| import { makeSubject } from 'bar' | |
| function main (sources) { | |
| const request$ = makeSubject() // subject of requests, for all requests | |
| // const {request$, response$} = makeRequest1(sources, 'http://localhost:8080/hello') | |
| // const response$ = makeRequest2(sources, requests$, 'http://localhost:8080/hello') | |
| const req = (url, opts) => makeRequest2(sources, request$, url, opts) | |
| const response$ = req('http://my-api.com/hello') | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | different implementations of the simple counter app... code verbosity vs expressiveness | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import * as L from "partial.lenses" | |
| import * as R from "ramda" | |
| /*var sampleTitles = { | |
| titles: [{ language: "en", text: "Title" }, | |
| { language: "sv", text: "Rubrik" }] | |
| } | |
| const sampleTest = L.compose( | |
| L.prop("titles"), |