GithubHelp home page GithubHelp logo

Comments (16)

kanaka avatar kanaka commented on September 26, 2024

I'll go ahead and claim perl too.

from mal.

dubek avatar dubek commented on September 26, 2024

I'm out of town till next week so ain't gonna advance in the need few days.
Leave some for me!
On Nov 18, 2015 16:38, "Joel Martin" [email protected] wrote:

I'll go ahead and claim perl too.


Reply to this email directly or view it on GitHub
#116 (comment).

from mal.

dubek avatar dubek commented on September 26, 2024

I'm claiming ocaml, and afterwards I'll try racket.

from mal.

dubek avatar dubek commented on September 26, 2024

ocaml fix in #118

from mal.

dubek avatar dubek commented on September 26, 2024

racket fix in #119 .

While coding this, I noticed another problem with implementations that rely on "native" = or equal? operator - they fail when you have nested vector/list comparisons. For example, in Racket, before the fix:

user> (= [1 2] (list 1 2))
true
user> (= [[1 2]] [(list 1 2)])
false

The first one is good (and tested in tests of step4); the second one is incorrect (and now fixed in #119 ).

So besides broken hash-map equality we also have this case. Not sure if you want to add this test case as mandatory (next to the other cases of vector/list equality in step4) or soft-fail.

from mal.

kanaka avatar kanaka commented on September 26, 2024

It should eventually be with the other vector/list tests, but to avoid breaking Travis until they are fixed, let's make it soft for now until we have most fixed.

from mal.

kanaka avatar kanaka commented on September 26, 2024

The embedded sequence implementations is tracked here: #123

from mal.

kanaka avatar kanaka commented on September 26, 2024

Just pushed a fix for R.

from mal.

dubek avatar dubek commented on September 26, 2024

Guile fix in #124.

from mal.

kanaka avatar kanaka commented on September 26, 2024

matlab pushed.

from mal.

ivern avatar ivern commented on September 26, 2024

@kanaka want me to fix the Kotlin implementation?

from mal.

kanaka avatar kanaka commented on September 26, 2024

@ivern that would be great. FYI, the simplest method I've found is to compare the lengths (or the keys if the native impl doesn't have a length method/function) and then iterate through all the keys from one map, making sure that each key both exists in the second and that has the same value.

from mal.

ivern avatar ivern commented on September 26, 2024

I've fixed my pull request to contain a single commit.

from mal.

ivern avatar ivern commented on September 26, 2024

Kotlin should be updated to fixed now that it's merged.

from mal.

kanaka avatar kanaka commented on September 26, 2024

I merged before the travis was finish with the PR, and unfortunately, travis doesn't pull the right thing so tests start to fail after the merge. So I'll wait for the travis build for the merge itself (https://travis-ci.org/kanaka/mal/builds/104935848) to finish and verify and then close this if everything checks out.

from mal.

kanaka avatar kanaka commented on September 26, 2024

Looks good. Closing.

from mal.

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.