Comments (8)
Great suggestion. I'm definitely interested in adding these!
from smlfmt.
Starting work on this. At the moment:
- WIP branch allow-opt-bar for
allowOptBar
syntax.
from smlfmt.
@frou These should now be working:
-allow-opt-bar true -allow-record-pun-exps true -allow-or-pats true
If you have a chance to try them out on your code, that would be really helpful. Please let me know if you encounter any problems!
I'll leave the issue open for now, because I'd like to add support for other SuccessorML features, too.
from smlfmt.
Related Issues (20)
- autoformatting: reflow multi-line comments and strings HOT 3
- autoformatting: if-then-else chaining increases indentation HOT 3
- autoformatting: infix chains HOT 1
- autoformatting: keep blank lines from source where appropriate
- Comments move to the same line as the following declaration HOT 10
- `sharing` specs move to line of previous spec
- Trailing whitespace is generated HOT 2
- Remove whitespace from prefix application if function is not alphanumeric HOT 1
- Vertically align tokens HOT 18
- Vertically align patterns
- Autoformatter tests HOT 4
- Grouping of function application HOT 2
- Infix style with large expressions HOT 1
- Style for nested `if` expressions?
- Long single-line comments can force large indentation increases
- Support mlb option "allowExtendedTextConsts true" HOT 4
- Format of `andalso` and `orelse` HOT 5
- Support top-level expressions HOT 5
- Rightward drift in deep function application
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 smlfmt.