Language

Package: libexpected @ 1.0.0

Synopsis

C++11/14/17 std::expected with functional-style extensions

Description

std::expected is proposed as the preferred way to represent objects which will either have an expected value, or an unexpected value giving information about why something failed. Unfortunately, chaining together many computations which may fail can be verbose, as error-checking code will be mixed in with the actual programming logic. This implementation provides a number of utilities to make coding with expected cleaner.

Home page
https://tl.tartanllama.xyz/
Location
gnu/packages/cpp.scm (line: 1240, column: 2)
License

Derivations

SystemTargetDerivationBuild status
x86_64-linux/gnu/store/m97f3gfaca52k1bqv3lpj2dss2wlcn1x-libexpected-1.0.0.drv
x86_64-linuxx86_64-w64-mingw32/gnu/store/qnd5q4db866jv7sn6v51v02ic7j2bcxq-libexpected-1.0.0.drv
x86_64-linuxriscv64-linux-gnu/gnu/store/ds530q432pwj58f7bx386343wylmj1xb-libexpected-1.0.0.drv
x86_64-linuxpowerpc-linux-gnu/gnu/store/wbfhdcp5cw259cnrmb1iwcgq09i5q8bd-libexpected-1.0.0.drv
x86_64-linuxpowerpc64le-linux-gnu/gnu/store/a9ysk5545yca3j5adj6j4hqaqj551khf-libexpected-1.0.0.drv
x86_64-linuxmips64el-linux-gnu/gnu/store/qivn9210m9sd6a0i7drcgfia3rqik472-libexpected-1.0.0.drv
x86_64-linuxi686-w64-mingw32/gnu/store/v0jwhxmw1k5gf2gikanhg7hjm8pwwf0z-libexpected-1.0.0.drv
x86_64-linuxi586-pc-gnu/gnu/store/88lynrmr89q2fbzfvj90dx9ld8wm544l-libexpected-1.0.0.drv
x86_64-linuxarm-linux-gnueabihf/gnu/store/bxaphqbjfkaxad0gdiprw9pjlbanf6cc-libexpected-1.0.0.drv
x86_64-linuxaarch64-linux-gnu/gnu/store/nchbbfk716ihry3klyd8k5b7nw0ndr9a-libexpected-1.0.0.drv
riscv64-linux/gnu/store/xgdsqw4bq6947kp1pg49y96cfdxwx2hd-libexpected-1.0.0.drv
    powerpc-linux/gnu/store/y0qiwysgjm69i1g1igx6v5zakc3ald0a-libexpected-1.0.0.drv
      powerpc64le-linux/gnu/store/gpnhshx200hlqrjgdk3hany02l2jqj3q-libexpected-1.0.0.drv
      mips64el-linux/gnu/store/0mk35jnvhbwcl3iaahgksc04yg9dm0v5-libexpected-1.0.0.drv
        i686-linux/gnu/store/r4f08n2nyvb9s2mbj78kcgf0jpalhp01-libexpected-1.0.0.drv
        i586-gnu/gnu/store/j8iiil883nvk7mycs8bcddk1y6l5wq65-libexpected-1.0.0.drv
        armhf-linux/gnu/store/8wvls7qrcx6a7fz145zcdp0czck5dxrm-libexpected-1.0.0.drv
        aarch64-linux/gnu/store/6a8hprrgpjkl0gds8hkpm1mmq07dhkg1-libexpected-1.0.0.drv

        Lint warnings

        LinterMessageLocation
        optional-tests

        Make sure tests are only run when requested

        the 'check' phase should respect #:tests?