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
Host nfsn | |
Hostname ssh.phx.nearlyfreespeech.net | |
Host * | |
IdentityFile ~/.ssh/id_fibonatch_auto | |
IdentityFile ~/.ssh/id_fibonatch_weak |
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
(defn ack [m n] | |
(cond (zero? m) (inc n) | |
(zero? n) (ack (dec m) 1) | |
:else (ack (dec m) (ack m (dec n))))) | |
(defn ack-cps | |
([m n] (ack-cps m n identity)) | |
([m n k] | |
(loop [m m, n n, k k] | |
(cond (zero? m) (k (inc n)) |
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
--- module ScottsSnake where | |
import Keyboard | |
import Random | |
import String | |
import Set | |
type Position = {x: Int, y: Int } | |
type Board = {w: Int, h: Int, wall: [Position]} | |
type Apple = Position |
OlderNewer