-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The value ++ can't be found #105
Comments
apparently they haven shiped the new syntax yet: reasonml/reason#1445 |
@prashantham Which version of bs-platform do you have? To be able to use the new syntax you need at least 2.0.0 and set |
@JohannesKaufmann New syntax has been shipped, that issue contains not finished stuff which will be addressed in the future. |
@IwanKaramazow well I rencently saw the blog post about the new version and thought about giving it a try. So I followed the getting started guide which gives me "bs-platform": "2.0.0" in the "package.json". But all the new stuff like string concatenation (++ instead of ^) and changing an arrays element (myArray[1] instead of myArray.(1)) doesn't work. Using the old syntax it works :-| And the error messages are very cryptic (at least for a total beginner):
Do you know how to solve this? |
Can you upload the project on github & show me the repo? |
https://github.com/JohannesKaufmann/reason-first-app The generated readme.md also mentions to run |
@JohannesKaufmann You're missing
The template hasn't been updated 100% correctly. I'll make sure that won't happen again in the future. Feel free to reach out if you have more trouble. |
@relekang @IwanKaramazow adding "refmt": 3 worked. Thank you. |
Sorry @IwanKaramazow I totally missed that. Thanks for the pull request, it now works without problems. I really liked the "Syntax Cheatsheet" but I missed a couple of things:
The Docs also don't support opening up a link in a new tab if you click on it while holding But other than that the website is really well done and I'm eager to learn more and also try reason-react :-) |
Hi,
I am trying out ReasonML. Did the global installation and bs-platform.
Created the ap using bsb -init my-first-app -theme basic-reason.
But when i try out the examples i get error above.
example: let x = "Hello" ++ "World";
`> [email protected] start /Users/prashanth/workspace/reasonml/my-first-app
We've found a bug for you!
(No file name)
The value ++ can't be found
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered: