This file contains 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
// http://swizard.livejournal.com/200401.html | |
let sample_1 = "(+ (* 4 4) (* 2 (- 7 5)) 1)" | |
let sample_2 = "10" | |
let sample_3 = "(* 10 (- 0 1))" | |
let sample_4 = "(- (+ 10 10) -5 0)" | |
let sample_5 = "(+ (- (* (+ (- (* 1))))))" | |
let sample_6 = "(* 2 (+ (- 10 9) (- 3 (* 2 1))) (+ (- 10 9) (- 3 (* 2 1))))" | |
let sample_7 = "(+ (* 2 1) (+ 8 8) (- (+ 4 3 2 1) (* 3 3) (* 2 2)) (* 5 7))" | |
let sample_8 = "(- (+ (+ 3 3) (- 3 3) (+ 3 3) (- 3 3)) (* 2 2))" |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Title</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
<style type="text/css"> | |
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz); | |
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic); | |
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono|Cousine|Inconsolata:400,700,400italic); |
This file contains 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 blank? [s] | |
(every? #(Character/isWhitespace %) s)) |