Joseph Price

Results 162 issues of Joseph Price

### Description When comparing two references to a nullary union case for physical equality, they are considered identical in fsc, but distinct in fable. Checking the generated code, this seems...

In js, I have made use of the `fromValue` as a form of "runtime type validation" similar to how zod is used in ts using anonymous records. I found that...

I'm trying out switching to from `Thoth.Json` to `Thoth.Json.Core`, and found that the generated js references the method `Thoth_Json_Core_Decode_object`, without a corresponding import. It seems to me that something odd...

When decoding a union annotated with `StringEnum` with `Decode.Auto.generateDecoder`, the generated decoder is simply parsing a `string`, so it does not fail on unknown enum cases. Trying to work around...

While analyzing a sentene, when an unknown word is encountered, an empty parse array appears after it. For example: ```python text = "Mahjong oynamayı biliyor musun?" analyzer = zeyrek.MorphAnalyzer() analyzer.analyze(text)...

When using Fable.Mocha with jsdom and viteest (by setting the `// @vitest-environment jsdom` magic comment), the output ends up being formatted as html due the `Env.insideBrowser` check. It would be...

URLSearchParams allows creating an instance from an object or an iterable of key value pairs: https://nodejs.org/api/url.html#new-urlsearchparamsobj. The current implementation only supports a string https://github.com/fable-compiler/fable-node/blob/939b4e012473ddda3bc97d92814db95a3fd3ebc6/src/Url.fs#L22-L25.

It would be convenient to be able to iterate over a sequence to generate commands, for example ```fsharp for src, dest in [ "file-1", "b"; "file-2", "b" ] do yield!...

### Description When a record is augmented with an `static member` or a `static let`, extra constructor parameters are generated for each, but the constructor call does not provide these...

### Description Creating a top-level binding to a `Global` value with the same name causes a reference error ``` Uncaught ReferenceError: Cannot access 'self' before initialization ``` ### Repro code...