Hacker News new | ask | show | jobs
by dvlsg 2669 days ago
Or just keep logging / requests out of the pure functions, and leave it to the context around them. You can always have the pure functions return a `Result` or `Either` type, if you need information about a failure to be logged.