News for hackers. Stuff that matters.
Re:Language-agnostic schemas based on Haskell's type system by m-j-fox on Saturday May 20, 2017 @06:10PM (#14384617)
I love everything about this until he presents the syntax:

    album :: Schema
    album = ProductType (HM.fromList
      [ ("title", Builtin SString)
      , ("artist", Builtin SString)
      , ("tracks", Builtin (SSequence (Builtin SString)))
      ])
No thanks!

> (It won't be hard to make this conversion automatic, though I haven't gotten around to it yet.)

Well let me know when you get around to it.

There are no comments on this comment yet.