agentm / agentm/project-m36

Sorting attributes with constructed types

Aperta
#316 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Haskell
Stelle
952
Fork
50
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently attempting to sort a relation by an attribute that has a constructed type throws an `AttributeNotSortableError`. This is really limiting, since even a simple `Maybe` type becomes unsortable as well.

I think we need a solution that behaves like `sortBy` which takes an `AtomFunction` or maybe something like a `ValueExtractionExpr` (which behaves like a `RelationalExpr`) and provides the value on which the sort should be done.

Any Ideas on this?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.