agentm / agentm/project-m36

Sorting attributes with constructed types

Offen
#316 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Haskell
Sterne
952
Forks
50
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.