Commit Graph

22 Commits

Author SHA1 Message Date
Kyle Ratti
b6f2ef3aa6
feat: add Maybe.TryParse 2024-05-03 00:27:31 -04:00
Kyle Ratti
b07f31f75f
test: achieve 100% coverage of Maybe 2024-04-30 14:17:54 -04:00
Kyle Ratti
69d582c0ed
BREAKING CHANGE: feat: use 'is empty' instead of 'has value' 2024-04-30 13:36:31 -04:00
Kyle Ratti
479b30b60a
BREAKING CHANGE: chore: rename Maybe.Just to Maybe.Create
This was a bad AI suggestion and I regret the decision.
2024-04-30 13:18:51 -04:00
Kyle Ratti
68f527ec99
BREAKING CHANGE: feat: use record struct 2024-04-30 13:17:02 -04:00
Kyle Ratti
a56a4ff5f2
fix: handle nullable value types in Maybe.Cast 2024-02-07 20:59:00 -05:00
Kyle Ratti
8e007975f6
feat: Maybe<T>.EmptyBind 2023-12-25 14:38:01 -05:00
Kyle Ratti
de8d2f393c
feat: IEnumerable<T>.ConditionalAppend(Maybe<T>) 2023-12-24 22:35:59 -05:00
Kyle Ratti
572c365725
feat: T?.AsMaybe() for reference types 2023-12-24 21:11:25 -05:00
Kyle Ratti
b958542534
fix: rename IDictionary.TryGet to TryGetValue
This resolves ambiguous invocation errors
2023-12-19 21:48:10 -05:00
Kyle Ratti
ef3a54eae7
fix: use correct signature on bind 2023-12-17 13:47:16 -05:00
Kyle Ratti
1b15162ba5
feat: add IDictionary.TryGet to return Maybe<T> 2023-08-02 20:26:12 -04:00
Kyle Ratti
5a2bd690f7
fix: remove duplicate Choose extension 2023-08-02 20:24:12 -04:00
Kyle Ratti
35cc366856
feat: add Result.FailureVal and Result.SuccessVal 2023-08-01 22:55:34 -04:00
Kyle Ratti
0e7e161327
1.3.0 2023-08-01 22:32:23 -04:00
Kyle Ratti
dafaae0fab
feat: add IEnumerable<T>.Choose for Maybe 2022-12-23 12:41:53 -05:00
Kyle Ratti
3aab47e9c6
chore: dual-target Base to .NET Standard 2.0 2022-12-23 12:38:57 -05:00
Kyle Ratti
5981dd081d
fix: correct implementation of FirstOrEmpty 2022-09-23 21:08:48 -04:00
Kyle Ratti
cdcfd671f0
feat: add OneOf 2022-09-23 21:08:25 -04:00
Kyle Ratti
e12137b302
feat: move FSharp stuff into FsBase
This drops the FSharp.Core dependency on FruityFoundation.Base
2022-03-31 20:35:36 -04:00
Kyle Ratti
224b3eb4a3
chore: rename base to FruityFoundation 2022-02-24 19:25:28 -05:00
Kyle Ratti
18d2e1616b
v1.0 2022-02-13 11:59:47 -05:00