-
Notifications
You must be signed in to change notification settings - Fork 185
[Feedback] Why not use merge
but create another optval
?
#448
New issue
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
Comments
This fails with at least one compiler ( |
Does stdlib actually compile and run with |
I have tried compiling it a few times because I'm using There is hope that Related issue: #107 |
In the situation I encountered today, This round, |
On a related topic, conditional expression syntax was accepted today for F202X (hopefully F2023). You will then be able to do
Syntax paper here. |
At this stage, we can use both the |
(From https://github.com/fortran-lang/stdlib/pull/480/files#r682911486)
The use of |
Description
merge
is a standard function ofFortran
that has been implemented, butstdlib
has created a generic functionoptval
(optval
has a more fixed scope). I think the two functions overlap, and I think it may bestdlib
's obligation to use the standard function.(See 202X feature: Conditional Expressions)
Prior Art
The text was updated successfully, but these errors were encountered: