This website requires JavaScript.
Explore
Help
Sign In
idris-lang
/
Idris2
Watch
1
Star
1
Fork
0
You've already forked Idris2
mirror of
https://github.com/idris-lang/Idris2.git
synced
2024-12-24 20:23:11 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
4799d289b8
Idris2
/
tests
/
base
/
data_string_lines001
/
run
4 lines
36 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add testing utilities script
2023-08-29 13:47:42 +03:00
. ../../testutils.sh
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 16:54:23 +03:00
Remove trivial testing input files
2023-08-29 19:02:01 +03:00
run Lines.idr
Reference in New Issue
Copy Permalink