Giter VIP home page Giter VIP logo

exitcode's People

Contributors

ajmcmiddlin avatar dalaing avatar enemeth79 avatar gwils avatar tonymorris avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

exitcode's Issues

Test for `Left 0`

Anything that uses the ExitcodeT constructor should test that Left 0 never occurs.

head thoughts

TODO

  • make _ExitSuccess more polymorphic 7454505
  • Replicate System.Process module, with these differences
    • Write classy lenses for CreateProcess.
    • Write classy prisms for StdStream.
    • Write classy prisms for CmdSpec.
    • Export data types but not fields or functions.
    • Rewrite fields and functions with the same name, but:
      • polymorphic (i.e. use the classy lens) and using better ExitCode structure.
      • Use MaybeT instead of IO (Maybe X).

NoImplicitPrelude

Let's turn off Prelude and use Papa. This will require getting builds set up, etc.

Remaining type-class instances

  • MonadReader
  • MonadWriter
  • MonadState
  • MonadRWS
  • MonadError
  • MonadFix (would result in partial function)
  • MonadFail (lacks a sensible instance because Either - see MonadFail proposal
  • MonadCont
  • Foldable1 (impossible due to Either)
  • Traversable1 (impossible due to Either)
  • MonadTrans
  • MonadZip (would fail information preservation law)
  • Eq1
  • Ord1
  • Show1

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.