Created
January 14, 2014 06:59
-
-
Save pedrofurla/8414258 to your computer and use it in GitHub Desktop.
Is this impl so wrong?
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
| instance Apply MaybeListZipper where | |
| (IsZ l) <*> (IsZ r) = IsZ $ l <*> r | |
| _ <*> _ = IsNotZ | |
| Build FAILED | |
| /Users/pedrofurla/dev/projects/nicta-fp-course/src/Course/ListZipper.hs: line 605, column 31: | |
| Ambiguous occurrence `<*>' | |
| It could refer to either `Course.ListZipper.<*>', | |
| defined at src/Course/ListZipper.hs:605:9 | |
| or `Course.Apply.<*>', | |
| imported from `Course.Apply' at src/Course/ListZipper.hs:10:1-19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment