Snippets tagged computation expression

  • Joint Life Annuity

    This Joint Life Annuity calculation relies on the objects and functions defined in Single Life Annuity. A joint life annuity calculates the present value of an annuity from current age to death of a member and another life (spouse). The implementation below uses the AgeVectorBuilder from the Single Life Annuity snippet in two examples: The first defines a simple Joint Life Annuity that assumes no age difference between the two lives. The second assumes an N year age difference. The samples both rely on a male mortality table (PMA92 (C=2003)) and a female mortality table (PFA92 (C=2003)) which are extracts of publicly available mortality tables (

    1 people like this

    Posted: 5 years ago by Kevin Roche

  • Async task computation expression

    Async task computation expression, in order to avoid Async.AwaitTask for C# interop

    3 people like this

    Posted: 2 years ago by cboudereau

  • ResultBuilder Computational Expression

    Computational Expression for Result<'a, 'b>

    3 people like this

    Posted: 2 months ago by Yuriy Habarov