This is a markdown-formatted mirror of the plaintext style guide here: http://mumble.net/~campbell/scheme/style.txt
Copyright (C) 2007--2011 Taylor R. Campbell
CC BY-NC-SA 3.0
This is a markdown-formatted mirror of the plaintext style guide here: http://mumble.net/~campbell/scheme/style.txt
Copyright (C) 2007--2011 Taylor R. Campbell
CC BY-NC-SA 3.0
flex-flow: row wrap
shows how inline text alignment is a special case of flexbox:
TEXT-ALIGN: left | center | right | justify | __ | __
→ JUSTIFY-CONTENT: start | middle | end | space-between | space-around | space-evenly
VERTICAL-ALIGN: top | middle | bottom | __
→ ALIGN-SELF: start | center | end | stretch
(defmacro =>> | |
"Makes ->> faster if the first form is a collection, and the last form is `sequence`, `into`, or `reduce`" | |
;; adapted from: https://github.com/divs1210/streamer/blob/master/src/streamer/core.clj | |
[coll & xforms-and-term] | |
(let [[xforms term] ((juxt butlast last) xforms-and-term)] | |
(cond | |
;; sequence | |
(or (= term 'sequence) | |
(and (list? term) | |
(= (first term) 'sequence))) |
Extra core-like functions for Clojure:
namespace | popularity | additions |
---|---|---|
medley.core | ★ 740 | 44 |
tupelo.core | ★ 474 | 272 |
taoensso.encore | ★ 240 | 512 |
potpuri.core | ★ 63 | 512 |
/* invert the table, formula bar, cell editor, and navbar | |
and dim transparency to soften */ | |
#waffle-grid-container, | |
#formula-bar-name-box-wrapper, | |
div[role="navigation"], | |
.cell-input.editable { | |
filter: invert(); | |
opacity: 0.9; | |
} |
Super Mario 64 controls | |
Stationary | |
Standing | |
move -> Walking | |
z -> Crouching | |
a -> Jumping | |
b -> Punching | |
Crouching | |
z up -> Standing |
Context on naming:
JsonML libraries are ~20 lines of code:
Use both scalar and vector nodes to simplify presentation and clarify computation (by linear algebra).
The weighted edges are replaced by two layers of vector nodes:
Showing a single path to illustrate computation along its edges: