Sequencing Data With Lists in Elm

Murphy Randle
InstructorMurphy Randle

Share this video with your friends

Send Tweet

Lists are used in Elm to represent sequences of data. The List library comes with a toolbox of useful functions. Here we cover list transformation (map), and getting single values from lists (fold).

Aldo Nievas
Aldo Nievas
~ 4 years ago

What editor are you using ?

Mike Schutte
Mike Schutte
~ 2 years ago

Fantastic!

Is there a reason you chose foldl as your find mechanism instead of first << filter? Just curious.

Suwigya Rathore
Suwigya Rathore
~ 2 years ago

which editor I am not getting auto format

Manuele
Manuele
~ 2 years ago

I had to replace toString with Debug.toString

Julio Graffin
Julio Graffin
~ 9 months ago

I'm using 0.19 and getting error when trying to use toString, and actually should work with String.fromInt or Float, but it doesn't =/ What should I do?

Florian
Florian
~ 3 months ago

@Juliu Graffin this works in elm 0.19.1: text <| Debug.toString foo

Florian
Florian
~ 3 months ago

As for editor, try any editor that can work with a language server: https://github.com/iamcco/vim-language-server

(Vim, VSCode, Emacs...)