Skip to content

Instantly share code, notes, and snippets.

View favonia's full-sized avatar
😵‍💫
low bandwidth

favonia favonia

😵‍💫
low bandwidth
View GitHub Profile
@favonia
favonia / Palindromes.agda
Last active April 11, 2020 21:09
is-palindrome l <-> l = rev l
{-# OPTIONS --safe #-}
open import Agda.Primitive
open import Agda.Builtin.Sigma
open import Agda.Builtin.Equality
variable
ℓ : Level
A : Set ℓ
@favonia
favonia / deep.agda
Created January 18, 2022 16:31
CPP 2022
-- Code supplement for CPP22
-- (C) 2022 Patricia Johann, Enrico Ghiorzi
-- This information is free; you can redistribute and/or modify it under the terms of CC BY-SA 4.0.
-- The code was originally for the paper "(Deep) Induction Rules for GADTs",
-- then modified by Favonia, released also under CC BY-SA 4.0
{-# OPTIONS --injective-type-constructors #-}
module _ where