Skip to content

Instantly share code, notes, and snippets.

@tokiwoousaka
Last active December 26, 2015 06:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tokiwoousaka/e431d055f31a6c8930ec to your computer and use it in GitHub Desktop.
Save tokiwoousaka/e431d055f31a6c8930ec to your computer and use it in GitHub Desktop.
{-# LANGUAGE GADTs #-}
{-# LANGUAGE TypeOperators #-}
module Main where
data a :=: b where
Refl :: a :=: a
symmetric :: a :=: b -> b :=: a
symmetric ab = case ab of
Refl -> Refl
main :: IO ()
main = do
putStrLn "ほげほげ"
all:
rm -f Main.js
hastec Main.hs
rm -f *.hi; rm -f *.jsmod; rm -f *.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment