-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Seq.sum
returns incorrect result for types that define the get_Zero
operator
#1284
Comments
@Jand42 - awesome, thank you! |
These are the Functions using comparisons (sorts) are already working well enough as the actual comparison is handled by a helper that checks for all cases. Similar idea could be implemented for required operations here. Possibly with fallback to a flat simple implementation with direct operator uses, for runtime performance. |
@cata This is in GH build 6.0.5.244 right now. Primitive numeral types still default to a function call that uses plain JS operators inside, but any other type compile to an inline that uses the type's defined Breaking change: you should now use |
@Jand42 - super, you guys are awesome! |
Please see this Try WebSharper snippet for the repro.
The text was updated successfully, but these errors were encountered: