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 lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>imgur oauth</title> | |
<script src="http://code.jquery.com/jquery.min.js"></script> | |
<script> | |
$(function () { | |
var extractToken = function(hash) { |
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
module MergeSort (mergeSort) where | |
-- | Bottom-up merge sort. | |
mergeSort :: Ord a => [a] -> [a] | |
mergeSort = mergeAll . map (:[]) | |
where | |
mergeAll [] = [] | |
mergeAll [xs] = xs | |
mergeAll xss = mergeAll (mergePairs xss) | |
mergePairs (a:b:xs) = |