Comments (3)
That focus list is perfect (maybe with the addition of Literal::Decorator
). We were actually considering forking literal
to accomplish exactly this.
Let me know how we can help ❤️
from literal.
Some of the other stuff may never make it back in.
I like the idea of literal
being focused on type checking and related conveniences.
If you wanted to expand to monads, memoization, etc. I think a separate gem would make sense. It's easier for me psychologically to buy in to a more focused, cohesive project (like Phlex 😉).
from literal.
Thanks @hangsu! ❤️
Literal::Decorator
makes sense to include with this. 👍 I want to get this fully documented with 100% code coverage before moving on to other stuff. Some of the other stuff may never make it back in.
from literal.
Related Issues (20)
- If a block isn't given to `Literal::Variant#handle`, return `self`
- Variant, Maybe, Result, and Either should support pattern matching
- AttributesProxy
- Rename `on` → `when` on `Literal::Switch`
- Escape positional parameters as they are captured
- `Literal::Some` and `Literal::Nothing` should accept types for `map` and `then`
- Add generic Range type
- `Literal::Some` and `Literal::Nothing` should implement `#value_or_raise!` and deprecate `value` HOT 1
- Comparison operators for `Literal::Maybe` and `Literal::Result` objects HOT 1
- `Literal::Struct` and `Literal::Data` should implement the `[]` and `[]=` hash-like interface
- `Literal::Some#filter` is actually passing `self` to the block HOT 1
- Rails support
- Implement `#as_pack` and `.from_pack` on `Literal::Data` and `Literal::Struct` HOT 1
- Inherited object and kwargs HOT 1
- Pattern matching + literal types HOT 2
- A "module defined hook" mixin
- undefined method `after_defined'
- Switch to `prop` instead of `attribute` HOT 4
- `attribute` `default` option doesn't work with `:&` HOT 2
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 literal.