-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
Small thing, if wanting to some compile-time overhead. It also is a good deal faster for me at runtime
https://github.com/rescript-association/rescript-core/blob/main/src/Core__BigInt.res#L16
@scope("BigInt")
external toInt: (@as(32) _, bigint) => int = "asIntN"
Sure would be nice if we could bind a rescript external function to a js expression for the **
:
external exp: (t, t) => t = %rawExpression("%{1} ** %{2}")
Metadata
Metadata
Assignees
Labels
No labels