[Haskell-cafe] Typesafe API calls
mail at joachim-breitner.de
Fri Dec 12 15:09:22 UTC 2014
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...
Joachim “nomeata” Breitner
mail at joachim-breitner.de • http://www.joachim-breitner.de/
Jabber: nomeata at joachim-breitner.de • GPG-Key: 0xF0FBF51F
Debian Developer: nomeata at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: This is a digitally signed message part
More information about the Haskell-Cafe