Idris2/libs/base
Stepan Koltsov ce44d3b50a
Change semantics of lines and unlines function to match Haskell and other languages (#1585)
* Add trailing newline on non-empty list in unlines

There are several reasons to do that:
* a line in a text file is something which ends with newline,
  and the last line is not special
* `unlines []` should be different from `unlines [""]`
* `unlines (a ++ b) = unlines a ++ unlines b`
* Haskell does it

* Change lines function behaviour
2021-07-17 14:54:23 +01:00
..
Control Export throw and catch again in App 2021-07-16 11:42:24 +01:00
Data Change semantics of lines and unlines function to match Haskell and other languages (#1585) 2021-07-17 14:54:23 +01:00
Debug Add totality annotations to src and libs/{prelude, base} 2021-06-12 21:06:08 -05:00
Decidable Use Not instead of -> Void (#1667) 2021-07-13 15:32:01 +01:00
Language [ fix ] Name in Language.Reflection.TT 2021-07-16 20:05:49 +01:00
System System.Errno.strerror 2021-07-13 10:34:04 +01:00
base.ipkg System.Errno.strerror 2021-07-13 10:34:04 +01:00
Makefile [ new ] --install-with-src; refactoring around FCs (#1450) 2021-06-05 12:53:22 +01:00
System.idr Merge pull request #1638 from stepancheg/idris2-time 2021-07-16 09:40:08 +01:00