koka-lang / koka

Koka language compiler and interpreter
http://koka-lang.org
Other
3.16k stars 151 forks source link

Incorrect formatting of docstrings #546

Open chtenb opened 3 weeks ago

chtenb commented 3 weeks ago

I read this in the source code:

// Return a strong random integer in the range [-2^^31^^, 2^^31^^).
pub fun srandom-int() : ndet int
  srandom-int32().int

But this in the docs:

fun srandom-int(): ndet int
Return a strong random integer in the range [-2^31, 231^).