Re: RFC: comparable and hashable traits
[Thread Prev] | [Thread Next]
- Subject: Re: RFC: comparable and hashable traits
- From: Ori Bernstein <ori@xxxxxxxxxxxxxx>
- Reply-to: myrddin-dev@xxxxxxxxxxxxxx
- Date: Tue, 14 Nov 2017 14:27:14 -0800
- To: myrddin-dev@xxxxxxxxxxxxxx
- Cc: Lucas Gabriel Vuotto <lvuotto92@xxxxxxxxx>
I've been running this for a while now. The docs are done. So, there's no reason to wait any longer. It's in master now. On Wed, 1 Nov 2017 16:53:24 -0300 Lucas Gabriel Vuotto <lvuotto92@xxxxxxxxx> wrote: > Hello myrddin-dev, > > This is a proposal to change how hash tables are used. The idea is to add two > new traits to the core language: comparable and hashable. This allows to remove > the functions that are passed to mkht, removes a lot of duplicated code by just > providing implementations for @a[:], @a::(integral,numeric) and @a#. As a side > effect of this, the code becomes cleaner and more readable. > > It's important to note that this is a first approach, as there are some places > where further changes can be made (e.g., replacing sleq with cmp), and some > things to be done yet (modifying the tests and providing docs). Feedback will > be appreciated. > > Cheers. > > -- Ori Bernstein <ori@xxxxxxxxxxxxxx>
RFC: comparable and hashable traits | Lucas Gabriel Vuotto <lvuotto92@xxxxxxxxx> |
- Prev by Date: Re: [PATCH] Fix use of width uninitialized in graphemestep
- Next by Date: IRC Client: Done and in use.
- Previous by thread: Re: RFC: comparable and hashable traits
- Next by thread: New maintainer for libtermdraw
- Index(es):