Difference between revisions of "Ce face operatorul !! ?"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
+ | [[Category:Ro]] |
||
+ | |||
Extrage elementul al n-lea de pe o lista. |
Extrage elementul al n-lea de pe o lista. |
||
+ | |||
+ | <haskell> |
||
+ | || || || || || || ||__ Hugs 98: Based on the Haskell 98 standard |
||
+ | ||___|| ||__|| ||__|| __|| Copyright (c) 1994-2005 |
||
+ | ||---|| ___|| World Wide Web: http://haskell.org/hugs |
||
+ | || || Bugs: http://hackage.haskell.org/trac/hugs |
||
+ | || || Version: September 2006 _________________________________________ |
||
+ | |||
+ | Haskell 98 mode: Restart with command line option -98 to enable extensions |
||
+ | |||
+ | Type :? for help |
||
+ | Hugs> [0,1,2,3,5] !! 3 |
||
+ | 3 |
||
+ | Hugs> |
||
+ | |||
+ | |||
+ | </haskell> |
Latest revision as of 06:03, 11 February 2011
Extrage elementul al n-lea de pe o lista.
|| || || || || || ||__ Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__|| __|| Copyright (c) 1994-2005
||---|| ___|| World Wide Web: http://haskell.org/hugs
|| || Bugs: http://hackage.haskell.org/trac/hugs
|| || Version: September 2006 _________________________________________
Haskell 98 mode: Restart with command line option -98 to enable extensions
Type :? for help
Hugs> [0,1,2,3,5] !! 3
3
Hugs>