summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-12-11 14:50:03 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-12-11 14:50:03 +0100
commit29aaba9386be26d0855c42cbc83d9ba1b9ac26c5 (patch)
tree6bab6e8b65589b86c0aa86df7f5852ab41b1bde5
parenteefadef0e9d0e34cec75680fddcb4237a2d7c695 (diff)
downloadfeeds-29aaba9386be26d0855c42cbc83d9ba1b9ac26c5.tar
feeds-29aaba9386be26d0855c42cbc83d9ba1b9ac26c5.tar.gz
feeds-29aaba9386be26d0855c42cbc83d9ba1b9ac26c5.tar.bz2
feeds-29aaba9386be26d0855c42cbc83d9ba1b9ac26c5.tar.xz
feeds-29aaba9386be26d0855c42cbc83d9ba1b9ac26c5.zip
somewhat better nametype-experiments
-rw-r--r--nestedEither.hs (renamed from genEither.hs)4
1 files changed, 3 insertions, 1 deletions
diff --git a/genEither.hs b/nestedEither.hs
index 4f6f7ae..64b9412 100644
--- a/genEither.hs
+++ b/nestedEither.hs
@@ -1,6 +1,8 @@
1#! /usr/bin/env nix-shell 1#! /usr/bin/env nix-shell
2#! nix-shell -i ghci shell.nix 2#! nix-shell -i ghci shell.nix
3 3
4-- Type indexed nested Eithers
5
4{-# LANGUAGE TypeOperators #-} 6{-# LANGUAGE TypeOperators #-}
5{-# LANGUAGE MultiParamTypeClasses #-} 7{-# LANGUAGE MultiParamTypeClasses #-}
6{-# LANGUAGE FlexibleInstances #-} 8{-# LANGUAGE FlexibleInstances #-}