From 58f5b808c151a801ab5fca2c84a71d3bfddce57d Mon Sep 17 00:00:00 2001 From: stuebinm Date: Wed, 17 Apr 2024 01:55:56 +0200 Subject: general housekeeping jumps to GHC2021 as default language, adds in some fields, moves the old org mode glossary to markdown, etc. --- app/GenJS.hs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'app/GenJS.hs') diff --git a/app/GenJS.hs b/app/GenJS.hs index a580d23..1e7ba3a 100644 --- a/app/GenJS.hs +++ b/app/GenJS.hs @@ -4,12 +4,12 @@ -- bother with it module Main where -import Universum -import Servant.JS -import Servant.JS.Vanilla -import System.Environment (getArgs) +import Servant.JS +import Servant.JS.Vanilla +import System.Environment (getArgs) +import Universum -import API +import API apiJS :: Text -> Text apiJS url = jsForAPI (Proxy @API) (vanillaJSWith options) @@ -19,6 +19,6 @@ main :: IO () main = do args <- getArgs case args of - [] -> putText (apiJS "") + [] -> putText (apiJS "") [prefix] -> putText (apiJS (toText prefix)) - _ -> error "don't understand these options" + _ -> error "don't understand these options" -- cgit v1.2.3