I'm stuck refactoring code for a page with multiple media elements

model.original is the same as .original model.
So it is a function that returns the original field of a record parameter.

In elm repl:

> .original
<function> : { b | original : a } -> a

See Understanding extensible records - #2 by dmy.

I have edited my answer with a little more explanations.

1 Like