Idris2/libs/base/Data
Edwin Brady dbdf7dab3d Back to HasIO, remove MonadIO
Following a fairly detailed discussion on slack, the feeling is
generally that it's better to have a single interface. While precision
is nice, it doesn't appear to buy us anything here. If that turns out to
be wrong, or limiting somehow, we can revisit it later. Also:

- it's easier for backend authors if the type of IO operations is
  slightly less restrictive. For example, if it's in HasIO, that limits
  alternative implementations, which might be awkward for some
  alternative back ends.
- it's one less extra detail to learn. This is minor, but there needs to
  be a clear advantage if there's more detail to learn.
- It is difficult to think of an underlying type that can't have a Monad
  instance (I have personally never encountered one - if they turns out
  to exist, again, we can revisit!)
2020-06-21 19:21:22 +01:00
..
Bool various stdlib updates 2020-06-11 23:14:11 +02:00
IOArray Add experimental support for linear arrays 2020-06-12 14:08:00 +01:00
List Fix import loading 2020-05-27 15:49:03 +01:00
Nat Fix import loading 2020-05-27 15:49:03 +01:00
Primitives Add libraries 2020-05-18 14:00:08 +01:00
Bool.idr Function mapping Not (x=True) to x=False was added for Bools (#322) 2020-06-19 11:13:13 +01:00
Buffer.idr Make Buffer more primitive 2020-06-11 14:05:52 +01:00
Either.idr Add libraries 2020-05-18 14:00:08 +01:00
Fin.idr various stdlib updates 2020-06-11 23:14:11 +02:00
Fuel.idr add Data.Fuel 2020-06-02 17:20:42 +02:00
IOArray.idr Back to HasIO, remove MonadIO 2020-06-21 19:21:22 +01:00
IORef.idr Back to HasIO, remove MonadIO 2020-06-21 19:21:22 +01:00
List.idr Ported safe indexing of Lists from Idris1 prelude. 2020-06-12 13:12:15 +01:00
Maybe.idr Add a total version of the fromMaybe 2020-05-21 02:11:35 +08:00
Morphisms.idr Add libraries 2020-05-18 14:00:08 +01:00
Nat.idr Fill in missing Nat proofs 2020-06-15 14:56:19 -05:00
Ref.idr Back to HasIO, remove MonadIO 2020-06-21 19:21:22 +01:00
So.idr various stdlib updates 2020-06-11 23:14:11 +02:00
Stream.idr Add libraries 2020-05-18 14:00:08 +01:00
Strings.idr All functions now need to be covering by default 2020-05-24 19:58:20 +01:00
Vect.idr Add libraries 2020-05-18 14:00:08 +01:00