roboz0r

Results 9 issues of roboz0r

After much fiddling I finally have a working proof of concept in F#. I wanted to share the code here to save the next person the headache. It would be...

docs

The current implementation of [Controller.file](https://github.com/SaturnFramework/Saturn/blob/b06fe74eff2c215084e582e8de19d59160c6afa1/src/Saturn/ControllerHelpers.fs#L45) only works for html files as the called Giraffe code sets the ContentType: [here](https://github.com/giraffe-fsharp/Giraffe/blob/e02cc991140cf3048bbe274213dd8bd732f441b8/src/Giraffe/HttpContextExtensions.fs#L417) `ctx.SetContentType "text/html; charset=utf-8"` Different typed files e.g. css will not work...

bug

I have copied the schema from https://docs.microsoft.com/en-us/openspecs/office_standards/ms-customui/5f3e35d6-70d6-47ee-9e11-f5499559f93a into a file and used the following code to access: [] let RibbonXSDPath = @"C:\Projects\Ribbon CustomUI.xsd" type RibbonBuilder = XmlProvider An error is...

I am building a tool to enable F# scripting within a native windows application. I've run into an issue with the ability to use `#r nuget` directives. I have two...

Bug
Area-DependencyManager

### Description Suggestion to auto-generate implicit conversion operator for DU's with a `StringEnum` ### Repro code ```fsharp [] type MyType = | MyString with static member inline op_Implicit (x: MyType...

## Motivation Along the same lines as [Merge fields of the same type on multi-case union structs](https://github.com/fsharp/fslang-suggestions/issues/699) and [More stack-efficient struct DUs](https://github.com/fsharp/fslang-suggestions/issues/1311) it is desirable to represent struct unions with...

**Is your feature request related to a problem? Please describe.** In writing a type extension without remembering the typical syntax I arrived at something like: ```fs type Id = Id...

Feature Request

## Description Creates a new `Units` type to meet some of the goals in https://github.com/fsharp/fslang-suggestions/issues/892 - https://github.com/fsharp/fslang-design/pull/784 The type adds `Units.Add`, `Units.Remove`, and `Units.Cast` methods for supported primitive types to...

Click “Files changed” → “⋯” → “View file” for the rendered RFC. - https://github.com/dotnet/fsharp/pull/17518