Skip to content

Releases: sopherapps/funml

FunML v0.3.8

23 Feb 13:38
Compare
Choose a tag to compare

Added

  • Expose the Record type on the root funml package

FunML v0.3.7

23 Feb 13:38
Compare
Choose a tag to compare

Added

  • Add to_dict to convert a record into a dictionary

FunML v0.3.6

23 Feb 13:37
Compare
Choose a tag to compare

Changed

  • Records can have fields with subscripted builtin types like list[str] thanks to from __future__ import annotations.
  • Records can define default values

FunML v0.3.5

23 Feb 13:37
Compare
Choose a tag to compare

Changed

  • Remove typings of Expression, Pipeline and Operation.

FunML v0.3.4

10 Feb 12:53
Compare
Choose a tag to compare

Changed

  • Changed typings of Expression, Pipeline and Operation to be subscriptable like Callable is.

FunML v0.3.3

09 Feb 11:33
cb2d04f
Compare
Choose a tag to compare

Added

  • Add ability to curry functions i.e. transform functions with multiple args into functions with fewer args

FunML v0.3.2

08 Feb 16:57
Compare
Choose a tag to compare

Changed

  • Signature of __rshift__ for Pipeline and Expression returns either a Pipeline or Any result of executing the
    pipeline.

FunML v0.3.1

08 Feb 16:56
Compare
Choose a tag to compare

Added

  • Added AsyncPipeline to handle the pipelines that have asynchronous routines

FunML v0.3.0

30 Jan 14:40
bdfdc2a
Compare
Choose a tag to compare

Added

  • Added Pipeline's to move all piping to them

Changed

  • Removed Context
  • Removed let and Assignment's as these had side effects

Fixed

  • Made expressions pure to avoid unexpected outcomes.

FunML v0.2.0

28 Jan 12:35
f22b788
Compare
Choose a tag to compare

Added

  • Result helpers: if_ok, if_err, is_ok, is_err.
  • Option helpers: if_some, if_none, is_some, is_none.
  • Sequence helpers: imap, ifilter, ireduce.
  • Pipeline helper: funml.execute().

Changed

  • Changed creation of records to use classes decorated with record
  • Changed creation of enums to use classes subclassed from funml.Enum
  • Removed map and filter methods of IList

Fixed

  • Fixed equality check of Result.ERR as originally Result.ERR(TypeError()) was not equal to Result.ERR(TypeError()).