Verse - Functions not visible in .digest but available in API & <intrinsic> <total>

o/

I was surprised to find that
Abs(Value:int):int
Abs(Value:float):float
are implemented in API, although not visible in .digest files

image
theres even an mention of it in the comment above^

Is there particular reason or it’s some issue of sort ?
If this is by design - is there a way other than manually browsing online API reference/stumble while using to discover those ?

Edit: user Ep8Script#8819 just enlightened me that Abs() and few other functions has two foreign for me effects:
<intrinsic>
<total>
image

I can not find descriptions of them in glossary/API, what do they do ?
<intrinsic> seems making it built into language, but would love to have from the “source” explanation.

Request: can we please consider adding functions usable in code being present in .digest files ? so these with those specifiers also. Naturally we browse code in the sources while working, having to go back to website to make sure something exists isn’t optimal.

Bumping as this is still relevant. Can you please list the intrinsic functions/types?

1 Like

Just wanted to add a running list of intrinsic functions:

(/Verse.org/Verse:)Abs<intrinsic>(Value:float)<converges>:float
(/Verse.org/Verse:)Abs<intrinsic>(Value:int)<converges>:int
(/Verse.org/Verse:)Ceil<intrinsic>(Value:rational)<converges>:int
(/Verse.org/Verse:)Floor<intrinsic>(Value:rational)<converges>:int

Edit: Correcting the decides context comment, I was dividing which is why there was decides context. That being said It would still be very nice to get a defined list of intrinsic functions somewhere. TY
PS. not qualified confirmed :joy:

Important to note that while Abs has the exact same specifiers as Ceil or Floor, Ceil and Floor both require decides context.

Epic… Please… I’m not qualified for this.

1 Like

I’ll forward this to the Verse devs.

2 Likes