This language bar is your friend. Select your favorite languages!

Idiom #165 Last element of list

Assign to variable x the last element of list items.

#Edit dateEdit SummaryEditor
👁 Δ 35 2019-07-13, 14:55 New Clojure implementation by user [janqrick] janqrick
👁 Δ 34 2019-07-10, 12:08 [Haskell] Emphasize comments programming-idioms.org
👁 Δ 33 2019-07-03, 17:01 New Haskell implementation by user [morteako] morteako
👁 Δ 32 2019-03-08, 22:57 [Erlang] adding doc url harsha1306
👁 Δ 31 2019-03-08, 22:54 New Erlang implementation by user [harsha1306] harsha1306
👁 Δ 30 2019-02-09, 04:56 [Java] Simplier noaoh
👁 Δ 29 2019-02-09, 04:55 New Java implementation by user [noaoh] noaoh
👁 Δ 28 2019-01-06, 08:00 New Elixir implementation by user [Frederick John] Frederick John
👁 Δ 27 2019-01-06, 03:37 New Csharp implementation by user [mattdaly] mattdaly
👁 Δ 26 2018-12-17, 18:40 New Rust implementation by user [freecoder] freecoder
👁 Δ 25 2018-08-23, 01:02 New PHP implementation by user [ricardo_sdl] ricardo_sdl
👁 Δ 24 2018-08-18, 22:11 New Perl implementation by user [dmaestro] dmaestro
👁 Δ 23 2018-04-18, 13:11 [Rust] forgot ';' Rustem B.
👁 Δ 22 2018-04-18, 11:20 New Rust implementation by user [Rustem B.] Rustem B.
👁 Δ 21 2018-04-03, 08:45 New Lua implementation by user [Kng] Kng
👁 Δ 20 2018-02-13, 17:51 New Dart implementation by user [Edward E.] Edward E.
👁 Δ 19 2018-02-09, 00:24 [D] List name items programming-idioms.org
👁 Δ 18 2018-02-09, 00:23 [D] List name items programming-idioms.org
👁 Δ 17 2018-02-04, 17:20 New D implementation by user [abertk] abertk
👁 Δ 16 2018-02-04, 17:16 New D implementation by user [abertk] abertk
👁 Δ 15 2017-12-22, 10:47 [Haskell] more correct foo
👁 Δ 14 2017-12-22, 10:45 [Haskell] better way foo
👁 Δ 13 2017-12-22, 10:40 [Haskell] set function as terminal function foo
👁 Δ 12 2017-12-22, 10:38 [Haskell] renamed according to conditions foo
👁 Δ 11 2017-12-22, 10:36 New Haskell implementation by user [foo] foo
👁 Δ 10 2017-11-14, 15:08 [Scala] To fit to the wording Florent
👁 Δ 9 2017-11-14, 15:05 New Scala implementation by user [Florent] Florent
👁 Δ 8 2017-11-09, 21:23 New Pascal implementation by user [Bart] Bart
👁 Δ 7 2017-10-28, 11:02 New Python implementation by user [Oldboy] Oldboy
👁 Δ 6 2017-10-23, 19:16 [Ruby] 2 ways -> new impl 2136 programming-idioms.org
👁 Δ 5 2017-10-23, 19:15 New Ruby implementation by user [programming-idioms.org] programming-idioms.org
👁 Δ 4 2017-10-23, 10:52 [Ruby] added comment steenslag
👁 Δ 3 2017-10-23, 10:51 New Ruby implementation by user [steenslag] steenslag
👁 Δ 2 2017-10-21, 20:01 New JS implementation by user [programming-idioms.org] programming-idioms.org
1 2017-10-21, 18:45 Idiom creation by user [programming-idioms.org] programming-idioms.org