Idris2/libs/contrib/Data
Guillaume ALLAIS 5b5bdfe769 [ contrib ] Positions in strings
This is an alternative to using `fastUnpack` and `fastPack` to work
on lists of characters.

Using this to refactor the lexer and benchmarking the resulting
compiler on building idris2 shows it's 3 to 5s slower than the
current implementation that goes via `List Char`.

This may be backend-dependent so I still push this to contrib,
with the plan of running further benchmarks in the future.
2021-02-18 17:52:25 +00:00
..
Bool Remove trailing whitespaces and add trailing newlines 2021-01-16 10:00:03 +00:00
Fin Some utilities for Fin, relations and decidability (#857) 2020-12-28 21:41:12 +00:00
Fun add Inspect idiom (#919) 2021-01-16 14:18:34 +00:00
InductionRecursion [ contrib ] add McBride's General monad 2020-10-15 17:03:32 +01:00
Int [ new ] Order relations on Int 2021-01-27 18:23:40 +00:00
Linear Remove linearity subtyping 2020-12-27 19:58:35 +00:00
List [ new ] Data.OpenUnion (#1050) 2021-02-10 15:25:35 +00:00
Logic Port over some contrib stuff 2020-06-15 14:56:19 -05:00
Morphisms Add some algebra implementations 2020-07-17 08:25:20 -05:00
Nat Some cleanup was done. Changed code is mosly equivalent to the former. 2021-02-16 19:05:33 +00:00
Recursion [ new ] proof that evaluation is Domain-independent 2020-10-29 23:05:41 +00:00
Rel Some utilities for Fin, relations and decidability (#857) 2020-12-28 21:41:12 +00:00
Stream Remove trailing whitespaces and add trailing newlines 2021-01-16 10:00:03 +00:00
String [ contrib ] Positions in strings 2021-02-18 17:52:25 +00:00
Telescope Some cleanup was done. Changed code is mosly equivalent to the former. 2021-02-16 19:05:33 +00:00
Vect Some cleanup was done. Changed code is mosly equivalent to the former. 2021-02-16 19:05:33 +00:00
Container.idr [ contrib ] adding Data.Container (#781) 2020-11-27 15:29:19 +00:00
HVect.idr Remove linearity subtyping 2020-12-27 19:58:35 +00:00
Late.idr [ contrib ] add McBride's General monad 2020-10-15 17:03:32 +01:00
OpenUnion.idr [ new ] Data.OpenUnion (#1050) 2021-02-10 15:25:35 +00:00
Order.idr [ new ] Order relations on Int 2021-01-27 18:23:40 +00:00
SortedMap.idr [ new ] null method in Foldable (#832) 2020-12-10 18:04:23 +00:00
SortedSet.idr [ new ] null method in Foldable (#832) 2020-12-10 18:04:23 +00:00
Telescope.idr Preliminary datatypes for telescopes (#703) 2021-02-09 14:18:41 +00:00
Void.idr [contrib] Add misc libraries to contrib (#667) 2020-09-14 16:22:46 +01:00