• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gap-system / gap / 10202 / 3
4%
master: 4%

Build:
DEFAULT BRANCH: master
Ran 09 Jul 2019 03:30PM UTC
Files 676
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jul 2019 02:53PM UTC coverage: 76.424% (+0.003%) from 76.421%
TEST_SUITES="docomp testtravis" ABI=64 HPCGAP=yes

push

travis-ci

ChrisJefferson
Add PositionSortedBy

One thing to point out is that the interface is a bit different from
PositionSorted, which might be confusing: the object you pass in is
*not* a (potential) element of the list, but rather the result of
applying the "by func" to an object (or at least something that looks
like such a result). The reason: first off, replacing the element by its
func value would be the very first thing done by any implementation
anyway. And a typical application of this function is to search for an
object matching a a certain criterion -- say, the first item which is a
list whose first entry is 42. With the current model, one can write

    PositionSortedBy([ "a", "ab" ], 4, Length);

and is not forced to first construct an actual object, like here:

    PositionSortedBy([ "a", "ab" ], "abcd", Length);

In this example, that's a pretty small saving, but in bigger examples,
it can add up. In particular, this is motivated by real world usage
of this function.

245229 of 320879 relevant lines covered (76.42%)

8089589.84 hits per line

Source Files on job 10202.3 (TEST_SUITES="docomp testtravis" ABI=64 HPCGAP=yes)
  • Tree
  • List 0
  • Changed 97
  • Source Changed 3
  • Coverage Changed 97
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2332
  • Travis Job 10202.3
  • 94994522 on github
  • Prev Job for TEST_SUITES="docomp testtravis" ABI=64 HPCGAP=yes on master (#10200.3)
  • Next Job for TEST_SUITES="docomp testtravis" ABI=64 HPCGAP=yes on master (#10203.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc