Skip to content

Refactor: use Prelude.transform/cotransform helpers#1546

Open
HernanFAR wants to merge 1 commit into
louthy:mainfrom
HernanFAR:feat/Natural-CoNatural-Preludes
Open

Refactor: use Prelude.transform/cotransform helpers#1546
HernanFAR wants to merge 1 commit into
louthy:mainfrom
HernanFAR:feat/Natural-CoNatural-Preludes

Conversation

@HernanFAR

Copy link
Copy Markdown
Contributor

Replaced direct calls to Natural.transform and CoNatural.transform with Prelude.transform and Prelude.cotransform across the codebase. Added new Prelude static classes to centralize and simplify transformation logic, improving code clarity and maintainability.

This is because LanguageExt.Prelude fields and methods are used throght using static LanguageExt.Prelude, so transform and cotransform methods facilitates use of Natural/CoNatural traits

Replaced direct calls to Natural.transform and CoNatural.transform with Prelude.transform and Prelude.cotransform across the codebase. Added new Prelude static classes to centralize and simplify transformation logic, improving code clarity and maintainability.

This is because LanguageExt.Prelude fields and methods are used throght using static LanguageExt.Prelude, so transform and cotransform methods facilitates use of Natural/CoNatural traits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant