-
-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Description
Current Spire has compose for Polynomial[A]:
(f.compose(g).compose(h))(x) // => process h, then g, then f; that's resultBut it has no andThen method for Polynomial.
In business context, People prefer more intuitive syntax ---- "Discount, then apply another discount, then add tax".
So implementing andThen alike function is reasonable choice for devs including newcomers.
Please tell me your opinions!
ColourGrey
Metadata
Metadata
Assignees
Labels
No labels