Created
February 12, 2019 21:28
-
-
Save dmjio/27790f8ea7717fa312360d9d1c8b36b2 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 ViewPatterns #-} | |
main = print $ foo ["hey"] ["there"] | |
foo :: [a] -> [b] -> [(a,b)] | |
foo (zip -> xs) = xs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment