Comments (16)
I'll go ahead and claim perl too.
from mal.
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.
I'm claiming ocaml, and afterwards I'll try racket.
from mal.
ocaml fix in #118
from mal.
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.
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.
The embedded sequence implementations is tracked here: #123
from mal.
Just pushed a fix for R.
from mal.
Guile fix in #124.
from mal.
matlab pushed.
from mal.
@kanaka want me to fix the Kotlin implementation?
from mal.
@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.
I've fixed my pull request to contain a single commit.
from mal.
Kotlin should be updated to fixed now that it's merged.
from mal.
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.
Looks good. Closing.
from mal.
Related Issues (20)
- VHDL: defmacro! doesn't modify existing functions HOT 1
- make "test^js^step0" fails -- Fatal error in , line 0 -- Check failed: result.second. HOT 1
- PDFs?
- Somebody should solve Rosetta Code challenges with mal
- Mal in Coq? HOT 2
- Apparently in step 3 'env' is a class or structure type, not an object HOT 2
- Questions on different design from lisp: Mal symbol do not use property lists? HOT 1
- Lots of unanswered merge requests HOT 1
- Why is quasiquote so complicated? HOT 3
- What with `` gensym '' HOT 2
- lexicial versus dynamic HOT 1
- Floats don't work in the python implementation. HOT 2
- Is #mal IRC channel still active? people seems tends to use discord now XD HOT 1
- Should `eval` use the top-level environment? HOT 1
- How is `cond` supposed to work? HOT 2
- Remaining impls to combine eval-ast/macroexpand into eval HOT 10
- common-lisp fails to build HOT 1
- Fix self-hosted test failures HOT 30
- Vala in self-hosted mode (i.e. running mal) has rare memory corruption (probably in throw/try/catch) HOT 1
- Fix powershell and elisp predicate/equality issues revealed by #665 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mal.