3.4.1 • Published 2 years ago

@ahanapediatrics/ahana-fp v3.4.1

Weekly downloads
435
License
MIT
Repository
github
Last release
2 years ago

Ahana FP

FOSSA Status

This package contains a series of "FP-friendly" classes for use in your code.

What is "FP-friendly"?

An “FP-friendly’ object can be defined as an instance of the class with immutable internal property and a set of methods that are all ‘pure’ with the caveat that they are able to read internal fields without treating that as a side effect?

Put another way, in a purely FP language, the set of functions F that can operate on a type T can be reasonably modeled in a hybrid or OO language as a class T, where each of the functions in F becomes a method on the class T, with the initial parameter of each function being replaced by an internal property of T.

Says who?

Well, me. I don't think this definition should cause anyone by the most hardened purist any real concern.

Implementing these in a purely FP style would still result in the functions being packaged someway, probably in some kind of namespace. This is just another way to manage this.

Releasing a new version

If you're able to release new version, you should do:

npm run release
git push && git push --tags

License

FOSSA Status

3.4.1

2 years ago

3.4.0

3 years ago

3.3.0

3 years ago

3.1.2

3 years ago

3.0.3

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.2

3 years ago

2.6.0

3 years ago

2.5.1

3 years ago

2.5.0

3 years ago

2.4.0

4 years ago

2.3.3

4 years ago

2.3.0

4 years ago

2.3.1

4 years ago

2.2.4

4 years ago

2.2.3

4 years ago

2.2.2

4 years ago

2.2.1

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

2.0.0

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.0

4 years ago