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
| # [PackageDev] target_format: plist, ext: tmLanguage | |
| --- | |
| name: Clojure | |
| scopeName: source.clojure | |
| fileTypes: [xyz, cljs, clj, cljc] | |
| uuid: -5584466320959560-558446636-69771 | |
| patterns: | |
| - include: '#all' |
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
| vec: | |
| name: meta.vec.clojure | |
| begin: (\[)(?!\]) | |
| end: (?<!\])(\]) | |
| beginCaptures: | |
| '0': {name: entity.sequence.start} | |
| endCaptures: | |
| '1': {name: entity.sequence.end} | |
| patterns: | |
| - include: '#all' |
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
| (require 'cljs.analyzer) | |
| nil | |
| cljs.user=> (dir cljs.analyzer) | |
| *allow-redef* | |
| *analyze-deps* | |
| *cljs-dep-set* | |
| *cljs-file* | |
| *cljs-macros-is-classpath* | |
| *cljs-macros-path* | |
| *cljs-ns* |
This file has been truncated, but you can view the full file.
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
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
| (ns dollar.bill | |
| (:refer-clojure :exclude [find])) | |
| (defn- el? [o] (instance? js/Element o)) | |
| (defn- doc? [o] (.-querySelectorAll o)) | |
| (defn- ar? [o] (instance? js/Array o)) | |
| (defn- aseq [b] (if (or (sequential? b) (ar? b)) b (list b))) | |
| (defn as-array [a] (.call (.. js/Array -prototype -slice) a)) | |
| (defn- >dom [s] |
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
| (ns pred.core | |
| (:use pred.dispatch)) | |
| (defprotocol IMatrix | |
| (-display [m]) | |
| (-specialize [m]) | |
| (-score [m]) | |
| (-subcol [m s e])) | |
| (deftype Pred [f quote code _meta] |
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
| (rule interact [a ad b bd] :default-interaction) | |
| (rule interact [a ^:hp ad b ^:hp bd] :attack-interaction) | |
| (rule interact [a ^:player ad b ^:item bd] :player-item-interaction) | |
| (rule bump-enter [c collision _] | |
| (let [a (->go c) | |
| b (.collider collision)] | |
| (when (and (data a) (data b)) |
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
| @sender("arcadia") | |
| def arcadia_sender(repl, text, view): | |
| # call (load-string) instead of just writing the string so | |
| # that syntax errors are caught and thrown back immediately | |
| text = '(load-string "' + text.strip().replace('"', r'\"') + '")' | |
| # find the first non-commented statement from the start of the file | |
| namespacedecl = view.find(r"^[^;]*?\(", 0) | |
| # if it's a namespace declaration, go search for the namespace name |
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
| diff --git a/Compiled.meta b/Compiled.meta | |
| index ccc917b..98aff41 100644 | |
| --- a/Compiled.meta | |
| +++ b/Compiled.meta | |
| @@ -1,7 +1,7 @@ | |
| fileFormatVersion: 2 | |
| -guid: 75d871e7479da41c398891146382ca0a | |
| +guid: 7f7f4d2cda378464989cd93af148f6db | |
| folderAsset: yes | |
| -timeCreated: 1429620904 |
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
Show hidden characters
| [ | |
| {"keys": ["alt+."], "command": "insert_snippet", "args": { "contents": "(->${0:v3} ${TM_SELECTED_TEXT})"}}, | |
| {"keys": ["ctrl+alt+p"], "command": "repl_restart"}, | |
| { "keys": ["ctrl+alt+enter"], "command": "repl_transfer_current", "args": {"scope": "selection"}}, | |
| { "keys": ["ctrl+enter"], "command": "repl_transfer_current", "args": {"scope": "block"}}, | |
| {"keys": ["ctrl+right"], | |
| "command": "paredit_forward_slurp_sexp", | |
| "context": [{"key": "should_paredit"}] }, |