2 ms·
> one being purely functional languages (Haskell, Scheme, etc.) You can easily do imperative programming in Haskell using IO. There are even lots of straightfo
by ungzd 10y ago
> one being purely functional languages (Haskell, Scheme, etc.)
You can easily do imperative programming in Haskell using IO. There are even lots of straightforward bindings to C libraries, directly exposing C functions. There are IORefs and so on.
Not sure about Scheme, usually lisps are quite imperative.
- int_19h 10y agoIn Scheme, variables bind to locations, and you can reassign values in those locations. So no, not pure in any meaningful way.