Comment by eru

2 days ago

Yes, Pascal (as least the version I know) weren't exactly friendly to passing around first class functions. It might be possible, but it ain't pretty.

I'm not sure Pascal does closure well?

A combinator heavy style works best in a language (and ecosystem) that welcomes it, like eg Haskell.