diff options
-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 #-} |