Page for experiments with syntax highlighting in Hakyll and Pandoc. There is no useful information here.
Haskell
f :: Int -> Int
= x + 1 f x
Agda
module hello-world-proof where
open import Data.Nat using (ℕ; zero; suc; _+_)
open import Relation.Binary.PropositionalEquality using (_≡_; refl; cong)
: Set
+-assoc = ∀ (x y z : ℕ) → x + (y + z) ≡ (x + y) + z
+-assoc
: ∀ (x y z : ℕ) → x + (y + z) ≡ (x + y) + z
+-assoc-proof = refl
+-assoc-proof zero y z (suc x) y z = cong suc (+-assoc-proof x y z) +-assoc-proof