Type holes in GHC 7.8 make this nicer and remove the need for the ImplicitParams
hack, but before 7.8:
{-# LANGUAGE ImplicitParams #-}
import Control.Applicative
newtype Reader r a = Reader { runReader :: r -> a }
#!/bin/sh | |
set -eu | |
# Configure my Traffic Server instance. | |
export LC_ALL=C | |
cd /etc/trafficserver | |
# Other portability issues would just raise runtime errors; this one would |
{-# LANGUAGE QuasiQuotes #-} | |
-- | Generate the coefficients for | |
-- <http://codegolf.stackexchange.com/a/24289/1621> | |
module Main (main) where | |
import Data.List | |
import Numeric.AD | |
import Text.Printf.TH |
pick acfaf04 Adding CPP and CPP-Flags to configure step, ghc settings file, and associated dyn flags support | |
# moved up | |
fixup c76a2ab Adding CPP and CPP-Flags to configure step, ghc settings file, and associated dyn flags support | |
fixup 6e63d3f Still not quite right, CPP flags work in progress | |
fixup 5ee38e2 fix cpp detection. | |
# moved up | |
fixup 4fedb2e fix cpp detection. |
Package: libcuda* nvidia* | |
Pin: release o=LP-PPA-xorg-edgers | |
Pin-Priority: 500 | |
Package: * | |
Pin: release o=LP-PPA-xorg-edgers | |
Pin-Priority: 50 |
DEPRECATED: git-annex has built-in functionality for this now.
Save git-annex get
into ~/.local/share/nautilus/scripts/
, chmod 755 'git-annex get'
, ln -s 'git-annex get' 'git-annex drop'
.
I hereby claim:
To claim this, I am signing this object:
{-# LANGUAGE TypeFamilies #-} | |
module MyTree where | |
import Control.Applicative | |
import Data.Reify | |
data MyTree a = Leaf a | Node (MyTree a) (MyTree a) | |
deriving (Eq, Ord, Show) |
https://gist.github.com/ion1/4589818#file-rcon |
<!DOCTYPE html><html><head><title>Foo</title><style>body { font-size: 3em; }td { padding: 0.3em; text-align: right; }</style></head><body><table><tr><td><span style="color: red">0</span><span style="color: blue">1</span></td><td><span style="color: red">0</span><span style="color: blue">2</span></td><td><span style="color: red">0</span><span style="color: blue">3</span></td><td><span style="color: red">0</span><span style="color: blue">4</span></td><td><span style="color: red">0</span><span style="color: blue">5</span></td><td><span style="color: red">0</span><span style="color: blue">6</span></td><td><span style="color: red">0</span><span style="color: blue">7</span></td><td><span style="color: red">0</span><span style="color: blue">8</span></td><td><span style="color: red">0</span><span style="color: blue">9</span></td><td><span style="color: red">1</span><span style="color: blue">0</span></td></tr><tr><td><span style="color: red">1</span><span style="color: blue">1</span></td><td><span style="color: red">1 |