Created
April 12, 2016 07:52
-
-
Save maiermic/cb41ca295960aebe0cb3cdab9cec565d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| When checking argument f to function Prelude.Basics.flip: | |
| Type mismatch between | |
| Type -> Type -> Type (Type of Pair) | |
| and | |
| a -> b1 -> b -> c -> Type (Expected type) | |
| Specifically: | |
| Type mismatch between | |
| Type | |
| and | |
| b -> c -> Type |
This file contains hidden or 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
| ||| Combine three equal-length `HVect`s elementwise into a vector of tuples | |
| zip3 : HVect as -> HVect bs -> HVect cs -> HVect (zipWith3 (flip Pair Pair) as bs cs) | |
| zip3 [] [] [] = [] | |
| zip3 (a::as) (b::bs) (c::cs) = (a, b, c) :: zip3 as bs cs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment