[Haskell-cafe] Typesafe API calls

Joachim Breitner mail at joachim-breitner.de
Fri Dec 12 15:09:22 UTC 2014


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

-- 
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://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...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141212/ddd212ef/attachment.sig>


More information about the Haskell-Cafe mailing list