Comments (4)
Confirmed to exist in the latest 6.1.2 bits, indeed.
from core.
@JaceEgMotivity @granicz Thanks for the report. Indeed. All F# operators should be translated via macro or trait call, otherwise they do not translate to custom operators as C# ones do...
I have reviewed https://github.com/dotnet-websharper/core/blob/master/src/stdlib/WebSharper.Main.Proxies/Operators.fs to make a full list here that will be updated, which only have Inline at the moment instead of a macro/trait call:
- binary
&&&
(op_BitwiseAnd
) - binary
>>>
(op_RightShift
) - binary
<<<
(op_LeftShift
) - binary
^^^
(op_ExclusiveOr
) - binary
|||
(op_BitwiseOr
) - unary
+
(op_UnaryPlus
) - unary
-
(op_UnaryNegation
) - unary
~~~
(op_LogicalNot
)
Also possibly, but at a lower priority: all the trigonometric and other math functions (e.g. ceil
translating to Ceiling
method call).
from core.
@JaceEgMotivity @granicz Hello, there is a new build that has fixes for all F# operators for which WebSharper proxy did not support overloading properly. https://github.com/dotnet-websharper/core/pkgs/nuget/WebSharper Currently on GH feed, but we will push to nuget if nothing else new comes up tomorrow
from core.
Released as https://github.com/dotnet-websharper/core/releases/tag/6.1.3.266
from core.
Related Issues (20)
- MathJs Round have no overload for decimal HOT 5
- Add an ILSpy-like tool for browsing WebSharper metadata
- Fix source maps for offline sitelets
- web worker bundle DCE-d incorrectly in an SPA project HOT 4
- Unable to build WebSharper.Sitelets HOT 1
- Unable to build Client-Server template (F#) in Ubuntu 22.04 (.NET 7 installed) HOT 11
- Make sure comparison operators treated properly on proxied types
- Add TryParse function for decimal
- WebSharper 7 syntax updates
- Offline sitelets (HTML project) link broken HOT 2
- Add RollForward=LatestMajor for WebSharper compiler to run with only .NET 7 runtime available
- DCE `is...` methods for interfaces HOT 1
- Make Runtime.js helpers proper WS functions
- More granular DCE around union cases
- Break up Runtime.js into a module in WS.Main
- Outputting JS from Library projects HOT 3
- Revisit outputting TypeScript declarations
- Failing to optimize HOT 3
- Trialing GraphBasedChecking with latest FCS HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.