tezos-commons / baseDAO

BaseDAO - a generic smart contract framework for DAOs on Tezos
57 stars 15 forks source link

Stop sorting haskell's type constructors and let ligoLayout do it #259

Closed pasqu4le closed 3 years ago

pasqu4le commented 3 years ago

Clarification and motivation

Some of the constructors for Haskell types have been pre-sorted manually in order for ligoLayout to produce the representation that matches the one produced by LIGO.

See the TODO in Ligo.BaseDAO.Types.

This was however due to an issue, morley/527, which has since be solved.

We should check that everything now works correctly and stop manually sorting type constructors.

Acceptance criteria

In the haskell/ library type constructors are sorted by ligoLayout and not manually.