This is my answers for lisp-koans
If you think my answer is not good enough, welcome to contribute your code
This is my answers for lisp-koans
License: Apache License 2.0
This is my answers for lisp-koans
If you think my answer is not good enough, welcome to contribute your code
I don't think that is correct, since I presume we are not allowed to change the assert-equal value.
The doc string says "fix the let statement", so a more reasonable answer would be:
(define-test write-your-own-let-statement
"fix the let statement to get the tests to pass"
(setf a 100)
(setf b 23)
(setf c 456)
(let ((a 100)
(b 200)
(c "Jellyfish"))
(assert-equal a 100)
(assert-equal b 200)
(assert-equal c "Jellyfish"))
(let* ((a 121)
(b 200)
(c (+ a (/ b a))))
(assert-equal a 121)
(assert-equal b 200)
(assert-equal c (+ a (/ b a)))))
Notice how I've only changed the let statements, not the assert-equal comparisons.
Then again this is only speculation.
https://github.com/dongweiming/lisp-koans-answer/blob/master/koans/special-forms.lsp#L93
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.