Git Product home page Git Product logo

ormolu's Introduction

Ormolu

This is not an official Google product.

This is Google's fork of the original Tweag's Ormolu repository with a few changes on top of it.

Notable differences from the original Ormolu:

  • Commas come at the beginning for tuples and lists
  • In type signatures, arrows and double-colons come at the beginning
  • Less vertical space for parenthesized multi-line code

Maintaining the Repository

We occasionally pull in upstream changes from the Tweag's repository. Because there are very few deviations from the original Ormolu, we want to make them prominent by always having them on top of the commit chain. So when we pull in upstream changes, follow this procedure.

  1. Pull Tweag's master branch into the master branch of this repo
  2. Rebase the gfork branch on top of master
  3. Verify all the tests pass; fix them if not

You may encounter merge conflicts at step 2. Please resolve them properly.

One downside of rebasing is that the hashes of the commits in the gfork branch change every time the rebase happens on top of the new master. This is a small price we have to pay to have the deviating commits clearly visible.

ormolu's People

Contributors

amesgen avatar avi-d-coder avatar basile-henry avatar cblp avatar contrun avatar dkellner avatar dnlkrgr avatar domenkozar avatar ethercrow avatar facundominguez avatar felixonmars avatar gabrielelana avatar int-index avatar javran avatar jinwoo avatar jonascarpay avatar juhp avatar mboes avatar mitchellwrosen avatar mrkkrp avatar neongreen avatar panaeon avatar ruhatch avatar sellout avatar smelc avatar sphaso avatar tomjaguarpaw avatar utdemir avatar waddlaw avatar yumiova avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ormolu's Issues

Fourmolu Collaboration

@georgefst noticed that y'all have comma-first support. I've made another fork of ormolu known as fourmolu that primarily differs in a default 4 space indentation, and philosophically differs in that we fully support configuration.

Perhaps we could combine efforts in some way?

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.