Skip to content

Instantly share code, notes, and snippets.

View Heimdell's full-sized avatar
🔨
Right tool for the right job

Андреев Кирилл Heimdell

🔨
Right tool for the right job
  • Ульяновск
View GitHub Profile
@fetburner
fetburner / Inter.v
Created March 25, 2017 04:09
Strong normalization of STLC with subtyping and intersection type
Require Import Autosubst.Autosubst.
Require Import Arith List Omega Program Relations.
Inductive type :=
| Top
| Arrow (S T : type)
| Inter (S T : type).
Inductive sub : type -> type -> Prop :=
| S_Refl T : sub T T
@ekmett
ekmett / Categories.hs
Created January 29, 2016 21:11
UndecidableSuperClasses test case
{-# language KindSignatures #-}
{-# language PolyKinds #-}
{-# language DataKinds #-}
{-# language TypeFamilies #-}
{-# language RankNTypes #-}
{-# language NoImplicitPrelude #-}
{-# language FlexibleContexts #-}
{-# language MultiParamTypeClasses #-}
{-# language GADTs #-}
{-# language ConstraintKinds #-}