Code Monkey home page Code Monkey logo

Comments (3)

ozgurakgun avatar ozgurakgun commented on August 25, 2024

Original comment by Özgür Akgün (Bitbucket: ozgurakgun, GitHub: ozgurakgun):


fixes #46. reorder phases so simplification happens before tuple-explode. test file added.

from conjure.

ozgurakgun avatar ozgurakgun commented on August 25, 2024

Original comment by Bilal Hussain (Bitbucket: Bilalh, GitHub: Bilalh):


language Essence 2.0

letting x be (1, (1,2,3) )

find y  : tuple ( int(1..4), tuple( int(1..3), int(2..5), int(3..6) ) )

such that
    y = x 

also gives the same kind of error

Error in phase: Groom
    (typeOf) Undefined reference: y
        Current bindings: y_tuple2_tuple3,
                          y_tuple2_tuple3,
                          y_tuple2_tuple2,
                          y_tuple2_tuple2,
                          y_tuple2_tuple1,
                          y_tuple2_tuple1,
                          y_tuple1,
                          y_tuple1,
                          x,
                          x

from conjure.

ozgurakgun avatar ozgurakgun commented on August 25, 2024

Original comment by Bilal Hussain (Bitbucket: Bilalh, GitHub: Bilalh):


using


language Essence 2.0

letting c be (1,2)

find a : tuple (int(0..9))
find b : tuple (int(0..9),int(3..8))

such that
    a[1] = 1,
    b[1] = 2,
    b[2] = c[2]

does not give an error but does not refine c


language Essence 2.0

letting c be (1,2)

find a : tuple (int(0..9))
find b : tuple (int(0..9),int(3..8))

such that
    a[1] = 1,
    b[1] = 2,
    b[2] = c[2]

from conjure.

Related Issues (20)

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.