I hereby claim:
- I am brosenan on github.
- I am brosenan (https://keybase.io/brosenan) on keybase.
- I have a public key ASDsLHzZo2z937kJK2kzjxZNPW9xy3kERbjREvrHqKXw4wo
To claim this, I am signing this object:
use std::mem; | |
type TreeRef<K, V> = Option<Box<Tree<K, V>>>; | |
struct Tree<K: PartialOrd, V> { | |
key: K, | |
val: V, | |
left: TreeRef<K, V>, | |
right: TreeRef<K, V> | |
} |
I hereby claim:
To claim this, I am signing this object:
(ns foo) | |
(defn m-const [val] | |
(fn [state] | |
[state val])) | |
(defn m-do [& actions] | |
(if (= (count actions) 1) | |
(first actions) | |
; else |
#include <iostream> | |
template <typename T> | |
struct Print { | |
static void print() { | |
std::cout << T::val; | |
} | |
}; | |
template <int N> |