git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
cd ~/.emacs.d
bin/doom installOptional
| #!/bin/bash | |
| set -e | |
| resolution="$1" | |
| if [[ -z "$resolution" ]]; then | |
| resolution="1366x768" | |
| echo "[WARN] No resolution passed. Defaulting to $resolution." | |
| fi | |
| outfile="$2" |
| {-# LANGUAGE FlexibleContexts #-} | |
| module Main where | |
| import Control.Applicative (liftA2) | |
| import Control.Monad.Reader (MonadIO, MonadReader, ReaderT, ask, | |
| runReaderT) | |
| {- | Let's say we have a deeply nested call stack. There are many functions | |
| calling other functions. |