Skip to content

Conversation

@gusty
Copy link
Member

@gusty gusty commented Feb 19, 2021

By adding a type parameter to the builders and using it as much as possible in non-constrained methods we can sort of define specialized builders, like:

let task<'t> = monad'<System.Threading.Tasks.Task<'t>>

Type inference won't be worst, it's yet to be proven a slight improve by finding an actual case, but worst case scenario doing:

let x = task { ... }

will be the same as doing

let x: Task<_> = monad' { ... }

@gusty gusty merged commit 5cdb7c7 into master Feb 20, 2021
@gusty gusty mentioned this pull request Feb 25, 2021
@gusty gusty deleted the gusty-special-ce branch June 3, 2021 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants