Gabriella439 / Gabriella439/turtle

Functions like `output` are partial with no documentation

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

Description

When I try to write to a file where the directory doesn’t exist it crashes at runtime.

It would be nice if
a) either the possible IOExceptions are documented or
b) it returned a `Maybe` or `Either` or even
c) it can be type-checked whether the system knows if this folder can exist (which probably is a silly idea)

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no file or test; start by locating the implementation and documentation for `output`, then reproduce the failure when its directory is missing. Review existing error-handling conventions before determining whether to document the possible IOException or change the API, and confirm the chosen behavior with relevant checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.