Topic is closed, so creating a new thread…
testValue : List a
testValue =
let
process xs = case xs of
[] -> []
nonEmpty -> transform nonEmpty
transform xs = process xs
in
process [1,2,3]
An example of interest (to me anyway!). This produces a polymorphic value. Except of course that this program never terminates and yields the value. So it still will not actually give us an untyped value in Elm. But it is interesting to consider from a compilation perspective because the compiler still has to be able to compile and run such programs.