Skip to content

Instantly share code, notes, and snippets.

@martinsson
Last active July 3, 2018 12:50
Show Gist options
  • Save martinsson/2ad793d63dbc825e87b0423d6876bfc2 to your computer and use it in GitHub Desktop.
Save martinsson/2ad793d63dbc825e87b0423d6876bfc2 to your computer and use it in GitHub Desktop.
One single constructor of initial solution
data Fizzbuzz : (k: Nat) -> Type where
Fizz : (k: Nat) -> IsFizz k -> Not (IsBuzz k) -> Fizzbuzz k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment