Skip to content

Instantly share code, notes, and snippets.

View jakub-stastny's full-sized avatar
🐈
“It’s just DATA.”

Jakub Šťastný jakub-stastny

🐈
“It’s just DATA.”
View GitHub Profile
(defprotocol Version
"Version numbers of various levels connected by a dot: X.Y.Z"
(stringify [this] "Get string representation"))
(deftype QID
[a b c d] Version
(stringify [this]
(str (.a this) "." (.b this) "." (.c this) "." (.d this))))
(defmethod print-method QID [object out]
.cpcache
@jakub-stastny
jakub-stastny / ob-babashka.el
Last active July 1, 2021 11:24 — forked from adam-james-v/ob-babashka.el
a quick change of ob-clojurescript to try use Babashka.
;;; ob-babashka.el --- org-babel functions for ClojureScript evaluation -*- lexical-binding: t; -*-
;; Author: Adam James Vermeer
;; Maintainer: Adam James Vermeer
;; Created: 25 June 2021
;; Keywords: literate programming, reproducible research, babashka, clojure, scripting
;; Homepage: https://gist.github.com/adam-james-v/f4d2b75a70b095d14a351a1eff96b4b0
;; Package-Requires: ((emacs "24.4") (org "9.0"))
;; This file is modified from [[https://github.com/emacsmirror/ob-clojurescript/blob/master/ob-clojurescript.el][ob-clojurescript]]