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
package main | |
import ( | |
"bufio" | |
"compress/gzip" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"log" | |
"net/http" |
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
{-# LANGUAGE TupleSections #-} | |
module Main where | |
-- see https://plus.google.com/u/0/105746006385940131491/posts/9Uev6KVRUgK for | |
-- context | |
-- what we essentially have is a non-associative operation (represented by | |
-- concatenation): | |
-- | |
-- ab = ba = c | |
-- bc = cb = a |