api.rauhala.info/executables/generator.hs

12 lines
233 B
Haskell
Raw Normal View History

2018-09-24 23:36:26 +03:00
{-# 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