see Wikipedia
Markdown is a lightweight markup language, originally created by John Gruber and Aaron Swartz allowing people "to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML)".
;; SICP 1.1.7 "Squre Roots by Newton's Method" | |
;; | |
;; user=> (load-file "sicp/square-roots-by-newtons-method.clj") | |
;; #'user/sqrt | |
;; user=> sqrt | |
;; #<user$sqrt user$sqrt@1b0c6cfc> | |
;; user=> (sqrt 9) | |
;; 3.00009155413138 | |
;; user=> (sqrt (+ 100 37)) | |
;; 11.704699917758145 |
;; Programming Clojure "2. Exploring Clojure" p71 | |
;; | |
; NOTE: The ``indexed`` function already exists as part of | |
; clojure-contrib (coljure.contrib.seq/indexed). | |
(defn indexed | |
"Returns a lazy sequence of [index, item] pairs, where items | |
come from 'coll' and indexes count up from zero." | |
[coll] | |
(map vector (iterate inc 0) coll)) |
see Wikipedia
Markdown is a lightweight markup language, originally created by John Gruber and Aaron Swartz allowing people "to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML)".
libgmp-dev libgmp3c2
or equivalent using the system package manager.export PATH="$HOME/.ghc/bin:$HOME/.cabal/bin:$PATH"
to your .<shell>rc
../configure --prefix="$HOME/.ghc" && make install
EXTRA_CONFIGURE_OPTS=-p sh bootstrap.sh
cabal update
brew install snappy | |
CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ant compile-native | |
chmod 644 build/native/Mac_OS_X-x86_64-64/lib/* | |
ls -l /usr/local/lib/libsnappy.dylib | |
ls -l build/native/Mac_OS_X-x86_64-64/lib/libhadoop.dylib |