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
(from: "The Power of Full Engagement", by Jim Loehr and Tony Schwartz, Part Two, Chapter Eight) | |
DEEPEST VALUES CHECKLIST | |
Authenticity | |
Happiness | |
Balance | |
Harmony | |
Commitment | |
Health |
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
(ns ab) | |
(defn- bump [f m] | |
(into {} (map (juxt (comp f key) val) m))) | |
(defn- turn [[a b]] | |
(mapv #(merge-with + b (bump % a)) [inc dec])) | |
(->> {0 1N} | |
(repeat 2) |
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
use std::borrow::Cow; | |
use std::collections::HashMap; | |
use std::hash::Hash; | |
use std::sync::RwLock; | |
pub trait IndexKey<Item>: Sized { | |
fn keys(i: &Item) -> Vec<Self>; | |
} | |
pub struct Index<Item, K> { |
OlderNewer