Gabriella439 / Gabriella439/turtle

output always appends a newline

Open
#41 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
978
Forks
94
PR merge metrics
No merged PRs in 30d

Description

``` haskell
output "test" $ pure "foo"
```

gives a file with `"foo\n"` whereas

``` shell
echo -n "foo" > test
```

gives a file with `"foo"`, `>` doesn’t change the input.

This may be (was actually. :)) source of confusion. Of course it can be migitated by using `Text.writeFile`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.