GithubHelp home page GithubHelp logo

Comments (4)

TheAngryByrd avatar TheAngryByrd commented on July 27, 2024 1

Thanks :)

I think this is answered so going to close.

from fstoolkit.errorhandling.

TheAngryByrd avatar TheAngryByrd commented on July 27, 2024

Yeah I struggle with what the correct terminology would be. I think it goes into bind territory since bind infers unwrapping a thing to operate on. So we would end up providing for AsyncResult abind which takes a 'a -> Async<Result<'b,'c>> and a bindAsync which takes a 'a -> Async<'b> and any other bindXYZ for Tasks/Jobs/Promises and possible variants for the Error path as well but I tend to find needing to bind on the error path less and maps tend to cover most cases.

from fstoolkit.errorhandling.

TheAngryByrd avatar TheAngryByrd commented on July 27, 2024

Even though we don't provide all the functional bindXYZ variants we do provide overloads for them in our computation expressions, which many people like using since it tends to read nicer.

from fstoolkit.errorhandling.

witoldsz avatar witoldsz commented on July 27, 2024

OK, thanks. I am still wrapping my head around composing functions (>> and |>) and using computation expressions (this is new, have not seen anything like this, expect for Haskell do) and I can always just add these methods as they are easy to write (at least for me now) and most other things are implemented in this superb FsToolkit already (it reminds me of jOOλ - The Missing Parts in Java 8 jOOλ improves the JDK libraries in areas where the Expert Group's focus was elsewhere.)

from fstoolkit.errorhandling.

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.