レッツ入信!Emacsをはじめよう!
時に、汝ら問いて曰く、「Emacs教会に身を置きながら、viなるテキストエディターを使うことは罪なるか」と。 いかにも、vi vi viは獣の数字なるが、自由な実装のviを使いたるときは、罪ならず。そは贖罪なり。
時に、汝ら問いて曰く、「Emacs教会に身を置きながら、viなるテキストエディターを使うことは罪なるか」と。 いかにも、vi vi viは獣の数字なるが、自由な実装のviを使いたるときは、罪ならず。そは贖罪なり。
... | |
# Fake a fuse install | |
RUN apt-get install libfuse2 | |
RUN cd /tmp ; apt-get download fuse | |
RUN cd /tmp ; dpkg-deb -x fuse_* . | |
RUN cd /tmp ; dpkg-deb -e fuse_* | |
RUN cd /tmp ; rm fuse_*.deb | |
RUN cd /tmp ; echo -en '#!/bin/bash\nexit 0\n' > DEBIAN/postinst | |
RUN cd /tmp ; dpkg-deb -b . /fuse.deb |
タイトル通りです。
最近はClojureを書いていて、モナドがなくてもThreading Macroがあればまあいいかなと思うようになってきたのですが、
Clojureのprotocolで型クラス的な多態な関数を作る
この記事に触発されたので、なにか書いてみます。
こんな感じで。

(use 'datomic.samples.repl) | |
(easy!) | |
(def conn (scratch-conn)) | |
(transact-all conn (io/resource "day-of-datomic/outline.dtm")) | |
(def rules | |
'[[(ancestors ?section ?ancestor) [?section :section/parent ?ancestor]] | |
[(ancestors ?section ?ancestor) [?section :section/parent ?parent] | |
(ancestors ?parent ?ancestor)] |