Comments (2)
I dunno. I think what might be a much smaller and less invasive change would be to drop the "single statement function" syntax. It doesn't save THAT much typing, and for function literals you'll probably be using the Haskell-style literals anyway.
from croc.
Yeah I think that's what I'll do instead.
from croc.
Related Issues (20)
- Why is file.truncate a global function and not a method of stream.NativeStream?
- Implement 'modules' in Croc, change the way stdlibs are initially loaded
- Shared lib module loading support HOT 1
- Addons should be optionally loaded from shared libs
- Prune/remove quoted verbatim strings HOT 1
- Remove 'parameterized import'
- Remove 'parameterized instance type constraint'
- Drop either colon or semicolon in 'numeric for'
- Drop 'ranged cases'
- Drop '!is', '!in', and '!null' spellings in favor of 'is not', 'not in', and 'not null'
- Drop '.super' (and ':super')
- Drop 'vararg slices'
- Drop haskell-style function calls
- Haskell-style func literals can't have return type constraints
- Drop single-statement function bodies
- Trailing function parameters
- Change doc comments to support multiple returns
- New API function for a try block that doesn't require a native func?
- linux build 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 croc.