I hereby claim:
- I am IGJoshua on github.
- I am jsuskalo (https://keybase.io/jsuskalo) on keybase.
- I have a public key whose fingerprint is FF1D 4D9C 713C ED3B 29F9 9ADF 9B6B A586 EFF1 B9F0
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(require '[clojure.spec.alpha :as s]) | |
(s/def ::defreloadable-args | |
(s/cat :name simple-symbol? | |
:doc (s/? string?) | |
:attr-map (s/? map?) | |
:fn-tails (s/+ any?))) | |
(defmacro defreloadable | |
"Defines a new function as [[defn]], but old references will refer to new versions when reloaded. |
(require '[clojure.core.matrix :as mat]) | |
(defprotocol Support | |
:extend-via-metadata true | |
(support [this direction] | |
"Calculates a support point for the object in the given direction.") | |
(dimensions [this] | |
"Returns the number of dimensions this support operates in.")) | |
(defn minkowski-support |
(ns notes | |
(:refer-clojure | |
:exclude [read]) | |
(:require | |
[clojure.spec.alpha :as s] | |
[mfiano.parsley.data-types :refer [read]] | |
[mfiano.parsley.io :refer [open-file]] | |
[net.cgrand.xforms :as xf])) | |
(s/def :entry/endian #{:endian/little :endian/big}) |
(s/def :entry/endian #{:endian/little :endian/big}) | |
(s/def :entry/type keyword?) | |
(s/def :entry/id keyword?) | |
(s/def ::entry (s/keys :req [:entry/id :entry/type] | |
:opt [:entry/endian])) | |
(s/def :entry/size pos-int?) |