Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Allow function interface declaration #10

Open
WilliamRagstad opened this issue Jan 30, 2022 · 0 comments
Open

Allow function interface declaration #10

WilliamRagstad opened this issue Jan 30, 2022 · 0 comments
Labels
∆ feature New feature suggestion

Comments

@WilliamRagstad
Copy link
Member

Languages like Haskell allows functions to define a interface before the implementation.
This is something that would be useful for longer function declarations.

Real f(double k, double m, double x); # Like this?
f = k * x + m

Do some more research before implementing anything like this.

@WilliamRagstad WilliamRagstad added ↻ breaking Suggestions or fixes that are breaking changes in some way. • enhancement New feature or request ∆ feature New feature suggestion and removed • enhancement New feature or request ↻ breaking Suggestions or fixes that are breaking changes in some way. labels Jan 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
∆ feature New feature suggestion
Projects
None yet
Development

No branches or pull requests

1 participant