git clone https://github.com/clojure/clojurescript
cd clojurescript
script/bootstrap
script/test
Ctrl-C when it logs
Applying optimizations :advanced to 344 sources
| # Ethereum helper methods | |
| # source this in your .bashrc or .zshrc file with `. ~/.ethrc` | |
| # --- Solidity sandbox --- | |
| # https://github.com/maurelian/solidity-sandbox | |
| scratch() { | |
| dir=$(pwd) | |
| cd ~/Documents/projects/solidity-sandbox || exit | |
| bash newTest.sh $1 | |
| cd "$dir" || exit |
| -- Just a collection of basic beats suggested by Drum Beats Online in this video | |
| -- https://www.youtube.com/watch?v=mwe4HPOiUms | |
| -- n "13" -- Kick | |
| -- n "4" -- Hats | |
| -- n "10" -- Tight Hats | |
| -- n "5" -- Hats alt | |
| -- n "11" -- Open hats | |
| -- n "17" -- Really Open hats | |
| -- n "21" -- Hat pedal |
git clone https://github.com/clojure/clojurescript
cd clojurescript
script/bootstrap
script/test
Ctrl-C when it logs
Applying optimizations :advanced to 344 sources
| (annot:defannotation fntype (args result form) | |
| (:arity 3) | |
| (let* ((last-form (cl-annot.util:progn-form-last form)) | |
| (symbol (cl-annot.util:definition-form-symbol last-form))) | |
| `(progn (declaim (ftype (function ,args ,result) ,symbol)) | |
| ,form))) | |
| ;; Usage: | |
| ;; (ql:quickload :cl-syntax) | |
| ;; (syntax:use-syntax :annot) |
clj -m cljs.main -re nashorn(def thread (.type js/Java "java.lang.Thread"))
(let [global-atom-lock
(let [ctor (.type js/Java "java.util.concurrent.locks.ReentrantLock")]
(new ctor))]| {:paths ["."] | |
| :deps {clansi/clansi {:mvn/version "1.0.0"}}} |
Here are some of the examples of Reactive Programming libraries I've found in Purescript and what I've thought about them so far:
I've never used a library with truly continuous Behaviors, so this was really neat to try out for me. Really nice to use and comes with utilities for working with browser events already, and gives you good Event modules for picking your sampling options as necessary.
I will probably use this library for all of my future uses.
| import React, { Component } from 'react' | |
| import { Block, Flex } from 'jsxstyle' | |
| const Row = Flex | |
| const Col = (props) => <Flex {...props} flexDirection="column"/> | |
| var history = { | |
| redo_list: [], | |
| undo_list: [], |