Idris2/libs/contrib
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 [ refactor ] Remove Data.Strings module (#1607) 2021-06-28 13:48:37 +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 [ cleanup ] Test.Golden (#1526) 2021-06-21 17:30:11 +01:00
Decidable Define and implement Relation interfaces (#1472) 2021-07-09 09:06:27 +01:00
Language [ refactor ] Remove Data.Strings module (#1607) 2021-06-28 13:48:37 +01:00
Search [ new ] Proof search from 'Applications of Applicative Proof Search' (#1093) 2021-03-01 08:29:43 +00:00
Syntax Define and implement Relation interfaces (#1472) 2021-07-09 09:06:27 +01:00
System Change semantics of lines and unlines function to match Haskell and other languages (#1585) 2021-07-17 14:54:23 +01:00
Test Add a test package to the Idris 2 project (#1162) 2021-03-09 18:27:05 +00:00
Text Change semantics of lines and unlines function to match Haskell and other languages (#1585) 2021-07-17 14:54:23 +01:00
contrib.ipkg Define and implement Relation interfaces (#1472) 2021-07-09 09:06:27 +01:00
Makefile [ new ] --install-with-src; refactoring around FCs (#1450) 2021-06-05 12:53:22 +01:00