Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Generic Map (Apply) #8

Closed
sghaida opened this issue Apr 19, 2020 · 0 comments · Fixed by #1
Closed

Add Generic Map (Apply) #8

sghaida opened this issue Apr 19, 2020 · 0 comments · Fixed by #1
Assignees
Labels
enhancement New feature or request
Projects

Comments

@sghaida
Copy link
Owner

sghaida commented Apr 19, 2020

definition
Map[A](f: A => B, list: Container[A]): Container[B]

solution.
it would be nice to have a mapping function for any primitive or complex type, which is generic enough to take any data type using some constructor that lifts any type to MapType where A => F[A], and f (A => B) has to apply Transformation for every A inside to produce F[B]

@sghaida sghaida added the enhancement New feature or request label Apr 19, 2020
@sghaida sghaida self-assigned this Apr 19, 2020
@sghaida sghaida added this to To do in FP via automation Apr 19, 2020
@sghaida sghaida moved this from To do to Done in FP Apr 19, 2020
@sghaida sghaida linked a pull request Apr 19, 2020 that will close this issue
@sghaida sghaida closed this as completed Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
FP
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant