Replies: 1 comment
-
Later versions of F# let you do this (from memory; caveat emptor): Builder()
|> _.WithA(...)
|> _.WithB(...)
|> _.Build() This is never going to be as pretty/ergonomic as functions would be, but it's considerably better than the fluent APIs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
would be greate to have a way to configure .NET aspnecore by default also for F# projects,
so as an alternative of builder pattern and derivatives and fluent extensions (OO way), just pseudocode here
also provide static methods from static classes constructing new objects and returning them as result
so that in F# it can be used as
Beta Was this translation helpful? Give feedback.
All reactions