Skip to content

Instantly share code, notes, and snippets.

View AndrewRademacher's full-sized avatar

Andrew Rademacher AndrewRademacher

View GitHub Profile
@AndrewRademacher
AndrewRademacher / WhenToDropIt.hs
Last active August 29, 2015 14:05
A purely functional lookup to help you determine what to do when it's hot, based on your sitch. Based on esteemed work from Coty Beasley and Chad Elliot.
module WhenToDropIt
( Sitch (..)
, whatDoIDo
) where
data Sitch = Pigs | Pimps | NgAttitude
suffix :: String
suffix = " like it's hot." ++
"\nI got the rolly on my arm and I'm puring Chandon."
" vundle
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim/
call vundle#rc()
Plugin 'gmarik/vundle'
{-# LANGUAGE OverloadedStrings #-}
import Control.Monad.Trans.Resource
import Data.Conduit
import Data.Conduit.Binary
import Data.Conduit.Blaze
import Data.Text as T
import Data.XML.Pickle
import Data.XML.Types as X
import Text.XML