api.rauhala.info/executables/generator.hs
2018-09-24 23:36:26 +03:00

12 lines
233 B
Haskell

{-# Language TypeApplications #-}
{-# Language NoImplicitPrelude #-}
module Main where
import API
import Servant.JS
import Data.Proxy (Proxy(..))
import ClassyPrelude
main :: IO ()
main = putStrLn $ jsForAPI (Proxy @API) vanillaJS