system


Package info
Description

A collection of system libraries for Clean.

Readme
# system This library provides basic functionality to interact with the OS. ## License The package is licensed under the BSD-2-Clause license; for details, see the [LICENSE](/LICENSE) file. The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of Radboud University Nijmegen.
Changelog
# Changelog ### 2.3.0 - Feature: add `System.Time.Gast` and `System.Time.GenPrint`. - Fix: wrong results of `toGmTime` and similar for `Timestamp`s out of the 32-bit range on 64-bit systems. #### 2.2.3 - Fix: prevent pipes left open when using `callProcessAndCollectOutput`. #### 2.2.2 - Fix: deadlock issue in `callProcessWithOutput` in case of output larger than pipe buffers. #### 2.2.1 - Chore: support base `3.0`. ### 2.2.0 - Feature: add json derives for `:: Tm`, `:: TimeStamp`, `:: Timespec` and `:: Clock`. ### 2.1.0 - Feature: add `instance == Tm`. - Fix: `gmTime` could provide wrong values (overwritten by consecutive calls), if the fields of `Tm` were evaluated after other calls. #### 2.0.2 - Chore: allow containers ^2. #### 2.0.1 - Chore: allow text ^2. ## 2.0.0 - Feature: add json derives for `:: FileError` to `System.File.GenJSON`. - Feature: add the derivation of `gPrint` for `:: FileError` to `System.File.GenPrint`. - Remove: `System.Time.Gast` module (it was moved to the gast package). ### 1.4.0 - Feature: Add Debug.Performance module containing functions to measure the time it takes to evaluate a function (ported from Clean Platform). ### 1.3.0 - Feature: Add G∀ST instances for `Timespec`. ### 1.2.0 - Feature: Add signal handling functions (imported from `clean-platform`). #### 1.1.4 - Fix: evaluate the result of formatMessageA used by _osErrorCodeToMessage for Windows and check for errors. #### 1.1.3 - Include missing object file in windows packaging. #### 1.1.2 - Fix lookupIPv4Address on windows. #### 1.1.1 - Document toInt and fromInt for `Network.IP.IPv4Address`. ### 1.1.0 - Add `lookupIPv4Address`. ## 1.0.0 - Initial version, import modules from clean platform v0.3.34 and destill all system modules. - Change the `toString` of `Timestamp` to print the integer value instead of pretty printing the date in the local timezone (as this is not pure). - Change `ReadPipe` and `WritePipe` to non-abstract newtypes.
Versions