Comments (2)
Ah, that is the handling of comments in functions/macros which is playing up. Now, if the first element in the body is a string it is assumed to a comment and is dropped, so if you have a body with just a string it is removed. With quoted strings this was no problem, but now when you just want to return a string it gets misunderstood as a comment.
I will come with a fix which only as accepts the first element in the body as a comment if the body unless it also is the last element in the body.
from lfe.
This has been fixed in commit 879733c.
from lfe.
Related Issues (20)
- Add support for LFE shell prompt continuation lines
- Move blog into new site
- Add any missing examples for new features in 2.0
- Pattern matching of binary argument works in REPL but does not compile HOT 7
- Update docs for 2.x
- Compilation error when binary pattern matching with size variable HOT 6
- Dialyzer warning with custom behaviours HOT 2
- Internals for maps are inconsistent, depending on how they're constructed. HOT 1
- Is there any advantage to installing lfe via Make or rebar? HOT 3
- Multi-variable binary generator not working with list/binary comprehensions HOT 11
- Window switching make junk appear in Emacs LFE mode buffer HOT 3
- == macro expansion is incorrect HOT 1
- Record accessors in guards don't work HOT 3
- Feature Request: Github Discussions HOT 1
- Run tests without rebar3 HOT 4
- Add make targets for testing HOT 1
- README: Run tests with Makefile HOT 3
- Improve workflow for publishing LFE to hex.pm
- Odd recursion bug with rebar3_lfe as a plugin dep HOT 1
- v2.1.1 tagged but not marked as latest HOT 5
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 lfe.