Coder Social home page Coder Social logo

what-purescript-needs's Introduction

What Purescript Needs

Purescript community project ideas. a.k.a. What Purescript needs to take over the world

Meta

What should not change

Purescript's FP strengths should remain the number one goal. We need a grownup FP language that is pure, has strong static typing, and does not shy away from things like Traversable and Monad.

Additional goals

  1. Focus on the Javascript backend. That is where the biggest market is. Focus on projects which help interoperate with the existing JS ecosystem.
  2. Focus on performance and improved code output.

Projects

Compiler and tooling ergonomics

  1. Better, more user friendly error messages.
  2. A standard code autoformatter.
  3. Tool to suggest changes based on changelog across major versions.

Code output improvements

  1. Annotations that control the JS output

Take inspiration from the options provided by Rescript - https://rescript-lang.org/docs/manual/latest/embed-raw-javascript

One way to allow that without committing to a specific backend is by letting users create compiler plugins like GHC - https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/extending_ghc.html#compiler-plugins.

  1. Better typeclass representations. elaborate.
  2. Better datatype representations. elaborate.

A Killer App

Ideas -

  1. Ruby-on-Rails-esque one size fits all solution for web dev. Preferably with server side integration.

Ecosystem

  1. Tool for typescript defs -> Purescript generation.
  2. Community maintained type definitions / bindings for major JS libraries.
  3. List of best in class library alternatives for each usecase.
  4. A cookbook for common recipes
  5. TryPurescript could do with some more features, e.g. being able to share snippets without github gists, better IDE support.

Language improvements

  1. GADTs
  2. Graceful, canonical solutions for stuff like untagged unions, JS objects with optional fields, etc.

what-purescript-needs's People

Contributors

ajnsit avatar

Stargazers

 avatar  avatar Crosstyan avatar Jon Roberts avatar Attila Gulyas avatar Chen Yijun avatar Donna avatar Maciej Bielecki avatar James Brock avatar matoruru avatar Woodson Delhia avatar Jonathan Lorimer avatar Evan Relf avatar Tim Kersey avatar paluh avatar Utkarsh Kukreti avatar

Watchers

Abhik Khanra avatar  avatar Franklin Chen avatar paluh avatar Utkarsh Kukreti avatar James Cloos avatar Milia avatar  avatar

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.