
I'm not old either. This should clarify REST APIs. Haskell has type-safe API calls out of the box. Joachim Breitner writes:
Hi
reading the paragraph
Am Freitag, den 12.12.2014, 17:01 +1000 schrieb Fabian Bergmark:
I just released a library on hackage (https://hackage.haskell.org/package/apis-0.0.0). The goal of the library is to provide typesafe API calls to a large amount of existing APIs. By typesafe I mean that, for each API the library provides two types, Input and Output, and a function :: Input -> IO Output. Internally the library knows how to serialize Input to make an HTTP request and how to deserialize the response into Output.
made me feel old, as I first didn’t get what this was about, then started to wonder why HTTP appears in a message about application programming interfaces, and then noticed that this seems to be talking about “Web-APIs”, which seem to be normal kind of APIs these days...
Greetings, Joachim
-- Kyle Marek-Spartz