This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE AllowAmbiguousTypes #-} | |
{-# LANGUAGE UndecidableInstances #-} | |
module FizzBuzz where | |
import Data.Kind (Type) | |
import GHC.TypeLits (Symbol, AppendSymbol) | |
data Nat :: Type where |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package day21 | |
import parsley.Parsley | |
import parsley.combinator.{some} | |
import parsley.implicits.zipped.* | |
import parsing.Parsing.* | |
import day.Day | |
import coord.* | |
import Dir.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Example where | |
open import Data.List | |
open import Data.Bool | |
open import Relation.Binary.PropositionalEquality | |
data Rose : Set where | |
V : Bool → Rose | |
B : List Rose → Rose |