F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
Result
API (by @zprobinson)
Result.isOk
Result.isError
Result.Contains
Result.Count
Result.DefaultValue
Result.DefaultWith
Result.Exists
Result.Fold
Result.FoldBack
Result.ForAll
Result.Iterate
Result.ToArray
Result.ToList
Result.ToOption
--test:MSBuildCracker
flag allowing to use the experimental MSBuildCracker (by @nojaf)ListCollector
(by @nojaf)
instance.Add
instance.AddMany
instance.AddManyAndClose
instance.Close
fable-library
to fable-library-js
(by @MangelMaxime)Choice.d.ts
from source code of fable-library
(by @MangelMaxime)Choice.d.ts
from source code of fable-library
(by @MangelMaxime)assert
expressions in debug mode (by @dbrattli)--verbose
to be consistent with behaviour before changing the logging library (by @nojaf).fsproj
after evaluating the fable-temp.csproj
file (Improves IDE supports) (by @MangelMaxime)fable_modules
when re-evaluating the project file after a changes has been detected (Improves HMR experience) (by @MangelMaxime)--version
to work (by @MangelMaxime)GH-3663 Complete rewrite of DateTime
supports (by @MangelMaxime)
Special thanks to @dbrattli and @ncave for their help
(year, month, day)
up to (year, month, day, hour, minute, second, millisecond, microsecond)
(with and without DateTimeKind
)ticks
(with and without DateTimeKind
)dt.Year
dt.Month
dt.Day
dt.Hour
dt.Minute
dt.Second
dt.Millisecond
dt.Microsecond
dt.ToUniversalTime
dt.DayOfWeek
dt.DayOfYear
dt.ToShortDateString
dt.ToShortTimeString
dt.ToLongDateString
dt.ToLongTimeString
dt.ToString
dt.ToLocalTime
dt.Date
dt.AddYears
dt.AddMonths
dt.AddDays
dt.AddHours
dt.AddMinutes
dt.AddSeconds
dt.AddMilliseconds
dt.AddMicroseconds
dt.Kind
DateTime.Today
DateTime.Now
DateTime.Now
DateTime.UtcNow
DateTime.MinValue
DateTime.MaxValue
DateTime.Parse
DateTime.TryParse
DateTime.SpecifyKind
Microsoft.Extensions.Logging
(by @nojaf)csproj
with .fable-temp.csproj
and include a comment in the file (by @MangelMaxime)DateTime.DayOfWeek
(by @MangelMaxime).gitignore
file in the generated fable_modules/
folder (by @MangelMaxime)fable_modules
after changing the project file in watch mode (by @OrfeasZ)DateTime
and TimeSpan
addition (by @dbrattli)DateTime.Parse
and DateTime.TryParse
(by @MangelMaxime)DateTime.Parse
when providing a 1 digit hour for PM times (3:5:34 PM
) (by @MangelMaxime)self
arg capture in methods (by @ncave)TimeSpan.Parse
and TimeSpan.TryParse
support to Python (by @MangelMaxime)List.sortBy
(by @dbrattli)Array.sort
and Array.sortDescending
(by @dbrattli)string.IndexOfAny
(by @pkese)string.IndexOfAny
(by @pkese)static
members always require static member
, disregarding FCS from F# v7.0 and early v8.0 supported dismissing the member
keyword..gitignore
file in the generated `fable_modules/`` folder (by @MangelMaxime)DateTime(..., DateTimeKind.Utc).ToString("O")
(by @MangelMaxime)Guid.TryParse
, Guid.ToByteArray
(by @ncave)DateTime(..., DateTimeKind.Local).ToString("O")
(by @MangelMaxime)value.ToString(CultureInfo.InvariantCulture)
(by @MangelMaxime)time_span.py
allowing for better precision by using a number representation intead of native timedelta
. (by @MangelMaxime)