1
1
mirror of https://github.com/idris-lang/Idris2.git synced 2024-12-22 19:21:39 +03:00
Idris2/libs/prelude
Edwin Brady 4ae01d7264 %default doesn't affect interface methods
The required totality of interface methods is now only affected if
there's an explicit modifier on the method. This allows us to set
%default total on the Prelude, which is a good thing to do anyway,
without also requiring that every implementation of the interface in the
prelude has to be total, which would potentially be a pain.

Another good affect is that it speeds up totality checking elsewhere
because totality checking is done lazily, and so with the total flag set
we know in advance that prelude functions are total.
2020-05-28 15:52:03 +01:00
..
Builtin.idr More fine-grained assert_total in unpack 2020-05-24 19:13:24 +01:00
Makefile Refactor makefiles 2020-05-19 18:50:47 +06:00
Prelude.idr %default doesn't affect interface methods 2020-05-28 15:52:03 +01:00
prelude.ipkg Add libraries 2020-05-18 14:00:08 +01:00
PrimIO.idr Add libraries 2020-05-18 14:00:08 +01:00