start new:
tmux
start new with session name:
tmux new -s myname
WARNING This list outdated, for the up to date version visit https://haskellcosm.com
Types of work:
-- Do Tree Traversals and Built a Visitation List for each | |
preorder :: BinaryTree a -> [a] | |
preorder Leaf = [] | |
preorder (Node left root right) = root : preorder left ++ preorder right | |
-- NOTE: Need to use the ++ so each list gets built separately and then concatenated | |
-- after it hits bottom | |
inorder :: BinaryTree a -> [a] | |
inorder Leaf = [] |
mhwd-chroot
yaourt -S mhwd-chroot
sudo mhwd-chroot
grub-install /dev/sda
grub-install --recheck /dev/sda
(* See https://groups.google.com/forum/#!msg/fa.caml/i6IgSFX8XkY/4khF8z1V7loJ *) | |
type expr = | |
| Int of int | |
| Var of string | |
| BinOp of [ `Add | `Sub | `Leq ] * expr * expr | |
| If of expr * expr * expr | |
| Apply of expr * expr | |
type defn = LetRec of string * string * expr |
I think I’ve figured out most parts of the cubical type theory papers; I’m going to take a shot to explain it informally in the format of Q&As. I prefer using syntax or terminologies that fit better rather than the more standard ones.
Q: What is cubical type theory?
A: It’s a type theory giving homotopy type theory its computational meaning.
Q: What is homotopy type theory then?
A: It’s traditional type theory (which refers to Martin-Löf type theory in this Q&A) augmented with higher inductive types and the univalence axiom.