coi ro do mi’e la saski’o tu’a dei cu ve ciksi tu’a lo me mi moi jbobau
This file contains 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
(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?) |
This file contains 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 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}) |
This file contains 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 '[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 |
This file contains 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 '[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. |
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: