turtle icon indicating copy to clipboard operation
turtle copied to clipboard

Shell programming, Haskell style

Results 45 turtle issues
Sort by recently updated
recently updated
newest added

After running a script using "inplace", I appear to lose a newline character from the end of the file. Running on Windows subsystem for Linux, Nix, unknown version of Turtle...

As a beginner, I was confused about how streams were used. This is some extra documentation and example that others might find useful.

I have the following code ```haskell prog1 :: Shell () prog1 = do echo "prog1" catch ( do echo "will be catched" pure ()) (\(_ :: SomeException) -> do echo...

Would it be possible to get a new release? Seems like the last one was three years ago: https://github.com/Gabriel439/turtle/releases/tag/1.5.14

So I did `stack install turtle` and hello world examples work, but I'm not getting autocompletes from haskell-language-server (on vscode with the haskell plugin), I'm guessing that's because the package...

I find myself doing `fromJust . filter isJust . fmap f`, where `f :: a -> Maybe b`. Is it possible to have a `mapMaybe`-like function for this to avoid...

Resolves #354. Probably needs a better name, should avoid partial functions, and needs verification if bang patterns are needed, especially on `stream`.

The starting point was a similar issue from the one raised in #209. Compared to the solution proposed in the thread, I'd prefer to go for a whole set of...