Skip to content

Instantly share code, notes, and snippets.

View dagit's full-sized avatar
💭
What's this?

Jason Dagit dagit

💭
What's this?
View GitHub Profile
@copumpkin
copumpkin / Collatz.agda
Last active December 23, 2015 14:09
Here's Collatz, as promised. Hole left as exercise for the reader.
module Collatz where
open import Coinduction
open import Data.Nat hiding (_+_; _*_)
open import Data.Fin hiding (_+_; fromℕ; toℕ)
open import Data.Bin hiding (suc)
open import Data.Maybe
open import Data.Product
open import Data.List as List
open import Data.Colist