1.3 KiB
v1.6.x - yyyy-mm-dd
Standard library additions and changes
-
preludenow works with the JavaScript target. -
Added
ioutilsmodule containingduplicateandduplicateToto duplicateFileHandleusing C functiondupanddup2. -
The JSON module can now handle integer literals and floating point literals of arbitrary length and precision. Numbers that do not fit the underlying
BiggestIntorBiggestFloatfields are kept as string literals and one can use external BigNum libraries to handle these. TheparseFloatfamily of functions also has now optionalrawIntegersandrawFloatsparameters that can be used to enforce that all integer or float literals remain in the "raw" string form so that client code can easily treat small and large numbers uniformly. -
Added
randStatetemplate that exposes the default random number generator. Useful for library authors. -
Added
asyncdispatch.activeDescriptorsthat returns the number of currently active async event handles/file descriptors -
Added
asyncdispatch.maxDescriptorsthat returns the maximum number of active async event handles/file descriptors.
Language changes
- The
cstringdoesn't support[]=operator in JS backend.