Skip to content

Instantly share code, notes, and snippets.

View jali-clarke's full-sized avatar

Jinnah Ali-Clarke jali-clarke

  • Toronto, Ontario, Canada
View GitHub Profile
@jali-clarke
jali-clarke / TypeHeck.hs
Last active November 22, 2022 22:23
printing `hello world!` by running a brainfuck interpreter in haskell's type system
{-# LANGUAGE
DataKinds,
KindSignatures,
TypeFamilies,
TypeOperators,
UndecidableInstances
#-}
import Data.Kind (Type)
import GHC.TypeLits (AppendSymbol, Nat, Symbol, type (+), type (-), symbolVal)