Re:Detecting use cases for GADTs in OCaml
by tel on Wednesday January 07, 2015 @09:30AM
(#8850632)
I use them all the time for little EDSLs in Haskell. They also go really nicely when implementing AFRP libraries. You can also do a lot with them and type families for making typed APIs. Oliver Charles has some work doing this over websockets for instance: https://skillsmatter.com/skillscasts/5356-oliver-charles
[ Parent
| on HN ]
Re:Detecting use cases for GADTs in OCaml
by lomnakkus on Wednesday January 07, 2015 @11:23AM
(#8851388)
That video doesn't appear to available to everyone. It says
"Sorry
Because of its privacy settings, this video cannot be played here."
Not sure if it's because of country/IP restrictions or what.
I thought Ollie had a blog post about this stuff somewhere, but I can't find it now. He does other things which involve fairly advanced GADT work, though
https://ocharles.org.uk/blog/posts/2014-06-10-reversible-ser...