Skip to content

Instantly share code, notes, and snippets.

View zsommers's full-sized avatar

Zach Sommers zsommers

  • Salem, Oregon, United States
View GitHub Profile

Keybase proof

I hereby claim:

  • I am zsommers on github.
  • I am zachalam (https://keybase.io/zachalam) on keybase.
  • I have a public key ASCmVQeIBe3SvPC6dTuTk5G1Z190NMKjreUEFkkyy0T56Qo

To claim this, I am signing this object:

type Decision = [(Direction, Char)]
data Direction = L | R
perm :: [Char] -> [Decision]
perm [] = []
perm [x] = [(L, x), (R, x)]
perm x:xs = [(L, x):y | y <- (perm xs)] + [(R, x):y | y <- (perm:xs)]
@zsommers
zsommers / gist:4457096
Created January 4, 2013 21:41
Sublime stuff
{
"font_face": "DejaVu Sans Mono",
"font_size": 11,
"ignored_packages":
[
"Vintage"
],
"theme": "Soda Dark.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_automatic_white_space": true,