SwensenSoftware / unquote

Write F# unit test assertions as quoted expressions, get step-by-step failure messages for free
http://www.swensensoftware.com/unquote
Apache License 2.0
285 stars 26 forks source link

Improve support of standard operators #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Expand support, e.g. op_IntegerAddressOf. see 
http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/manual/spec.htm
l#_Toc270597399 for full list (MSDN is incomplete or wrong). Note that this is 
different than Issue 1.

Original issue reported on code.google.com by stephen....@gmail.com on 23 Apr 2012 at 1:59

GoogleCodeExporter commented 9 years ago
do note that range operators are bonafide 
http://stackoverflow.com/questions/8852776/f-operator-usage-overloading

Original comment by stephen....@gmail.com on 29 Apr 2012 at 4:43

GoogleCodeExporter commented 9 years ago
new prefix ops:

    "op_Splice", "%"
    "op_SpliceUntyped", "%%"
    "op_AddressOf", "&"
    "op_IntegerAddressOf", "&&"

    "op_TwiddlePlusDot", "+."
    "op_TwiddleMinusDot", "-."

new infix ops:

    "op_AdditionAssignment", ("+=", OP.PlusBinaryOp)
    "op_SubtractionAssignment", ("-=", OP.MinusBinaryOp)
    "op_MultiplyAssignment", ("*=", OP.MultiplyOp)
    "op_DivisionAssignment", ("/=", OP.DivideOp)

Original comment by stephen....@gmail.com on 1 May 2012 at 2:26

GoogleCodeExporter commented 9 years ago
Also added op_BooleanAnd and op_BooleanOr infix op support

Original comment by stephen....@gmail.com on 7 May 2012 at 12:53

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r518.

Original comment by stephen....@gmail.com on 7 May 2012 at 12:54

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 20 May 2012 at 4:23