Idris2/libs/contrib
Ohad Kammar 2ae330785b
[contrib] Add misc libraries to contrib (#667)
* [contrib] Add misc libraries to contrib

Expose some `private` function in libs/base that I needed, and seem like
their visibility was forgotten

I'd appreciate a code review, especially to tell me I'm
re-implementing something that's already elsewhere in the library

Mostly extending existing functionality:
* `Data/Void.idr`: add some utility functions for manipulating absurdity.
* `Decidable/Decidable/Extra.idr`: add support for double negation elimination in decidable relations
* `Data/Fun/Extra.idr`:
  + add `application` (total and partil) for n-ary functions
  + add (slightly) dependent versions of these operations
* `Decidable/Order/Strict.idr`: a strict preorder is what you get when
  you remove the diagonal from a pre-order. For example, `<` is the
  associated preorder for `<=` over `Nat`.
  Analogous to `Decidable.Order`. The proof search mechanism struggled
  a bit, so I had to hack it --- sorry.

Eventually we should move `Data.Fun.Extra.Pointwise` to `Data.Vect.Quantifiers` in base
but we don't have any interesting uses for it at the moment so it's not
urgent.

Co-authored by @gallais
2020-09-14 16:22:46 +01:00
..
Control Add some algebra implementations 2020-07-17 08:25:20 -05:00
Data [contrib] Add misc libraries to contrib (#667) 2020-09-14 16:22:46 +01:00
Debug Back to HasIO, remove MonadIO 2020-06-21 19:21:22 +01:00
Decidable [contrib] Add misc libraries to contrib (#667) 2020-09-14 16:22:46 +01:00
Language Fix import loading 2020-05-27 15:49:03 +01:00
Syntax Move cong2 from contrib to Prelude.Basics 2020-08-20 07:53:45 +01:00
System Add supporting code 2020-08-25 14:30:57 +03:00
Text PTerm and error intial prettyprinting 2020-08-18 19:25:36 +01:00
contrib.ipkg [contrib] Add misc libraries to contrib (#667) 2020-09-14 16:22:46 +01:00
Makefile Refactor makefiles 2020-05-19 18:50:47 +06:00