Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am badmonkey on github.
  • I am michaelfagan (https://keybase.io/michaelfagan) on keybase.
  • I have a public key whose fingerprint is BB82 1CDB FF18 04CE 06A7 D349 5DDD 2688 86D8 AB88

To claim this, I am signing this object:

sort([]) -> [];
sort([A | X]) ->
sort([B || B <- X, B =< A])
++ [A]
++ sort([B || B <- X, B > A]).