F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
MIT License
Bot releases are hidden (Show)
ConditionalWeakTable
(by @chkn)Published by MangelMaxime 7 months ago
DateTime.Add
for DateTimeKind.Unspecified
(by @ncave)NaiveDateTime
usage in DateTime
(by @ncave)Boolean.tryParse
should not crash on null
string (@goswinr)Published by MangelMaxime 8 months ago
DateTime
and DateTimeOffset
(by @MangelMaxime)DateTime.ToString
custom format handling (by @MangelMaxime)CultureInfo.InvariantCulture
was used (Fable does not support Globalization).DateTime
constructor with microseconds (by @MangelMaxime)Date
does not support microseconds, we need to wait for Temporal
to be widely supported before reconsidering this.DateTime
custom format fffffff
and FFFFFFF
(by @MangelMaxime)Published by MangelMaxime 8 months ago
StringBuilder.Chars
(by @MangelMaxime)String.ToCharArray
(by @ncave)StringBuilder.Chars
, StringBuilder.Remove
and tests. (by @ncave)StringBuilder
support and tests. (by @ncave)StringBuilder
to remove allocations where possible. (by @ncave)StringBuilder
to remove allocations where possible. (by @ncave)StringBuilder.Remove
implementation. (by @ncave)StringBuilder.Remove
implementation. (by @ncave)Published by MangelMaxime 8 months ago
Published by MangelMaxime 8 months ago
fable-library-js
in Fable DLL (by @MangelMaxime)Published by MangelMaxime 8 months ago
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)Published by MangelMaxime 9 months ago
.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)Published by MangelMaxime 9 months ago
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)Published by MangelMaxime 10 months ago
Published by MangelMaxime 10 months ago
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.Published by MangelMaxime 11 months ago
.gitignore
file in the generated `fable_modules/`` folder (by @MangelMaxime)Published by MangelMaxime 11 months ago
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)Published by MangelMaxime 11 months ago
Any
type for all non-repeated generic arguments (by @dbrattli)Any
(by @dbrattli)_T | None
instead of Optional[_T]
(by @dbrattli)[<AttachMembers>]
not compatible with f# member this.Item
(by @ncave)Published by MangelMaxime 12 months ago
Published by MangelMaxime 12 months ago
Published by MangelMaxime almost 1 year ago
Async.StartChild
(by @dbrattli)Py.python
and Py.expr_python
(by @dbrattli)Decimal.Parse
, Double.Parse
, Int32.Parse
, Long.Parse
(by @ncave)BigInt.Parse
, DateOnly.Parse
, DateTime.Parse
, DateTimeOffset.Parse
, Decimal.Parse
, TimeOnly.Parse
(by @ncave)Double.Parse
, Int32.Parse
, Long.Parse
(by @ncave)Async.Parallel
(by @dbrattli)Published by MangelMaxime about 1 year ago
name '...' is not defined
(by @dbrattli)length: int
argument (by @dbrattli)Published by MangelMaxime about 1 year ago