Code Monkey home page Code Monkey logo

rei's Issues

Compile failure / inaccurate version bounds

Hi, I just stumbled over this compile failure with GHC 8.0 and your recent upload:

Configuring component exe:rei from rei-0.4.0.2
Preprocessing executable 'rei' for rei-0.4.0.2...
[1 of 1] Compiling Main             ( Main.hs, /tmp/matrix-worker/1480882783/dist-newstyle/build/x86_64-linux/ghc-8.0.1/rei-0.4.0.2/c/rei/build/rei/rei-tmp/Main.o )

Main.hs:126:42: error:
    • Couldn't match type ‘a’ with ‘Char’
        arising from the literal ‘" "’
      ‘a’ is a rigid type variable bound by
        the type signature for:
          checkRule :: forall a. (Eq a, IsString [a]) => [a] -> [a] -> Bool
        at Main.hs:119:14
    • In the first argument of ‘splitOn’, namely ‘" "’
      In the expression: splitOn " " list1
      In an equation for ‘list1'’: list1' = splitOn " " list1
    • Relevant bindings include
        list1' :: [[a]] (bound at Main.hs:126:25)
        list2' :: [[a]] (bound at Main.hs:127:25)
        list2 :: [a] (bound at Main.hs:120:17)
        list1 :: [a] (bound at Main.hs:120:11)
        checkRule :: [a] -> [a] -> Bool (bound at Main.hs:120:1)

Main.hs:127:42: error:
    • Couldn't match type ‘a’ with ‘Char’
        arising from the literal ‘" "’
      ‘a’ is a rigid type variable bound by
        the type signature for:
          checkRule :: forall a. (Eq a, IsString [a]) => [a] -> [a] -> Bool
        at Main.hs:119:14
    • In the first argument of ‘splitOn’, namely ‘" "’
      In the expression: splitOn " " list2
      In an equation for ‘list2'’: list2' = splitOn " " list2
    • Relevant bindings include
        list2' :: [[a]] (bound at Main.hs:127:25)
        list2 :: [a] (bound at Main.hs:120:17)
        list1 :: [a] (bound at Main.hs:120:11)
        checkRule :: [a] -> [a] -> Bool (bound at Main.hs:120:1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.