Last active
December 26, 2015 06:11
-
-
Save tokiwoousaka/e431d055f31a6c8930ec to your computer and use it in GitHub Desktop.
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 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 "ほげほげ" |
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
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