Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

99 Elm Problems/Problem 5/Solutions

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Solution 1: Recursive version myReverse list = case list of [] -> [] head :: tail -> myReverse tail ++ [ head ] Solution 2: Using List.foldl myReverse = List.foldl (::) []