home > 比較編 > F#, Scala, Haskell > functions and scope >

ForNext

Only Do What Only You Can Do

095. function in infix position

VBScript

JScript

Perl

PHP

Python

Ruby

PowerShell

Scala

unary methods can be used as binary operators

F#

OCaml

none

Haskell

add x y = x + y
3 `add` 4

C

C++

C++Builder

VC++

C#

Java

Objective-C

D

VB

VB.NET

Delphi

Ada

PL/SQL

T-SQL

inserted by FC2 system