You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users would not be able to reference N directly as a value within foo since N is considered to be a type.
Proposed solution
Add N to the value scope as well and allow it to be referenced. During monomorphisation the value will be substituted with the numeric constant required by the caller as normal.
Alternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Problem
Currently, given a function like
Users would not be able to reference
N
directly as a value withinfoo
sinceN
is considered to be a type.Proposed solution
Add
N
to the value scope as well and allow it to be referenced. During monomorphisation the value will be substituted with the numeric constant required by the caller as normal.Alternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: