We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No this function.
export declare const fromIOOption: <E>(onNone: Lazy<E>) => <A>(fa: Option<A>) => IOEither<E, A>
Add this function for sugar.
People who want to do IOO -> IOE to give an error message if it's O.none.
flow( getParamNonEmpty, IO.map(E.fromOption(() => 'error message when env no value')) )
fp-ts-std: getParamNonEmpty
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🚀 Feature request
Current Behavior
No this function.
Desired Behavior
Suggested Solution
Add this function for sugar.
Who does this impact? Who is this for?
People who want to do IOO -> IOE to give an error message if it's O.none.
Describe alternatives you've considered
Additional context
fp-ts-std: getParamNonEmpty
Your environment
The text was updated successfully, but these errors were encountered: