Skip to content

Instantly share code, notes, and snippets.

open import Relation.Binary.PropositionalEquality
open import Data.Nat
open import Data.Nat.Properties
open import Data.Maybe
open import Data.Fin
open import Relation.Nullary.Decidable
open import Data.Product
data Con : ℕ → Set
data Tm : ℕ → Set
width = 20
height = 20
score = 0
import os
import sys
import tty
import termios
@jake-87
jake-87 / systemf.md
Last active February 27, 2024 03:09

A somewhat brief overview of typechecking System F

This document comprises an example of typechecking a type system based on System F, in a small ML-like language.

You can skip the below section if you already understand System F itself.

A brief overview of System F

System F is the name given to an extension of the simply typed lambda calclus.

@jake-87
jake-87 / SPL
Last active June 17, 2021 04:18
3 Clause BSD Based Licence
Copyright <YEAR> <COPYRIGHT HOLDER>
Redistribution and use in source and binary forms, with or without modification, are permitted provided that
the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the
following disclaimer.
2. Redistributions in binary form are permitted only under the following conditions:
@jake-87
jake-87 / lfs-mint-prep.sh
Last active June 16, 2021 04:55
LFS mint prep
sudo apt install build-essential texinfo
sudo dpkg-reconfigure dash
sudo mkdir /mnt/lfs
echo "What partition should be mounted for LFS?"
read -p "Path : " mntpath
sudo mount $mntpath /mnt/lfs
export LFS=/mnt/lfs