Ad
  • Custom User Avatar

    HASKELL--

    On the test I get an error for
    g=6, m=100, n=110
    I return Just(101, 107), but I get an error saying "expected Nothing"
    Am I wrong to think that 101 and 107 are primes and that they are different by 6?

    I also fail the test of g=10, m=300, n=400
    I returned Just (307,317), but "Expected Just (337,347)"

    Why does this seem wrong to me?
    I am wrong please let me know

  • Custom User Avatar

    can someone explain this. Very new to haskell.
    I am wondering why "xs" or any form of agruement is being used before the equal sign?