-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eac4470
commit 54628c8
Showing
10 changed files
with
69 additions
and
27 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
let data Bool = False | True | ||
in let class Eq a where | ||
eq :: a -> a -> Bool | ||
instance dEqInt1 <: Eq Int where | ||
eq = \_ _ -> True | ||
instance dEqInt2 <: Eq Int where | ||
eq = \_ _ -> False | ||
in let f :: Eq a => a -> a -> Eq b => b -> b -> (Bool,Bool) | ||
f = \p q r s -> (eq p q, eq r s) | ||
in let v = f 3 4 5 6 | ||
in v | ||
let data Bool = False | True in | ||
let class Eq a where | ||
eq :: a -> a -> Bool in | ||
let instance dEqInt1 <: Eq Int where | ||
eq = \_ _ -> True | ||
instance dEqInt2 :: Eq Int where | ||
eq = \_ _ -> False | ||
in let f :: Eq a => a -> a -> Eq b => b -> b -> (Bool,Bool) | ||
f = \p q r s -> (eq p q, eq r s) | ||
in let v = f 3 4 5 6 | ||
in v |
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