Skip to content

Instantly share code, notes, and snippets.

@cark
cark / gist:7376645
Last active December 27, 2015 19:19 — forked from anonymous/gist:7376057
;; project.clj
(defproject bleh "0.0.1-SNAPSHOT"
:decription "bleh"
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2024"]
[org.clojure/core.async "0.1.256.0-1bf8cf-alpha"]]
:plugins [[lein-cljsbuild "0.3.3"]]
:cljsbuild {:builds [{:source-paths ["src-cljs"]
:compiler {:output-to "main.js"
:optimizations :whitespace
@cark
cark / gist:249761
Created December 5, 2009 16:59 — forked from offby1/gist:249755
(ns anagrams
(:use [clojure.contrib.str-utils])
(:require [clojure.contrib.str-utils2 :as su])
(:use [clojure.test]))
(set! *warn-on-reflection* true)
(defn contains-vowel? [w]
(some #(su/contains? w %)
(list "a" "e" "i" "o" "u" "y")))