Skip to content

Releases: logic-building/functional-go

Added functionality to take different combination of input type and output type for function map and filter for user defined data type

16 Feb 22:41
5cc3477
Compare
Choose a tag to compare

Map -> MapInt, MapStrInt ...
Filter -> FilterInt, FilterStrInt ...
FilterMap -> FilterMapInt, FilterMapIntStr ...
PMap -> PMapInt, PMapIntStr ...
Distinct
Drop
DropWhile
Every
Max
Min
MinMax
Range
Remove
Reduce
Rest
Some
TakeWhile

Auto generated functions for user defined data type for different combination of input and output
Map
Filter
FilterMap
Pmap
Reduce
Remove
Some
TakeWhile
DropWhile
Every
Rest

Renamed function Pmap -> PMap and added PMap for different combinations of input type and output type

10 Feb 18:18
71e1d0e
Compare
Choose a tag to compare

Map -> MapInt, MapStrInt ...
Filter -> FilterInt, FilterStrInt ...
FilterMap -> FilterMapInt, FilterMapIntStr ...
PMap -> PMapInt, PMapIntStr ...
Distinct
Drop
DropWhile
Every
Max
Min
MinMax
Range
Remove
Reduce
Rest
Some
TakeWhile

Auto generated functions for user defined data type
Map
Filter
FilterMap
Pmap
Reduce
Remove
Some
TakeWhile
DropWhile
Every
Rest

Fixed issue with Hops in Range function

04 Feb 19:30
4138842
Compare
Choose a tag to compare

Map
Filter
FilterMap
Pmap
Distinct
Drop
DropWhile
Every
Max
Min
MinMax
Range
Remove
Reduce
Rest
Some
TakeWhile
Auto generated functions for user defined data type

Map
Filter
FilterMap
Pmap
Reduce
Remove
Some
TakeWhile
DropWhile
Every
Rest

Fixed issue of not returning new slice by Distinct function.

02 Feb 01:49
f287722
Compare
Choose a tag to compare

Functions available for basic data types:

Map
Filter
FilterMap
Pmap
Distinct
Drop
DropWhile
Every
Max
Min
MinMax
Range
Remove
Reduce
Rest
Some
TakeWhile
Auto generated functions for user defined data type

Map
Filter
FilterMap
Pmap
Reduce
Remove
Some
TakeWhile
DropWhile
Every
Rest

Added function rest and reduce

28 Jan 15:59
dee0fd7
Compare
Choose a tag to compare

Functions available for basic data types:

  1. Map
  2. Filter
  3. FilterMap
  4. Pmap
  5. Distinct
  6. Drop
  7. DropWhile
  8. Every
  9. Max
  10. Min
  11. MinMax
  12. Range
  13. Remove
  14. Reduce
  15. Rest
  16. Some
  17. TakeWhile

Auto generated functions for user defined data type

  1. Map
  2. Filter
  3. FilterMap
  4. Pmap
  5. Reduce
  6. Remove
  7. Some
  8. TakeWhile
  9. DropWhile
  10. Every
  11. Rest

Most of the function's behavior is similar to Clojure Functions. This is a stable version.

23 Jan 23:38
e46a4bb
Compare
Choose a tag to compare

Added function: Exists.
Functions included in autogenerated code for user defined type -

  1. Map
  2. Filter
  3. Some
  4. Remove

Updated remove function as per Clojure and added functions DropWhile and TakeWhile

21 Jan 02:17
0a77964
Compare
Choose a tag to compare
Merge pull request #9 from logic-building/takewhile

Added function takewhile

Added functions : Range and MinMax and changed few functions signature

16 Jan 15:57
03f82bd
Compare
Choose a tag to compare
Merge pull request #5 from logic-building/MinMax

Added function MinMax

renamed package list-op -> fp

10 Jan 23:26
d7bbe14
Compare
Choose a tag to compare
Merge pull request #3 from logic-building/new-package-fp

renamed package list-op -> fp

Modified function name NewSetInt -> NewInt

31 Dec 23:38
6035757
Compare
Choose a tag to compare
Merge pull request #2 from logic-building/every-function

Added function-Every