Comments (9)
+1
from monet.js.
Great idea
On Wed, 20 Jan 2016 at 8:37 PM, Albert Sadowski [email protected]
wrote:
+1
—
Reply to this email directly or view it on GitHub
https://github.com/cwmyers/monet.js/issues/37#issuecomment-173145551.
from monet.js.
+1
from monet.js.
@ulfryk If you were willing to get this kick-started that would be amazing.
from monet.js.
Some work is already done -> https://gist.github.com/ulfryk/0687f6b6d454c84dcff7
from monet.js.
I have quite huge problem with typing List. Part Below is NOT a valid TypeScript…
class List<T> {
…
sequence<V, T extends Monad<V>>(m: IMonadStatic): Monad<List<V>>;
sequenceMaybe<V, T extends Maybe<V>>(): Maybe<List<V>>;
sequenceEither<E, V, T extends Either<E, V>>(): Either<E, List<V>>;
sequenceValidation<E, V, T extends Validation<E, V>>(): Validation<List<E>, List<V>>;
sequenceIO<V, T extends IO<V>>(): IO<List<V>>;
sequenceReader<V, T extends Reader<V>>(): Reader<List<V>>;
…
}
I can't find proper way to express possibility that in List<T>
the T
is Monad<V>
…
Maybe.Some ideas ?
from monet.js.
@cwmyers - you can see more progress here -> https://github.com/evojam/monet.js
PR's are coming soon!
from monet.js.
PR is ready: #48
from monet.js.
Ready! Released with patch 0.8.9
👯
from monet.js.
Related Issues (20)
- Either from exception HOT 7
- Maybe.fromEmpty? HOT 3
- Maybe.None() === Maybe.None() => false HOT 2
- Shortcut for flatMap on possibly falsy data (flatMapFromFalsy) HOT 1
- *.isInstance returns "truthy" value for every monad HOT 1
- `Either.fromPromise` HOT 6
- Rollup error - "is not exported by..." HOT 1
- Maybe.fromEmpty is not yet added to src/monet.d.ts HOT 12
- List.nth or similar HOT 3
- Applicative.apOn(value: Applicative<V>) proposal. HOT 2
- Maybe.filter should work as type guard HOT 10
- Do notation implementation
- How to supply a `Semigroup appender` to `sequenceValidation`?
- Error on "List -> find" with single value of null HOT 3
- sequenceValidation doesn't work for Fail as stated in docs
- [request for help] - casting right type on left HOT 1
- Missing type guard argument on fromFalsy
- Is it wrong to call "run()" two times in a row?
- Type 'V' does not satisfy the constraint '{}' HOT 7
- Exception is thrown if the object is without constructor
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 monet.js.