News for hackers. Stuff that matters.
Re:Ask HN: What Happened to Elm? by anon291 on Saturday February 11, 2023 @01:36PM (#34754910)
Yeah and composing things with a semicolon creates a new c program

Haskell is an expression language and a runtime environment. The expression language is more powerful than c, but c et al are also expression languages plus environments, just not typically talked about that way. Because the expression language is quite simple.

Imperative do this then that is a exactly function composition where the pipeline is the state. In other words imperative languages provide an implicit function. This is most obviously seen with stack based concatenative languages.

There are no comments on this comment yet.