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 GADTs #-} | |
{-# LANGUAGE RankNTypes #-} | |
{-# LANGUAGE StandaloneDeriving #-} | |
{-# LANGUAGE DataKinds#-} | |
{-# LANGUAGE KindSignatures#-} | |
module RedBlackTree where | |
data Nat = Zero | Succ Nat deriving (Eq, Ord, Show) | |
type One = Succ Zero |
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
/** | |
* STEP 1: Setup | |
* - Open Chrome Secure Shell settings | |
* - Open JS Console (CTRL+SHIFT+J) | |
* - Copy and paste the following: | |
*/ | |
var s7d_colours = { | |
'base03': '#002b36', | |
'base02': '#073642', | |
'base01': '#586e75', |