base-lib
Package info
-
Homepage
gitlab.com/clean-and-itasks/base/lib -
Latest version
2.8.0, 21 days ago -
Maintainer
TOP Software Technology -
License
BSD-2-Clause
Description
This library provides basic functionality concerning basic types and classes defined in StdEnv.
Readme
# base-lib
This library provides basic functionality concerning basic types and classes
defined in [StdEnv](https://gitlab.com/clean-and-itasks/base/stdenv). Also
generic classes corresponding to classes defined in
[StdEnv](https://gitlab.com/clean-and-itasks/base/stdenv) are provided.
`lib` is released in the `base-lib` package.
This package should normally not be used directly; instead, you should use `base`.
## Licence
The package is licensed under the BSD-2-Clause license; for details, see the
[LICENSE](/LICENSE) file.
Changelog
# Changelog
### 2.8.0
- Feature: add `<` instance for `:: Either`.
### 2.7.0
- Feature: add `Data.Generics` from clean platform v0.3.44.
- Feature: add `OBJECT` and `FIELD` constructors to `Data.Generics`.
### 2.6.0
- Feature: add `gLexOrd` for `:: Either`.
### 2.5.0
- Feature: add overloaded variants of the list functions `DeleteBy`, `Lookup`, `Union` and `UnionBy`.
#### 2.4.1
- Fix: `gLexOrd` derivation of `?`, `?^` and `?#` is now specialized such that it has the same behavior as `<`.
### 2.4.0
- Feature: add `==` instance for `:: Either`.
#### 2.3.2
- Fix: `<` instance for `?a`.
#### 2.3.1
- Fix: define `?None` as `gDefault` values for `?`, `?^` and `?#`.
### 2.3.0
- Feature: Remove uniqueness constraint on function that is applied unsafely by `accUnsafe` and `appUnsafe`.
- Feature: Add `<` instance for `?a`.
### 2.2.0
- Feature: `Data.List`: add `RemoveDupBy` for overloaded lists.
- Feature: `Data.List`: add `MaxListBy` for overloaded lists.
- Feature: `Data.List`: add `MinListBy` for overloaded lists.
### 2.1.0
- Feature: Add `System._Finalized` from `clean-platform`.
## 2.0.0
- Feature: Add `Either` type.
- Removed: Remove `MaybeT` (this is now in `category-theory` with the other transformers).
## 1.0.0
- Initial version, import modules from clean platform v0.3.34
- Add `concatArr`, `concatArr3`, `concatArr4`, `concatArr5`
- Add derives for maybe types
- Revert "add memcpyPointerToString/memcpyPointerToStringSt" as this introduced a dependency on c-code.
- Remove and/or rename functions from Data.List that exist in StdList under a different name:
| Data.List | StdList |
| ---------- | ------- |
| head | hd |
| tail | tl |
| product | prod |
| isnull | isEmpty |
| elem | isMember |
| scanl | scan |
| notElem→notMember | n.a. |
Versions
-
2.8.0 latest 21 days ago
Dependencies: base-stdenv ^1.0.0 || ^2.0.0.
-
2.7.0 latest 2.7 2 months ago
Dependencies: base-stdenv ^1.0.0 || ^2.0.0.
-
2.6.0 latest 2.6 3 months ago
Dependencies: base-stdenv ^1.0.0 || ^2.0.0.
-
2.5.0 latest 2.5 3 months ago
Dependencies: base-stdenv ^1.0.0 || ^2.0.0.
-
2.4.1 latest 2.4 3 months ago
Dependencies: base-stdenv ^1.0.0 || ^2.0.0.
-
2.4.0 4 months ago
Dependencies: base-stdenv ^1.0.0 || ^2.0.0.
-
2.3.2 latest 2.3 5 months ago
Dependencies: base-stdenv ^1.0.0 || ^2.0.0.
-
2.3.1 5 months ago
Dependencies: base-stdenv ^1.0.0 || ^2.0.0.
-
2.3.0 5 months ago
Dependencies: base-stdenv ^1.0.0 || ^2.0.0.
-
2.2.0 latest 2.2 9 months ago
Dependencies: base-stdenv ^1.0.0 || ^2.0.0.
-
2.1.0 latest 2.1 10 months ago
Dependencies: base-stdenv ^1.0.0 || ^2.0.0.
-
2.0.0 latest 2.0 10 months ago
Dependencies: base-stdenv ^1.0.0 || ^2.0.0.
-
1.0.0 latest 1.0 10 months ago
Dependencies: base-stdenv ^1.0.0 || ^2.0.0.