Git Product home page Git Product logo

Comments (9)

dumpstate avatar dumpstate commented on June 2, 2024

+1

from monet.js.

cwmyers avatar cwmyers commented on June 2, 2024

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.

michalma avatar michalma commented on June 2, 2024

+1

from monet.js.

cwmyers avatar cwmyers commented on June 2, 2024

@ulfryk If you were willing to get this kick-started that would be amazing.

from monet.js.

ulfryk avatar ulfryk commented on June 2, 2024

Some work is already done -> https://gist.github.com/ulfryk/0687f6b6d454c84dcff7

from monet.js.

ulfryk avatar ulfryk commented on June 2, 2024

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.

ulfryk avatar ulfryk commented on June 2, 2024

@cwmyers - you can see more progress here -> https://github.com/evojam/monet.js

PR's are coming soon!

from monet.js.

ulfryk avatar ulfryk commented on June 2, 2024

PR is ready: #48

from monet.js.

ulfryk avatar ulfryk commented on June 2, 2024

Ready! Released with patch 0.8.9 👯

from monet.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.