2021-08-13 19:14:20 +03:00
|
|
|
name: Base
|
|
|
|
namespace: Standard
|
2022-02-07 17:14:32 +03:00
|
|
|
version: 0.0.0-dev
|
2021-08-13 19:14:20 +03:00
|
|
|
license: APLv2
|
|
|
|
authors:
|
|
|
|
- name: Enso Team
|
|
|
|
email: contact@enso.org
|
|
|
|
maintainers:
|
|
|
|
- name: Enso Team
|
|
|
|
email: contact@enso.org
|
2022-04-14 16:12:18 +03:00
|
|
|
component-groups:
|
|
|
|
new:
|
|
|
|
- Input:
|
|
|
|
exports:
|
2022-11-25 05:00:16 +03:00
|
|
|
- Standard.Base.System.File.File.new
|
2022-12-20 13:33:46 +03:00
|
|
|
- Standard.Base.Data.read
|
|
|
|
- Standard.Base.Data.read_text
|
2022-11-25 05:00:16 +03:00
|
|
|
- Standard.Base.Data.list_directory
|
2022-04-14 16:12:18 +03:00
|
|
|
- Web:
|
|
|
|
exports:
|
2022-12-02 21:08:14 +03:00
|
|
|
- Standard.Base.Network.HTTP.HTTP.new
|
2022-12-20 13:33:46 +03:00
|
|
|
- Standard.Base.Data.fetch
|
2022-04-14 16:12:18 +03:00
|
|
|
- Parse:
|
|
|
|
exports:
|
2022-11-19 11:01:45 +03:00
|
|
|
- Standard.Base.Data.Json.Json.parse
|
2022-04-14 16:12:18 +03:00
|
|
|
- Standard.Base.Data.Text.Regex.compile
|
|
|
|
- Standard.Base.Data.Text.Regex.escape
|
|
|
|
- Select:
|
|
|
|
exports:
|
Align Vector API with design, add some extra functions from AoC (#4026)
**Vector**
- Adjusted `Vector.sort` to be `Vector.sort order on by`.
- Adjusted other sort to use `order` for direction argument.
- Added `insert`, `remove`, `index_of` and `last_index_of` to `Vector`.
- Added `start` and `if_missing` arguments to `find` on `Vector`, and adjusted default is `Not_Found` error.
- Added type checking to `+` on `Vector`.
- Altered `first`, `second` and `last` to error with `Index_Out_Of_Bounds` on `Vector`.
- Removed `sum`, `exists`, `head`, `init`, `tail`, `rest`, `append`, `prepend` from `Vector`.
**Pair**
- Added `last`, `any`, `all`, `contains`, `find`, `index_of`, `last_index_of`, `reverse`, `each`, `fold` and `reduce` to `Pair`.
- Added `get` to `Pair`.
**Range**
- Added `first`, `second`, `index_of`, `last_index_of`, `reverse` and `reduce` to `Range`.
- Added `at` and `get` to `Range`.
- Added `start` and `if_missing` arguments to `find` on `Range`.
- Simplified `last` and `length` of `Range`.
- Removed `exists` from `Range`.
**List**
- Added `second`, `find`, `index_of`, `last_index_of`, `reverse` and `reduce` to `Range`.
- Added `at` and `get` to `List`.
- Removed `exists` from `List`.
- Made `all` short-circuit if any fail on `List`.
- Altered `is_empty` to not compute the length of `List`.
- Altered `first`, `tail`, `head`, `init` and `last` to error with `Index_Out_Of_Bounds` on `List`.
**Others**
- Added `first`, `second`, `last`, `get` to `Text`.
- Added wrapper methods to the Random_Number_Generator so you can get random values more easily.
- Adjusted `Aggregate_Column` to operate on the first column by default.
- Added `contains_key` to `Map`.
- Added ALIAS to `row_count` and `order_by`.
2023-01-12 16:32:24 +03:00
|
|
|
- Standard.Base.Data.Vector.Vector.at
|
|
|
|
- Standard.Base.Data.Vector.Vector.get
|
2022-04-14 16:12:18 +03:00
|
|
|
- Standard.Base.Data.Vector.Vector.filter
|
|
|
|
- Standard.Base.Data.Vector.Vector.find
|
|
|
|
- Standard.Base.Data.Vector.Vector.take
|
Align Vector API with design, add some extra functions from AoC (#4026)
**Vector**
- Adjusted `Vector.sort` to be `Vector.sort order on by`.
- Adjusted other sort to use `order` for direction argument.
- Added `insert`, `remove`, `index_of` and `last_index_of` to `Vector`.
- Added `start` and `if_missing` arguments to `find` on `Vector`, and adjusted default is `Not_Found` error.
- Added type checking to `+` on `Vector`.
- Altered `first`, `second` and `last` to error with `Index_Out_Of_Bounds` on `Vector`.
- Removed `sum`, `exists`, `head`, `init`, `tail`, `rest`, `append`, `prepend` from `Vector`.
**Pair**
- Added `last`, `any`, `all`, `contains`, `find`, `index_of`, `last_index_of`, `reverse`, `each`, `fold` and `reduce` to `Pair`.
- Added `get` to `Pair`.
**Range**
- Added `first`, `second`, `index_of`, `last_index_of`, `reverse` and `reduce` to `Range`.
- Added `at` and `get` to `Range`.
- Added `start` and `if_missing` arguments to `find` on `Range`.
- Simplified `last` and `length` of `Range`.
- Removed `exists` from `Range`.
**List**
- Added `second`, `find`, `index_of`, `last_index_of`, `reverse` and `reduce` to `Range`.
- Added `at` and `get` to `List`.
- Removed `exists` from `List`.
- Made `all` short-circuit if any fail on `List`.
- Altered `is_empty` to not compute the length of `List`.
- Altered `first`, `tail`, `head`, `init` and `last` to error with `Index_Out_Of_Bounds` on `List`.
**Others**
- Added `first`, `second`, `last`, `get` to `Text`.
- Added wrapper methods to the Random_Number_Generator so you can get random values more easily.
- Adjusted `Aggregate_Column` to operate on the first column by default.
- Added `contains_key` to `Map`.
- Added ALIAS to `row_count` and `order_by`.
2023-01-12 16:32:24 +03:00
|
|
|
- Standard.Base.Data.Vector.Vector.drop
|
2022-04-14 16:12:18 +03:00
|
|
|
- Standard.Base.Data.Vector.Vector.partition
|
|
|
|
- Standard.Base.Data.Vector.Vector.distinct
|
|
|
|
- Join:
|
|
|
|
exports:
|
|
|
|
- Standard.Base.Data.Vector.Vector.zip
|
|
|
|
- Transform:
|
|
|
|
exports:
|
Align Vector API with design, add some extra functions from AoC (#4026)
**Vector**
- Adjusted `Vector.sort` to be `Vector.sort order on by`.
- Adjusted other sort to use `order` for direction argument.
- Added `insert`, `remove`, `index_of` and `last_index_of` to `Vector`.
- Added `start` and `if_missing` arguments to `find` on `Vector`, and adjusted default is `Not_Found` error.
- Added type checking to `+` on `Vector`.
- Altered `first`, `second` and `last` to error with `Index_Out_Of_Bounds` on `Vector`.
- Removed `sum`, `exists`, `head`, `init`, `tail`, `rest`, `append`, `prepend` from `Vector`.
**Pair**
- Added `last`, `any`, `all`, `contains`, `find`, `index_of`, `last_index_of`, `reverse`, `each`, `fold` and `reduce` to `Pair`.
- Added `get` to `Pair`.
**Range**
- Added `first`, `second`, `index_of`, `last_index_of`, `reverse` and `reduce` to `Range`.
- Added `at` and `get` to `Range`.
- Added `start` and `if_missing` arguments to `find` on `Range`.
- Simplified `last` and `length` of `Range`.
- Removed `exists` from `Range`.
**List**
- Added `second`, `find`, `index_of`, `last_index_of`, `reverse` and `reduce` to `Range`.
- Added `at` and `get` to `List`.
- Removed `exists` from `List`.
- Made `all` short-circuit if any fail on `List`.
- Altered `is_empty` to not compute the length of `List`.
- Altered `first`, `tail`, `head`, `init` and `last` to error with `Index_Out_Of_Bounds` on `List`.
**Others**
- Added `first`, `second`, `last`, `get` to `Text`.
- Added wrapper methods to the Random_Number_Generator so you can get random values more easily.
- Adjusted `Aggregate_Column` to operate on the first column by default.
- Added `contains_key` to `Map`.
- Added ALIAS to `row_count` and `order_by`.
2023-01-12 16:32:24 +03:00
|
|
|
- Standard.Base.Data.Vector.Vector.insert
|
|
|
|
- Standard.Base.Data.Vector.Vector.remove
|
2022-04-14 16:12:18 +03:00
|
|
|
- Standard.Base.Data.Vector.Vector.map
|
|
|
|
- Standard.Base.Data.Vector.Vector.sort
|
|
|
|
- Standard.Base.Data.Vector.Vector.distinct
|
|
|
|
- Output:
|
|
|
|
exports:
|
2022-06-13 12:11:46 +03:00
|
|
|
- Standard.Base.Data.Text.Text.write
|