home > 比較編 > F#, Scala, Haskell > lists and tuples >

ForNext

Only Do What Only You Can Do

071. tuple element access

VBScript

JScript

Perl

PHP

Python

Ruby

PowerShell

Scala

(1,"hello",true)._1

F#

OCaml

match (1,"hello",true) with _,x,_ -> x

Haskell

(\(a, _, _) -> a) (1,"hello",True)

C

C++

C++Builder

VC++

C#

Java

Objective-C

D

VB

VB.NET

Delphi

Ada

PL/SQL

T-SQL

inserted by FC2 system